Domenico,
I think using BTNBMP, doesn't work because of already defined NORMAL Tooltips ( on Mousecaption ).
No Problem, the same Results You can get, using SAYs :
1. replace the Buttons with SAYs ( the Say changes with Temperatures from Your Sample-screenshot ) :
Temp1 := "62.6" // change Values
@
25,15 say oSay
VAR Temp1 of oDlg SIZE
40, 15 COLOR CLR_WHITE PIXEL adjust ;
FONT oTextfont TRANSPARENT
HOTSPOR-area from Say :
25,15,30,55
Top : 25
Left : 15
Bottom : 40
Right : 55
2. define a Action for the SAY, performed on clicking inside the Say-Hotspot-area
oDlg:bLClicked := {| nRow, nCol | MsgAlert( "Your Action !","Attention" ) }
3. Show Your BIG Tooltip, movin the Mouse over the SAY
oDlg:bMMoved := {| nRow, nCol | T_DISPLAY1(nRow, nCol, oDlg, 1) } // 1 defines a Dialog-number ( not needed, working with 1 Dialog )
All what You need are the Areas from the Map to show the Says like using Buttons.
My Samples are showing, how to use multiple Hotspots with a IF/ELSEIF - structure.
To get the Values of the different Says is very easy :
Load the Map from inside the Hotspot-editor and click TOP / LEFT and BOTTOM / RIGHT for the
different Places, You want to show the Temperatures.
( the same Logic is used on my modified FWH-Sample Testsay.prg )
I added some Says on this Map, to show how it works :
A click on the Temperature performs a Action !!!.
The Temperatures are defined in Vars
A Action on SAY-click :
Best Regards
Uwe