PDA

View Full Version : Combobox plugin and Winbutton plug Help


SUF6NEWBIE
04-22-2004, 10:34 PM
howdy, currently using a combox box selection to control
wether a winbutton is visible or not. All working as expected
however when the winbutton's visibility is triggered, the winbutton's
assigned 'tool tip' will not show.

Initial attributes for the target winbutton is Enabled and 'No visibility'
at runtime.. If I duplicate the Winbutton without having anything else
control it and just test the duplicate with both 'visibility and
'enabled set at runtime,, no probs, the tooltip shows fine.

Plugin assignment 'numbering is correct...

What am I missing or not doing..
any help ta...

SUF6NEWBIE
04-22-2004, 11:10 PM
the OnClick code for the Combobox:(plugin2)

Prod_index = ComboBox.GetSelected("Plugin2");
if (Prod_index == 1) or (Prod_index == 2) or (Prod_index == 8)then
Plugin.SetVisible("Plugin3", false); -- related winbutton visibility filter
Plugin.SetVisible("Plugin4", false); -- winbutton's onclick -next combobox
Plugin.SetVisible("Plugin5", false); -- related winbutton visibility filter
else
Plugin.SetVisible("Plugin3", true);
end


--'plugin3' is the assigned number for the troublesome Winbutton object