[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Default Push Button (OpenInsight 32-bit Specific) ====
=== At 10 APR 2006 12:38:18PM Anders Lindholt wrote: ===
{{tag>"OpenInsight 32-bit Specific"}}
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
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=FC7E5310365D43568525714C005B65CF|View this thread on the forum...]]