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 


Updating dialog tooltips - how?

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


Joined: 03 May 2006
Posts: 26
Location: Cambridge, UK

PostPosted: Wed May 03, 2006 10:38 am    Post subject: Updating dialog tooltips - how? Reply with quote

Hi

I am returning to VDS for a particular project after a 5-year absence so be warned that I might have a few questions!

First problem is that I have an edit box where I display a filename. I don't have room for the full path so I just display the filename and extension. So far, so good. However, in case I want to see the full path, I thought I'd put the entire filename with path as a tooltip to be displayed on a mouseover of that field. Again, fine so far.

Now comes the problem. I permit the field to be updated by hitting a Browse... button next to it which performs a @filedlg and I update the filename in the dialog with a DIALOG SET but... how can I update the tooltip since it is still showing the full path to the original file. The only way I can think is to destroy that dialog element and recreate it anew every time.

Any other ideas?

Thanks

_________________
David
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


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

PostPosted: Wed May 03, 2006 12:18 pm    Post subject: Reply with quote

Well, welcome back to VDS.

Try this:

Code:
DIALOG settip,YourEditBoxName,"Your new tooltip"


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
steeld
Valued Newbie


Joined: 03 May 2006
Posts: 26
Location: Cambridge, UK

PostPosted: Wed May 03, 2006 12:51 pm    Post subject: Reply with quote

Excellent! Many thanks. Now why didn't I see this in the Help file when I looked. D'oh!

Thanks again.

_________________
David
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