Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Alberta, Canada

    Unanswered: highlight command buttons (VB6)

    in VB6, i would like one particular command button in each form to be highlighted when the form loads up. (note: not SetFocus), it not necessarily has the focus, but it has just a bolded border...
    i have tried the highlighted property, but it won't let me. i guess it's not compatible.

  2. #2
    Join Date
    Jul 2003
    Amsterdam, Nederland
    maby its an option to put the text on BOLD

    Or otherwise you'll have to create an own commandbutton

  3. #3
    Join Date
    Jul 2003
    I think what you are looking for is default...

    command1.default = true

    that way the user can still change focus to other controls, but if they hit the "enter" key then it clicks that button (also if you say .cancel = true, the "Esc" key does the job).

Posting Permissions

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