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 


Text Color Help

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Mar 21, 2003 3:52 pm    Post subject: Text Color Help Reply with quote

Hi,

Can VDS4 some how make text a different color in edit boxes or lists?

I want to make VDS highlight certain text in an edit box or list box.

like;
This is a test line of text, it is cool.

I would like say the string "line" to be say blue and the string "cool" to be something like red, can this be done???

Thank you, I hope you can understand my question.
Back to top
View user's profile Send private message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Mar 21, 2003 3:57 pm    Post subject: Reply with quote

You can set elements to use a style:

eg.

dialog add,style,style1,Times New Roman,10,BI,RED,YELLOW

dialog add,text,text1,10,10,100,20,This line is cool,,,style1

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


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

PostPosted: Fri Mar 21, 2003 4:10 pm    Post subject: Reply with quote

Maybe look at this:

http://www.vdsworld.com/forum/viewtopic.php?t=1149

BTW. This doesn't work with EDIT boxes or LISTS... Only normal text will work. To use it with editboxes, you might take a search on VDSWORLD for VDSOBJ...
Back to top
View user's profile Send private message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Mar 21, 2003 4:26 pm    Post subject: Reply with quote

Hi, thank you for the quick replies.
I know how to use sytles i got that out of the help files but i need to change text within an edit or list box.

can VDSOBJ change the text how i need?
If it can, do i have to pay $30 to buy the VDSOBJ to use it or can I use it for free and buy it if i can use it?
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Fri Mar 21, 2003 4:44 pm    Post subject: Reply with quote

You may use it for free to try it out, but if you want to use it for a program which you want to publish, you'll have to buy it... Please note that you'll get pop-ups which are removed once you'll registrate the DLL.
Back to top
View user's profile Send private message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Mar 21, 2003 4:51 pm    Post subject: Reply with quote

Thank you, I will test it to see if it works.
One more question before I download it. Im on 56k and its really slow so i cant download loads of things.

If I buy VDS4 do I have to buy VDSOBJ or does it come with it?
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Fri Mar 21, 2003 4:53 pm    Post subject: Reply with quote

Visual DialogScript is made by S.A.D.E. s.a.r.l. The VDSOBJ extension however, is made by PGWARE, so you'll have to buy a license for that one too...
Back to top
View user's profile Send private message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Mar 21, 2003 4:55 pm    Post subject: Reply with quote

I understand, thank you.
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Fri Mar 21, 2003 4:59 pm    Post subject: Reply with quote

No problem... Wink
Back to top
View user's profile Send private message
ACE
Valued Newbie


Joined: 05 Sep 2002
Posts: 34

PostPosted: Fri Mar 21, 2003 5:41 pm    Post subject: Reply with quote

Not ony VDS but any application that use standard created controls ( not owner drawn) cant change the text attributes of individual items/words in these controls, for this you need to use a RichEdit control that is contained in the dll mentioned (VDSOBJ.dll) from PGWARE, in VDS5 you will be able to use RichEdit controls (if they are not yet added to the VDS language) via LoadLib functions, but these will be more difficult as you have to create it, mantain it and message it and so with a lot of API calls.

So its better, easy and cheap to buy VDSOBJ

Lioric
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Mar 21, 2003 8:35 pm    Post subject: Reply with quote

DW wrote:
If I buy VDS4 do I have to buy VDSOBJ or does it come with it?


Before you buy VDS 4 you should probably wait for the VDS 5 release.

Just an opinion, because then you won't have to pay for both VDS 5 and
VDS 4. VDS 5 should be coming out in the near future. Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Robert Switz
Newbie


Joined: 07 Dec 2002
Posts: 6

PostPosted: Fri Mar 21, 2003 9:46 pm    Post subject: Reply with quote

I down loaded the VDS 4.5 as a trial and it allows the use of styles at least for the combo list, I was able to change the color of the text to red.
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


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

PostPosted: Sat Mar 22, 2003 10:19 am    Post subject: Reply with quote

Robert, what you say is true, but every word must have a different color...

DW wrote:
"This is a test line of text, it is cool. "

I would like say the string "line" to be say blue and the string "cool" to be something like red, can this be done???
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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