forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Characters disapear

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Sep 18, 2002 2:26 pm    Post subject: Characters disapear Reply with quote

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
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Sep 18, 2002 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Sep 18, 2002 3:02 pm    Post subject: Reply with quote

Thank you!

Still, it's really strange that the text doesn't 'fit'...
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Sep 18, 2002 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Sep 18, 2002 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Que
Valued Newbie


Joined: 25 Aug 2001
Posts: 38
Location: Newaygo, MICH

PostPosted: Thu Sep 19, 2002 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Sep 19, 2002 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group