PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → tooltips on table
tooltips on table
Iniciado por charlescandy, 04,ago. 2004 19:00 - 4 respuestas
Publicado el 04,agosto 2004 - 19:00
I would like to display some info on tooltips, when user point mouse on certain row under the mouse pointer it display certain info(something like EMULE).
I able to do this automatic in vb.net how do it do this on windev8
Publicado el 04,agosto 2004 - 19:31
I would like to display some info on tooltips, when user point mouse on certain row under the mouse pointer it display certain info(something like EMULE).
I able to do this automatic in vb.net how do it do this on windev8

Not sure what EMULE is, but I will try to address the question.
Do you want this tool tip on a per column basis (for example, if you have three fields, NAME, CITY, PHONE, a single tooltip for each column regardless of how many records/rows you have), or per row per column depending on data in the row?
For per column, a tooltip like "Customer's Phone Number" just bring up the properties of the Table Description, and for each Column under the Help tab there is a Tooltip entry box (along with Status bar, Title of Help Window and Text of Help Window).
For each row, a tooltop like "IBM's Phone Number" would require reading the row for the data you need and placing it inside the tool tip. More complicated, not sure off the top of my head an easy way to do that.
Which method are you trying to use?
Art
Publicado el 04,agosto 2004 - 19:33
I would like to display some info on tooltips, when user point mouse on certain row under the mouse pointer it display certain info(something like EMULE).
I able to do this automatic in vb.net how do it do this on windev8

Add the mouse rollover event to the table code and add the following code:
liRow is int = TableInfoXY(MySelf,tiLineNumber,MouseXPos(),MouseYPos())
IF liRow > 0 AND giTooltipRow <> liRow THEN
Myself..ToolTip = "Your tooltip info"
giTooltipRegel = liRegel //giTooltipRegel = global int
Multitask(-1)
END

Alex
Publicado el 04,agosto 2004 - 19:40
I would like to display some info on tooltips, when user point mouse on certain row under the mouse pointer it display certain info(something like EMULE).
I able to do this automatic in vb.net how do it do this on windev8
Add the mouse rollover event to the table code and add the following code:

liRow is int = TableInfoXY(MySelf,tiLineNumber,MouseXPos(),MouseYPos())
IF liRow > 0 AND giTooltipRow <> liRow THEN
Myself..ToolTip = "Your tooltip info"
giTooltipRegel = liRegel //giTooltipRegel = global int
Multitask(-1)
END

Alex

You can use the liRow index to get the data from the table row. Example
Myself..ToolTip = COLUMN[liRow]
Alex
Miembro registrado
71 mensajes
Publicado el 23,mayo 2016 - 09:57
Hello,
thank you Alex for this solution! It works great for me. I pasted my working code, I just repaired giTooltipRow x giTooltipRegel, I believe Regel means Row in German language.


liRow is int = TableInfoXY(MySelf,tiLineNumber,MouseXPos(),MouseYPos())

IF liRow > 0 AND giTooltipRow <> liRow THEN
MySelf..ToolTip = COL_FullPath[liRow]
giTooltipRow = liRow //giTooltipRow = global int
Multitask(-1)
END