Re: Focus on a TextBox

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Joey Callisay (hcalisay_at_codex-systems.com)
Date: 08/20/04


Date: Fri, 20 Aug 2004 12:53:11 +0800

txtboxC.focus()

"msnews.microsoft.com" <bkotch@fakedomain.com> wrote in message
news:%23lkMQ5lhEHA.556@tk2msftngp13.phx.gbl...
> Was wondering if anyone else has run into this?
>
> I have a dialog that has three textboxes ... A, B and C. The tab order is
> simply ... 1, 2, and 3 respectively.
>
> Eventhough that is the tab order, if A and B have text in them (lets say
b/c
> it was restored from a config file) then textbox should C to have focus
(not
> A) ... Is there a way to do this without screwing around with the tab
> indexes?
>
>
>



Relevant Pages

  • Re: Defining Active Tab
    ... following fruit: ... will clear only the active tab's textboxes. ... If active tab = tab1 ...
    (microsoft.public.vb.controls)
  • Strange TAB behavior
    ... I have created a multipage tabbed form for data entry. ... multipage of the form, the TAB behavior changes. ... (moving through the textboxes in taborder.) [I've ... got a second button located directly on the sheet that will reopen the ...
    (microsoft.public.excel.programming)
  • Re: Tab order
    ... I assume that those textboxes are empty if the ID doesn't ... >>> exists, the customer information is populated, and I'd like to skip to ... but the next tab tabs back to the customer fields. ...
    (microsoft.public.access.formscoding)
  • Re: Defining Active Tab
    ... Basically what I'm aiming for is a global 'clear fields' button that will clear only the active tab's textboxes. ... If active tab = tab1 ... do it you're going to have to do each control individually. ...
    (microsoft.public.vb.controls)
  • Re: Userform Condition IF
    ... It is a Userform. ... textboxes the numerical data in 3 must be less than the numerical value in 2 ... >> Can a Conditional IF statement be used in a userform to>> alter the tab order? ...
    (microsoft.public.word.vba.userforms)