02-08-2017 08:47 AM
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
Solved! Go to Solution.
02-08-2017 09:20 AM
If I understand correctly, what you want is a tooltip:
http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/uiref/cviattrtooltiptext_control/
02-08-2017 09:51 AM - edited 02-08-2017 09:56 AM
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:
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.
02-13-2017 12:49 AM
Thank you very much, this is exactly what i looking for.