Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MORE THAN A TOOL TIP TEXT PROPERTY
Message
 
To
23/07/1998 09:35:20
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00120403
Message ID:
00120412
Views:
22
>I have written this code for a command button TOOLTIPTEXT property: =cdow(date)()+','+mdy(date)() and I get the following: Thursday , July 23 , 98. I don't get the century as 1998. Do I have to SET CENTURY ON ?
And if I do then where.......in the forms init event or the command button's event? <

Yes, you will need to SET CENTURY ON. Probably in the init of the control. You can probably turn it back off in the init of the form if you want, because the tooltiptext will already have been evaluated. (I haven't tried this myself, so I'm not sure.)

> Now this result made me more ambitious and I tried to write this code in the Grid's ToolTipText property: =reccount(mytable)

You'll probably need to use the STR() function on reccount. I don't think tooltiptext can be numeric.
Mike Feltman

F1 Technologies
Previous
Reply
Map
View

Click here to load this message in the networking platform