Mouseover ArrayBrowse cells - Popup window or tooltip or balloon showing extra info ?
Publicado: Dom Oct 23, 2011 10:52 pm
I am wanting to display some extra data in a small window or tooltip or
balloon when mouse is over a cell in an ArrayBrowse.
I can detect which cell my mouse is over with this code ........... and
LogDisplay some data.
METHOD ArrayBrowse1MouseMove( oSender, nKeyFlags, nPosX, nPosY ) CLASS
TForm1
local nRow := 0
local nCol := 0
IF ! oSender:SelectCellFromPoint( nPosX, nPosY )
return nil
ENDIF
nRow := oSender:MouseRowPos( nPosY )
nCol := oSender:MouseColPos( nPosX )
// This works ... but I want a small window/tooltip/balloon
if nCol > 2 // Only want to do this for cells in Column 3, 4
etc ...
Logdisplay( nRow, nCol, CStr( oSender:aArrayData[nRow, nCol] ) )
endif
Any thoughts on how to do this as a small Window or Tooltip or Balloon would
be appreciated.
Chris
balloon when mouse is over a cell in an ArrayBrowse.
I can detect which cell my mouse is over with this code ........... and
LogDisplay some data.
METHOD ArrayBrowse1MouseMove( oSender, nKeyFlags, nPosX, nPosY ) CLASS
TForm1
local nRow := 0
local nCol := 0
IF ! oSender:SelectCellFromPoint( nPosX, nPosY )
return nil
ENDIF
nRow := oSender:MouseRowPos( nPosY )
nCol := oSender:MouseColPos( nPosX )
// This works ... but I want a small window/tooltip/balloon
if nCol > 2 // Only want to do this for cells in Column 3, 4
etc ...
Logdisplay( nRow, nCol, CStr( oSender:aArrayData[nRow, nCol] ) )
endif
Any thoughts on how to do this as a small Window or Tooltip or Balloon would
be appreciated.
Chris