Before posting this new topic I thought a lot if it would consider an HMG bug or some API limitation. That is, I can not enable/display ToolTip in the StatusBar Item, unless the cell size is smaller than the text it displays.
I have just reformulated the StatusBar of the InstalledAt application and I need to display the appropriate ToolTip when positioning on items especially when RAISED style.
I know it looks redundant, but since I use the statusbar click for an action it would also need to show extra help to the user.
Claudio, is this an API limitation or can it be forced to always display the ToolTip in the StatusBar?
ToolTips in StatusBar
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
ToolTips in StatusBar
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: ToolTips in StatusBar
I'm sorry Pablo but I do not understand your question.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
ToolTips in StatusBar
Hi Claudio, more one question:
Is would it be workable SET TOOLTIPCUSTOMDRAW CONTROL for STATUSBAR
The StatusBar name control is: STATUSBAR (doesn't it ?) but seems not working with TOOLTIPCUSTOMDRAW
Rgds
Is would it be workable SET TOOLTIPCUSTOMDRAW CONTROL for STATUSBAR
The StatusBar name control is: STATUSBAR (doesn't it ?) but seems not working with TOOLTIPCUSTOMDRAW
Rgds
Last edited by Pablo César on Tue Jan 10, 2017 11:58 pm, edited 2 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
ToolTips in StatusBar
Hola Claudio, (tudo bem... eso porque nos complicamos en otro idioma...)srvet_claudio wrote: ↑Tue Jan 10, 2017 11:32 pm I'm sorry Pablo but I do not understand your question.
Lo que parece ser un BUG y no estoy seguro: si es un bug que puede ser corregido en HMG o si es un limitacion del API que no está permitiendo visualizar siempre los ToolTips que se define en el StatusBar.
Code: Select all
DEFINE STATUSBAR FONT "Courier New" SIZE 9 BOLD
STATUSITEM "[Esc] to exit or [Double-Click] to select",64) TOOLTIP "Click here to change installation mode"
STATUSITEM "REGISTERED" WIDTH 110 RAISED ACTION MsgInfo("Do something") TOOLTIP "Click here to change installation mode"
END STATUSBAR
Yo quisiera que funcionara siempre, principalmente los itens que son del tipo RAISED (que se asemejan a botones) y que ejecutan algo.
No lo estoy podiendo hacer funcionar.
Slds
Googled
Hello Claudio
What seems to be a BUG and I'm not sure: whether it is a bug that can be fixed in HMG or if it is an API limitation that is not always allowing the ToolTips to be defined in the StatusBar.
<Source code above>
This should work, but not always. That is to say. It does this only if one shrinks the window and the StatusBar items are cut ... there it works. : |
I want it to always work, mainly items that are of type RAISED (that resemble buttons) and that execute something.
I can not make it work. :Oops:
Rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: ToolTips in StatusBar
Ok, ahora entiendo. Voy a mirar el código fuente.