Hello,
When a SYSBUTTON is the default, it has a blue border round it
How can I set the focus to another SYSBUTTON and apply the blue border to it
so that it is visible to the user that that button is the one to use?
Thanks,
Brian
Use the @CTLBTNDEFAULT flag on the one you want to be the default button.
Larry,
I am already doing that, but I want a second button to be the default after the first
button has been pressed, and finished its action
Brian
I misunderstood.
OK, use the @CTLBTNDEFAULT on the first button.
Whenever you are ready to switch the default button use the MODIFYSTYLE command to remove the
@CTLBTNDEFAULT style from the first button and use the same command to add the @CTLBTNDEFAULT style
to the second button.
You will probably need to use the REDRAWFRAME command on both buttons to refresh the display.
Great! Plumb forgot about that command...
Thanks, Larry