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

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/fc7e5310365d43568525714c005b65cf.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1