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 


New 'hide' function?

 
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 Jan 29, 2003 3:29 pm    Post subject: New 'hide' function? Reply with quote

Hello,

I found this bug, which does not show a text-element, until the value is changed into something that is not the same as the element name...

Code:
  DIALOG CREATE,New Dialog 1,-1,0,240,160
  DIALOG ADD,TEXT,TEXT1,26,38,,,TEXT1
  DIALOG SHOW
  INFO "The text is going to be changed into TEXT1, but it stays invisible..."
  DIALOG SET,TEXT1,TEXT1
  WAIT 2

  DIALOG CREATE,New Dialog 2,-1,0,240,160
  DIALOG ADD,TEXT,TEXT1,26,38,,,TEXT1
  DIALOG SHOW
  INFO "Here the text is changed in 'text1', and becomes visible..."
  DIALOG SET,TEXT1,text1
  WAIT 2
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Wed Jan 29, 2003 5:19 pm    Post subject: Reply with quote

Hmmm... does seem a bit strange. You can it to the element
name though - IF you use the width and height params, OR
leave the text empty at creation:
Code:

INFO This will use width/height params...
DIALOG CREATE,New Dialog 1,100,100,240,160
  DIALOG ADD,TEXT,TEXT1,26,38,100,20,TEXT1
DIALOG SHOW
WAIT 2

INFO This will leave text value empty at creation...
DIALOG CREATE,New Dialog 2,200,200,240,160
  DIALOG ADD,TEXT,TEXT1,26,38
DIALOG SHOW
DIALOG SET, TEXT1, TEXT1
WAIT 2

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


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

PostPosted: Wed Jan 29, 2003 7:12 pm    Post subject: Reply with quote

But if you make a dialog with the Dialog Designer, the value is automatic filled...
Back to top
View user's profile Send private message
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