I don't have the example to hand, but you can do this with output_close.

"Documentation Changes for Version 6.0.4 
Output_Close: (Pocket PC) This event is sent to a program if ShowOKButton = 
True. You can do normal processing here, including MsgBox statements. The 
program will not actually exit unless you have a Bye statement in the 
subroutine. (Note that is a change from previous versions). If ShowOKButton = 
True and you do not have an Output_Close subroutine, the program will exit. If 
ShowOKButton = False, the operation will be as always: the program will keep 
running, but the next program in the hierarchy will appear on the screen. "

Will provide more detail when I can find the source code for my program with ok 
button closing dialogs.

--- In [email protected], "michiman56" <rriemer...@...> wrote:
>
> While the behavior when using "ShowOKButton True" is useful and welcome for 
> many applications, it seems to deviate quite far from the OK button's 
> intended purpose.
> 
> Is there any technique that can be used to modify this behavior back to the 
> expected "OK this dialog" functionality?
> 
> I wouldn't want the [X]-button (minimize) action, but rather some event I can 
> handle that would tell my code it can close/hide the current "dialog" form 
> and return to a main form.
> 
> Thanks for any ideas.
> 
> Bob
>


-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to