| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 10:03 pm Post subject: |
|
|
Thats sounds like what I need for a game anyways.
What I'm doing is removing the LIST BOX and replacing it with one with a different STYLE (enabling me to have 2 different background colors)
So I couldnt get the HIDE SHOW to change the(refresh) the new style.  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 10:15 pm Post subject: |
|
|
| Code: | rem dialog remove,box%r
dialog hide,box1
rem Original was style2
%%styles = style1
%r = 1
wait 3
IF @equal(%r,1)
DIALOG ADD,LIST,box1,47,217,40,40,1,Multi,%%styles
goto skip-search
END
dialog show,box1 |
I tryed that, but it gave me ERROR on the DIALOG ADD,LIST,box1.... line |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 10:18 pm Post subject: |
|
|
You'd have to add the two list boxes at program creation,
then just hide/show the top one.
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 10:22 pm Post subject: |
|
|
ahh...
So instead of the 1 layer I'm using at creation time, I would add a second layer, then HIDE SHOW them, cool... am I a big dummy or what
Thanks again MAC  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 10:27 pm Post subject: |
|
|
LOL, not at all. Ya oughtta see some of the stuff I've tried.
Also, I think ya have to hide them in reverse order they
were created in, otherwise the last created one shows
(because it's on top).
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 10:36 pm Post subject: |
|
|
yep, I figured that one out all by myself I'm allready working on the reverse order startup at creation time, well I'm outta here, I have 80 ADDs and 80 sets to hook up.
I really appreciate your help MAC, this is gonna make my new Keno game nice and smooth, cheers buddy... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 10:40 pm Post subject: |
|
|
Good luck with it. Looking forward to seeing that game.
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 |
|
 |
|
|
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
|
|