Page 1 of 1
Documentation on the Touch Property for Bevel UI Controls
Posted: Thu Mar 17, 2016 4:06 pm
by chaoix
Is there any documentation on the Touch Property for Bevel UI Controls? Specifically how to use the touch property on on "Define Interactive Characteristics" window?
I am trying to add an invisible button to my dialog that changes a variable when clicked.
Re: Documentation on the Touch Property for Bevel UI Control
Posted: Fri Mar 18, 2016 2:32 pm
by FrancescoT
Dear Chaoix,
unfortunately it's not possible to handle an "onclick" event via "Dialog Object Behavior" in dialog editor.
In addition even if this was possible, a button doesn't send any "onclick" message when NOT Visible.
Regards
Re: Documentation on the Touch Property for Bevel UI Control
Posted: Mon Mar 21, 2016 8:54 am
by chaoix
I figured this out.
I was able to use a standard button, changed the Object Behavior to "Performs Action: Return from Dialog", and checked the WIZARD variable in the script for the name of the button that returned from the dialog.
Again this behavior was not documented anywhere I could find in the built in help, which should at least mention this feature.
Re: Documentation on the Touch Property for Bevel UI Control
Posted: Mon Mar 21, 2016 2:48 pm
by FrancescoT
Dear Chaoix,
in reality for such specific Behavior exists a "Basic Dialog Action sample" that demonstrates how to execute script code conditionally as result of a dialog button selection.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&start=0Unfortunately I missed the fact that you wanted to handle a script variable as result of a button selection.
So I mistakenly assumed that you wanted to handle the state of a Dialog control as result of a standard button selection...sorry

!
Regards