| View previous topic :: View next topic |
| Author |
Message |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Sep 18, 2002 2:26 pm Post subject: Characters disapear |
|
|
Hello,
I was making a 'Learn to type' program, but when I tested it it removed a letter from a TEXT element. It's the first H of Hello there.
| Code: |
DIALOG CREATE,Learn to type,-1,0,474,265
DIALOG ADD,STYLE,STYLE2,Courier New,12,B,,GRAY
DIALOG ADD,STYLE,STYLE1,Courier New,12,B,,BLACK
DIALOG ADD,TEXT,TEXT1,10,10,,,Hello there. This is the text...,STYLE1
DIALOG ADD,TEXT,TEXT2,10,10,,,,STYLE2
DIALOG ADD,MENU,-,A|A,B|B,C|C,D|D,E|E,F|F,G|G,H|H,I|I,J|J,K|K,L|L,M|M,N|N,O|O,P|P,Q|Q,R|R,S|S,T|T,U|U,V|V,W|W,X|X,Y|Y,Z|Z,ENTER|ENTER,SPACE|SPACE
DIALOG SHOW
:evloop
wait event
goto @event() |
I 'tested' it only in VDS 3.51. |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Sep 18, 2002 2:41 pm Post subject: |
|
|
Hi again, skit!
Try to insert this
| Code: | | dialog ADD,TEXT,TEXT1,10,20,,,Hello there. This is the text...,STYLE1 |
Shifts the text a bit to the right.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Sep 18, 2002 3:02 pm Post subject: |
|
|
Thank you!
Still, it's really strange that the text doesn't 'fit'... |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Sep 18, 2002 4:02 pm Post subject: |
|
|
Well, actually it does fit. The first part is just overwritten by your second blank text element TEXT2. Try to REM that line out, and everything is normal.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Sep 18, 2002 4:59 pm Post subject: |
|
|
So it wasn't even a bug???
Well, I think I'm going to try BACKGROUND with Style2... If that doesn't work, I'll set TEXT2 a bit to the left, and make sure that the first character isn't visible, so that the text doesn't overwrite eighother... |
|
| Back to top |
|
 |
Que Valued Newbie

Joined: 25 Aug 2001 Posts: 38 Location: Newaygo, MICH
|
Posted: Thu Sep 19, 2002 2:21 pm Post subject: |
|
|
On a somewhat related topic, I found that with an edit element, if your style sets the text too large for the edit, the text may look OK (y's p's and other descenders may get clipped a little), but your cursor no longer appears. Apparently if the whole cursor won't fit with your edit height, it doesn't appear at all. _________________ Que |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Sep 19, 2002 8:53 pm Post subject: |
|
|
That is probably a problem that S.A.D.E. cannot control, however, it may be the fault of Windows. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|