Tooltip

Tooltip

Postby demont frank » Mon Dec 03, 2007 1:33 pm

Hello,

I am trying to use tooltips in get's, and try to impliment :

1) When the get has focus , to show the tooltip with a key press , F1 as in clipper ?

2) Same , but edit the tooltip

So i can build a dbf with the tooltips . The user can make his own tooltips

Frank
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby demont frank » Mon Dec 03, 2007 2:03 pm

First test :

oGet:bKeydown := {|nKey,bFlags|IIF(nKey==VK_F1 ,trace("F1"),)}

Gives first a alert dialog "Help file not available". Can it be avoided ?

Replacing VK_F1 with VK_F2 shows that bkeydown is executed twice. Maybe from loosing and regaining focus

oGet:bKeydown := {|nKey,bFlags|IIF(nKey==VK_F2 ,trace("F2"),)}

Second test :

oGet:bKeydown := {|nKey,bFlags|IIF(nKey==VK_F2 ,oGet:ShowToolTip(),)}

This has no result , no tooltip !
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 71 guests

cron