ToolTips in MENUITEM

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 MENUITEM

Post by Pablo César »

Hi all,

ToolTips use in many times are very useful and IMO it would be so good to have it in HMG, like this example:

Image
MenuItemToolTip.rar
(4.16 KiB) Downloaded 232 times
In this article showing an way by creating a hook for this optional use.

According to MSDN there is already this property:

http://msdn.microsoft.com/en-us/library ... .110).aspx

What do you think HMG Development Team ? Is it hard to implement in case ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: ToolTips in MENUITEM

Post by srvet_claudio »

Good idea, I'm working on it.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in MENUITEM

Post by Pablo César »

Wanderfull, thank you Claudio ! :D

This idea came from a need of user in PCToledo forum and I tried to imaging how it could be useful.

I've used much in Clipper's menus showing messages at something like as a StatusBar (footer of screen), but now with mouse is more visible in ToolTips.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: ToolTips in MENUITEM

Post by serge_girard »

So it will be implemented in the next version?!

Great, thanks,

Serge
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: ToolTips in MENUITEM

Post by srvet_claudio »

serge_girard wrote:So it will be implemented in the next version?!

Great, thanks,

Serge
Yes, in HMG.3.3.2
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in MENUITEM

Post by Pablo César »

Hi All again !

Thank you for your interest and just to put more fire in this feature :idea:

And I wish to clarify some more, thanks to our colleague HASA in another forum has mentioned.

In MiniGUI Extended there is a MESSAGE property in MENUITEM but does not refer to a ToolTip, this message is being displayed at first StatusBar item (by _HMG_aControlValue).
This feature is quite the same style as Clipper in these SET MESSAGE TO <nLine> and @ ... PROMPT <cItem> MESSAGE <cMsg> commands (Clipper Reference).

An example using this mentioned syntax is at this example: C:\MiniGUI\SAMPLES\Advanced\FrameWork\demo.prg
Screen1.png
Screen1.png (17.06 KiB) Viewed 4503 times
In this example is using some more elaborated feature, because is having a C function that reads RC file, in order to take messages string pre-defined.

IMHO, all of these feature are very usefull. All kind information given by displaying, showing what each item does, it helps to the app user and is also making part of app documentary as a good practice.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: ToolTips in MENUITEM

Post by bpd2000 »

Pablo César wrote:IMHO, all of these feature are very usefull. All kind information given by displaying, showing what each item does, it helps to the app user and is also making part of app documentary as a good practice.
+1
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

ToolTips in MENUITEM

Post by Pablo César »

Our actual MENUITEM has following these options:
Screen2.png
Screen2.png (14.53 KiB) Viewed 4488 times
In my opinion, MENUITEM would be improved with some extra options, like as:

- DISABLED property (useful fo user's level in the system are not allowed to access specific menu items)
- CHECKMARK <cImage>
- FONT <cFont>
- And/or MESSAGE <bFunction> (this last property, would be for applying for ToolTips or routine to assign at StatusBar).

FONTCOLOR I do not know if would be implemented for different colors... :roll:
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 MENUITEM

Post by Javier Tovar »

+1
Post Reply