| View previous topic :: View next topic |
| Author |
Message |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Aug 12, 2002 5:49 am Post subject: |
|
|
OK, the extra comma added in the GROUP element stops
it from working in VDS3, so I went back and edited both
examples again. They have the GROUP for both VDS3 and
VDS4, just use the one you need.
The GROUP element is the first thing I've ran across that
can't have the extra comma and still work in VDS3.
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 |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Aug 12, 2002 7:11 am Post subject: thnaks |
|
|
mac
i got it to work BUT i see that you are using BITBTN1..so my question is how would i label them? meaning like for butons you have button1, button2, etc how would this work for a program that uses buttons?
sorry for the dumb question
thanks |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Aug 12, 2002 7:29 am Post subject: |
|
|
You can give BITBTNS a name just like regular buttons:
DIALOG ADD,BITBTN,B1,30,60,80,24,,Button," This is a Button "
The examples now have names and captions also.
You really should look in the VDS help file. Press the
help button, choose "Contents", select the "Index" tab,
then scroll down to the "dialog elements", or you can
type in "dialog elements" (without quotes).
This explains what the different parameters are for each element.
For example, here's the BITBTN explanation:
BITBTN,<name>,<top>,<left>,<width>,<height>,<filename>,{<caption>,<hint>}
BTW, the BITBTN element is designed to use bitmaps for
the button (filename parameter), but you can also use
them without 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 |
|
 |
Tsunami1988 Contributor


Joined: 15 Aug 2002 Posts: 70 Location: The Netherlands
|
Posted: Fri Aug 16, 2002 1:12 pm Post subject: help with dialog ADD,STYLE commands |
|
|
here is a way to change the background color:
| Code: |
TITLE Change Background Color - by Tsunami1988
DIALOG CREATE,Change Background Color,-1,0,300,200
DIALOG ADD,STYLE,STYLE1,,,,BLACK
DIALOG ADD,TEXT,TEXT1,0,0,300,200,,STYLE1
|
|
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Aug 16, 2002 1:16 pm Post subject: |
|
|
You can change the background color of your dialog by doing this:
| Code: |
dialog create,Test,-1,0,300,200,Color $00FF2500
|
_________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Tsunami1988 Contributor


Joined: 15 Aug 2002 Posts: 70 Location: The Netherlands
|
Posted: Fri Aug 16, 2002 1:26 pm Post subject: |
|
|
| Does that work for VDS 3.51? |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Aug 16, 2002 1:29 pm Post subject: |
|
|
No, I don't think it does. Sorry. _________________ Chris
Http://theblindhouse.com |
|
| 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
|
|