ToolTips in each Column of Grid

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in each Column of Grid

Post by Pablo César »

Seems is not so strange to see demmands about ToolTips in each Column of Grid at internet.

I do not know if is hard or could affect any speed at our Grid. But as we know there is only one ToolTip for all the Grid.
Screen6.png
Screen6.png (13.27 KiB) Viewed 4787 times
I think would it be good for this property to accept an ARRAY and handle it according the number of column.

What do you think ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: ToolTips in each Column of Grid

Post by Javier Tovar »

Claro que seria bueno!

Saludos
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in each Column of Grid

Post by Pablo César »

Gracias Javier por demonstrar tu interés ! :D

Tendria un ToolTip para campo, para cada columna...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: ToolTips in each Column of Grid

Post by Javier Tovar »

+1
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: ToolTips in each Column of Grid

Post by EduardoLuis »

Hi Pablo:

I don't want to be the "bad guy", but don't you think will be most usefull have multilines in headers and rows, this taking in count the effort will mean develope that special proportey (a tooltip for each column / header).- Although your proposal it's interesant.-
With regards. Eduardo
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in each Column of Grid

Post by Pablo César »

EduardoLuis wrote:I don't want to be the "bad guy"
But why I should it think so ? Every idea to become richer in options is very welcome ! :)
...but don't you think will be most usefull have multilines in headers and rows
This your idea is also good but this is not exclusive, IMHO it's another idea and is also valid.
taking in count the effort will mean develope that special proportey (a tooltip for each column / header)
Sorry to disagree, but IMHO seems much easier to implement ToolTip for Grids by an ARRAY than making multine headers and cells in Grids.

Imaging to trigger _SetToolTip function to display in each column (by This.CellColIndex for example) and specific Tooltip according column can also be changed on runtime. What it could allow diferent ToolTip according any conditional situation.

Thank you for your interest Eduardo !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in each Column of Grid

Post by Pablo César »

I got something, but is not so correct.
ToolTips changes in grid according mouse clicking and I wish to have it thru WM_MOUSEHOVER instead by clicking.

Image
viewtopic.php?p=40268#p40268

There is something made in Code Project at:
http://www.codeproject.com/Articles/527 ... over-Event

I jope you enjoy it ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply