| View previous topic :: View next topic |
| Author |
Message |
steeld Valued Newbie

Joined: 03 May 2006 Posts: 26 Location: Cambridge, UK
|
Posted: Wed May 03, 2006 10:38 am Post subject: Updating dialog tooltips - how? |
|
|
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 |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed May 03, 2006 12:18 pm Post subject: |
|
|
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 |
|
 |
steeld Valued Newbie

Joined: 03 May 2006 Posts: 26 Location: Cambridge, UK
|
Posted: Wed May 03, 2006 12:51 pm Post subject: |
|
|
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 |
|
 |
|