Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MORE THAN A TOOL TIP TEXT PROPERTY
Message
 
À
23/07/1998 09:35:20
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00120403
Message ID:
00120412
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform