Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic tooltip?
Message
 
 
À
22/10/2018 15:40:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01662718
Message ID:
01662729
Vues:
93
>>Hi everybody,
>>
>>In the grid I have two controls and the following dynamic control expression set in the property sheet for that column:
>>
>>
>>iif(sales_pt.loc_suffix > 0, 'Combo1', 'Combo2')
>>
>>Combo1 has the following tooltiptext set in the property sheet
>>
>>='Salespoint mode:'+chr(13)+'C=Classic, W=Web, T=TallyMan, S=ScanMan, G=GateKeeper, R=Reporting Only,...
>>
>>
>>and the Combo2 the following:
>>
>>='Salespoint mode:'+chr(13)+'T=TallyMan, S=ScanMan, G=GateKeeper, R=Reporting Only'+chr(13)+'Note: ...t.'
>>
>>I can see the first combo's tooltip (although it takes me some time to get it to show).
>>
>>However, when my condition sets the second combo to be active, I never see the tooltip.
>>
>>How can I show correct tooltip depending on which control is currently active?
>
>I'd try with column's tooltip, but it would requre a subclassed column with tooltip_access method. That method would return an appropriate string depending on the same condtion.

I actually think I got it to work when I simply assigned it in the init of the form (conditional tooltip for the column). At least I think I was seeing different tooltips. It is a bit tricky to even get it to show.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform