Page 1 of 1

Setting defaultbutton

Posted: Sun Apr 06, 2008 11:35 pm
by keyless
After a user clicks one defaultbutton on a card, I want to set another button to a defaultbutton, what is the correct syntax for this, I've tried several obvious ways but none seemed to set the buttons defaultbutton property to true.

Posted: Mon Apr 07, 2008 12:16 am
by BvG

Code: Select all

set the default of button 1 to true
set the default of button 2 to false
Hint: If you mouse over the name of a setting in the property inspector, it'll tell you the rev term of the property the inspector actually is changing. So for the "Default Button" check mark this was "default", so I looked at the documentation entry of the default property.

Posted: Mon Apr 07, 2008 6:23 am
by keyless
thanks, I got defaultButton stuck in my head and since that was in documentation I figured that was it.