Hints
#1
Posted 28 June 2007 - 10:13 AM
Only the hints assigned to TNextInspector is exposed to the application. Hints from all its children (TNxToolbarItem, TNxComboboxItem, TNxButtonItem, ...) are not exposed. The reason seems to be that TNextInspector is a TControl but TNxToolbarItem, TNxComboboxItem, TNxButtonItem, ... are not TControl.
Abraham
#2
Posted 28 June 2007 - 11:42 AM
I am sorry, but I don't understand your post completelly Maybe you are need to set ShowHint of Item to True?
Can you please give me more details.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 28 June 2007 - 05:11 PM
Ex 1. Drop a RzBaloonHints (Raize) or JvBaloonHint (JVCL) on a form containing TNextInspector and some standard controls such as buttons, checkboxes, etc. Hints from all the controls on the form will change their look (even TNextInspector) except TNxToolbarItem, TNxComboboxItem, TNxButtonItem, ...
Ex 2. The component FormHelp from UtilMind displays a "whats this?" caption button on the title bar of a form. When you click that button and click any control on the form it then shows the hint associated with that control. Now on my form it shows the hints from every other control except TNxToolbarItem, TNxComboboxItem, TNxButtonItem, ...
I can manually pass a control to FormHelp but it must be a TControl.
Hope it´s clear now.
Thanks, Abraham
#4
Posted 28 June 2007 - 05:22 PM
I have fix it,
Please contact me via e-mail to I send you latest release with this bug fixed.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#5
Posted 28 June 2007 - 05:25 PM
Email sent.
Thanks, Abraham
#6
Posted 28 June 2007 - 07:52 PM
If you have JVCL installed, just drop a JvBaloonHint on the form and compare the hints.
Thanks, Abraham
#7
Posted 28 June 2007 - 07:55 PM
Abraham
#8
Posted 28 June 2007 - 10:31 PM
I am sorry, I didn't realise that constructor of Component is called before constructor of Form
Please do next:
1) Open NxInspector.pas
2) Go to,
constructor TNxCustomInspector.Create(AOwner: TComponent);
3) Delete 2 lines:
FHintWindow.Color := Application.HintColor;
and replace them with
4) Go to
TNxCustomInspector.ShowItemHint and add next lines at begin of procedure:
begin
FHintWindow := HintWindowClass.Create(Self);
FHintWindow.Color := Application.HintColor;
end;
I hope that this is it
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#9
Posted 28 June 2007 - 11:00 PM
NxInspector 1580 TNxCustomInspector.HideItemHint
NxInspector 1124 TNxCustomInspector.MouseMove
#10
Posted 28 June 2007 - 11:14 PM
I will be back in few minutes, just to find where I may put creating hint to create hints immidiately when component is created.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#11
Posted 29 June 2007 - 12:11 AM
I think that now is fine, I am checking HintWindowClass, and if differ from current, hint window is re-created with new HintWindowClass.
I have send you changes inside PM.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#12
Posted 29 June 2007 - 09:56 AM
Abraham
#13
Posted 29 June 2007 - 10:07 AM
Maybe it is not possible to have UtilsMind's tooltip for specific Item. Can you please tell me on what principe it works?
Please note that Items in NextInspector are not controls with own handles (this will take a lot of memory).
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users