Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help text

Status
Not open for further replies.

chidi

Technical User
Mar 24, 2003
42
0
0
NG
Why is this not working?
DECLARE
MouseItem VARCHAR2(80) :=
:system.mouse_item;
BEGIN
-- if the mouse is held over a button
-- item, show the help text for that
-- item in the toolbar text item
IF get_item_property(MouseItem,
ITEM_TYPE) = 'TEXT ITEM' THEN
:MIST_CALL.MC_GENDER :=
get_item_property(
MouseItem, HINT_TEXT);
END IF;
END;
My requirement is when a mouse is placed on an item, that item will display the options for that text.
Example:
Gender should display m for male; f for female when a mouse is over gender. This is not working.
What is wrong with it?
 
Yes, it is lewisp, thanks
 
If its a button you hold the mouse over, then

IF get_item_property(MouseItem,ITEM_TYPE) = 'TEXT ITEM'

will immediately stop it from working. The type you should look for is 'BUTTON'.

Hint text for an item is fixed. If you want it to display different meanings depending on the contents you will have to use some sort of lookup facility in your code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top