Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic tooltip?
Message
From
23/10/2018 11:54:33
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01662718
Message ID:
01662744
Views:
108
What we do is a) create a form method that sets the relevant tooltips, and b) in the afterrowcolchange event of the grid, and any other events what would change the dynamic setting, call that method. Not fancy, works.

Note: SP2 has a bug where tooltips don't appear in grids. We had to downgrade to SP1, since this is essential functionality in our app. The tooltips are multi-line descriptions of sku and quantity, and change with each line. They are used quite often by users as a double-check while in that particular grid.

>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, F=FileSync, M=SimpleCharge,K=Kiosk, B=Mobile Sales, H=Mobile Sales Host, P=Pinpad Sales Host, QT=QuickTech, QC=QuickCount, QS=QuickScan'
>
>
>and the Combo2 the following:
>
>='Salespoint mode:'+chr(13)+'T=TallyMan, S=ScanMan, G=GateKeeper, R=Reporting Only'+chr(13)+'Note: This salespoint cannot be set to Classic, Web, FileSync, SimpleCharge, or Kiosk because it was originally created as a QuickApp, ScanMan, TallyMan, GateKeeper, or Report Only salespoint.'
>
>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?
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform