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 


[RESOLVED]Change dialog Bk Colour

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Thu Oct 06, 2005 11:25 am    Post subject: [RESOLVED]Change dialog Bk Colour Reply with quote

Hi
Is Possible change dialog bk colour at runtime? If Yes How?

Many Thank's


Last edited by Tdk161 on Fri Oct 07, 2005 10:55 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Thu Oct 06, 2005 4:02 pm    Post subject: Reply with quote

DIALOG CREATE,John Doe,-1,0,273,166,COLOR WHITE
Back to top
View user's profile Send private message Send e-mail
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Thu Oct 06, 2005 10:48 pm    Post subject: Reply with quote

ok Very Happy i know this thank,
but if I want change bk color after created dialog how I canchange it?
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Oct 07, 2005 1:19 am    Post subject: Reply with quote

you can't with VDS as it is ... i have had to use tactics like restarting my program with the new coloured background to make it look like it changed on the fly

i am not sure if it can be done with API's ... someone in the know can answer that one

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Fri Oct 07, 2005 10:51 am    Post subject: Reply with quote

Thank very much Serge Very Happy
I resolved it with a tricks.. I add a shape to dialog and after when I need I change the colour of the shape Razz

Like this:
Code:

DIALOG CREATE,ProGePa,0,0,1020,37,ONTOP,PAINT,NOTITLE
DIALOG ADD,SHAPE,Sfondo,0,0,1020,37,White,White,,RECTANGLE
...
DIALOG SHOW
:Loop
Wait Event
...
:ChangeBkColour
Dialog Set,Sfondo,Red
Goto Loop
...

And it work very well

Very Happy
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Oct 07, 2005 1:50 pm    Post subject: Reply with quote

great idea, i forgot about that one Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help 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