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 


STYLE problem - VDS5

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Jun 25, 2003 12:25 pm    Post subject: STYLE problem - VDS5 Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Jun 25, 2003 12:38 pm    Post subject: Reply with quote

works with windows 98 se Smile

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Skit3000
Admin Team


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

PostPosted: Wed Jun 25, 2003 12:48 pm    Post subject: Reply with quote

Works over here too: Windows XP Home Edition... Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Wed Jun 25, 2003 1:51 pm    Post subject: Reply with quote

But not on Windows XP pro (SP1). I get exactly the same as Dr. Crying or Very sad
Back to top
View user's profile Send private message
EdaS
VDS Pirate
VDS Pirate


Joined: 21 Jun 2003
Posts: 8

PostPosted: Wed Jun 25, 2003 3:38 pm    Post subject: Reply with quote

on win xp, groups can have custom background colors
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jun 25, 2003 9:00 pm    Post subject: Reply with quote

Although this does not solve your problem, I fixed the commas. The
caption was in the wrong place. Smile

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
View user's profile Send private message Visit poster's website
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