LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Create help function for application

Solved!
Go to solution

Hi, I would like to creat help function for user in my aplication, where i using images like buttons and indicators. My idea is that, after i click or move the cursor on some of these object it shown me little yellow window whit description, or open window like windows help. i am begginer and i don't not where i shoud start, i will be glad for any advice. i spend many hours googling but i cant find anything reasonable, so thank you for any suggest. Here is screen for better idea

screen.png

0 Kudos
Message 1 of 4
(3,152 Views)
Message 2 of 4
(3,132 Views)
Solution
Accepted by topic author racek24

One possibility is to add appropriate tooltips to controls on the UI. A tooltip is a small balloon that appears when you hover over the control for a while.

 

Tooltips can be added in the UIR editor:

Screenshot 2017-02-08 16.45.28.png

 

Alternatively they can be added programmatically with

SetCtrlAttribute (panelHandle, controlID, ATTR_TOOLTIP_TEXT, "Sample tooltip");

 

In both cases you are limited to single- or multiline texts; if you want to add some graphical element you should create your own panel and display it. You should add a timer to discard the panel after a few seconds. If you load the panel as a child of the original one you may customize "tooltip" appearance, e.g. hide the titlebar and set an outline border.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 3 of 4
(3,116 Views)

Thank you very much, this is exactly what i looking for.

0 Kudos
Message 4 of 4
(3,068 Views)