Normally you just set
PHP Code:
useownprofile = true;
profile.modal = false;
The button cannot be clicked then though. You can also set some other attributes:
PHP Code:
profile.focusonshow = false;
profile.tab = false;
profile.cankeyfocus = false;
You can also unset the focus when your button receives the focus:
PHP Code:
function onFirstResponderChanges(obj) {
if (obj==MyButton && obj.isFirstResponder())
GraalControl.makeFirstResponder(true);
}