Results 1 to 2 of 2

Thread: "Default" property of buttons?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    30

    "Default" property of buttons?

    Seeing that Microsoft decided to take out the "Default" property of command buttons in the upgrade to .net, how do I set the default button without using "vb6." commands?

    On a more general note, where can I find good information about the upgrade from vb 6 to .net? I have far too many questions that help and google can't solve to have to post out here every time, and anyway, it's certianly not the quickest way of getting answers (though it's quite useful).

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    Try the AcceptButton property of Form:

    ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemWindowsFormsFormClassAcceptButtonTopic.htm

    For your VB6 upgrading questions, a large amount of the material in Programming VB .NET by Francesco Balena deals with VB6 -> VB .NET changes, and the edition I bought also came with the entire book Programming VB6 on CD. I don't think you could consider it a porting guide though...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width