+ Reply to Thread
Results 1 to 3 of 3

"tabbing" from one element to the other

  1. #1
    Registered User
    Join Date
    08-24-2005
    Posts
    26

    Angry "tabbing" from one element to the other

    I have a spreadsheet with a few combo boxes and text boxes on it. I want that when the user is using control1 by pressing the tab key he should be switched to control2. For some reason .setFocus and .Activate are nto working!

    Please help!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello schoujar,

    In the properties sheet for the controls you will find TabIndex and TabStop. TabIndex is a sequential number that is assigned to a control when it is created. It has a companion property TabStop that is a boolean value (True/False). If TabStop is True, the control will receive the focus when the user press the Tab key. The order in which Tabbing occurs is set by TabIndex. It starts at 0 and increases by 1. You can reset the TabIndex of the controls to match your layout.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    08-24-2005
    Posts
    26

    Unhappy

    thats what I would have thought. But my properties window doesn't even show the tabindex and tabstop properties. Whats wrong?

    By the way these elements are not on a form. They are individually placed on a worksheet. Would that be a problem?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1