how control focus of a message button

plant

New Member
Hi,

If I have a statement like this:

Message "Do you want to close this window" view-as alert-box
buttons yes-no.

if I want to put cursor focus on "no" or "yes"( I do not want the default focus), how do i do it.

Thanks
 

Kevin Decker

New Member
Post,

Try this....


Def Var v-ans as log.

v-ans = yes. /*(or NO)*/
/* initializing the variable first will overide default */

Message
"Do you want to close this window"
view-as alert-box buttons yes-no update v-ans.



Good luck,
Kevin
 
Top