| View previous topic :: View next topic |
| Author |
Message |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Jun 25, 2003 12:25 pm Post subject: STYLE problem - VDS5 |
|
|
Try this:
| Code: | title TestStyle
dialog CREATE,TestStyle,-1,0,340,240
dialog ADD,STYLE,MyStyle,Tahoma,8,B,WHITE,LTBLUE
dialog ADD,GROUP,group,40,10,180,132,,caption,MyStyle
dialog ADD,TEXT,TEXT2,58,20,,,This is my text@CR()should be blue on white
dialog SHOW
:evloop
wait event
:CLOSE
EXIT |
I assign a style to a group element to get blue text on a white back. This does not happen on my XP machine
- I get foregrond colour OK, but no background. On W2K it works!
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Wed Jun 25, 2003 12:38 pm Post subject: |
|
|
works with windows 98 se
Serge _________________
|
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Jun 25, 2003 1:51 pm Post subject: |
|
|
But not on Windows XP pro (SP1). I get exactly the same as Dr.  |
|
| Back to top |
|
 |
EdaS VDS Pirate


Joined: 21 Jun 2003 Posts: 8
|
Posted: Wed Jun 25, 2003 3:38 pm Post subject: |
|
|
| on win xp, groups can have custom background colors |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jun 25, 2003 9:00 pm Post subject: |
|
|
Although this does not solve your problem, I fixed the commas. The
caption was in the wrong place.
| Code: | title TestStyle
dialog CREATE,TestStyle,-1,0,340,240
dialog ADD,STYLE,MyStyle,Tahoma,8,B,WHITE,LTBLUE
dialog ADD,GROUP,group,40,10,180,132,caption,,MyStyle
dialog ADD,TEXT,TEXT2,58,20,,,This is my text@CR()should be blue on white
dialog SHOW
:evloop
wait event
:CLOSE
EXIT |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| 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
|
|