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

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Jan 29, 2003 3:29 pm Post subject: New 'hide' function? |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Jan 29, 2003 5:19 pm Post subject: |
|
|
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  _________________ 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 |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Jan 29, 2003 7:12 pm Post subject: |
|
|
| But if you make a dialog with the Dialog Designer, the value is automatic filled... |
|
| 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
|
|