Default Push Button (OpenInsight 32-bit Specific)
At 10 APR 2006 12:38:18PM Anders Lindholt wrote:
Hi,
How can I remove the default push button on a button depending of some other conditions.
In fact I want one default push button for the first part of the flow during the window, then switchs that one off, an switchs a new default push button on for the rest part of the flow.
Any help
Anders
At 10 APR 2006 12:54PM dsig _at_ sigafoos.org wrote:
I created a test window with a button then put a debug in create (after forward event) and looked at the WINDOW … DEFAULT property was null
i then checked the button default property and ran again .. and the window shows the button_1 as default
i then added a script to button 1 which will set the default property on the window to button 2 and on button 2 a script to debug…
ran the routine hit return and saw that button 2 visually changed .. hit return again and it went to debug ..
so simply change the default property of the window .. should work