PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework OK and Cancel Buttons

Reply

OK and Cancel Buttons

 
Thread Tools Rate Thread
Old 02-12-2006, 11:28 PM   #1
Samuel Shulman
Guest
 
Posts: n/a
Default OK and Cancel Buttons


Hi all

Is there a way to control the appearance of both the OK and the Cancel
button, i.e. hide the OK button in the top right corner of the form and show
another button perhaps with an x to serve as the cancel button


Thank you,
Samuel


  Reply With Quote
Old 03-12-2006, 12:24 AM   #2
Daniel Moth
Guest
 
Posts: n/a
Default Re: OK and Cancel Buttons

On a Pocket PC? Form.MinimizeBox will toggle X and OK, ControlBox will hide
them. There is no "Cancel" button but you can place your own on the form.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

"Samuel Shulman" <samuel.shulman@ntlworld.com> wrote in message
news:u9BASmmFHHA.3872@TK2MSFTNGP06.phx.gbl...
> Hi all
>
> Is there a way to control the appearance of both the OK and the Cancel
> button, i.e. hide the OK button in the top right corner of the form and
> show another button perhaps with an x to serve as the cancel button
>
>
> Thank you,
> Samuel
>
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off