Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6242441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:57:21+00:00 2026-05-24T11:57:21+00:00

I have 3 labels that act as search buttons for my form (I’m aware

  • 0

I have 3 labels that act as search buttons for my form (I’m aware this is weird, but I’m trying to have the buttons look appealing, and in Access’03 it’s difficult to do without this method + OnClick.

My question is: Is there anyway to have one of these labels use a KeyPress event, so when the user hits Enter – It triggers one of the buttons of my choice, considering there isn’t a default field for Labels.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:57:24+00:00Added an answer on May 24, 2026 at 11:57 am

    You can’t set focus on a label but you can simulate the behaviour you’re describing by:

    -creating a button with no caption

    -setting the ‘backstyle’ property to transparent

    -make the button slightly bigger than your label and place it on top of your label

    -give the button the behaviour previously assigned to your label.

    -Assign your button the appropriate tab index

    Now as the user tabs through your form, your label will appear to ‘highlight’ and the user can press enter to activate it.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this set of labels and radio buttons that look like this: Entertainment:
I have this long list of checkboxes with specific labels that look something like
I have this long list of checkboxes with specific labels that look something like
I have a set of radio buttons with labels that I would like to
I have labels that are dynamically added on to the form with each of
I have a series of controls, but mostly textboxes and labels that need to
I have some labels that I want to allow users to edit. Is it
I have two labels that are stacked. If I want a horizontal line between
everyone. I have some labels that I draw them in the xib file, and
I've created a skin that allows me to have two labels on a spark

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.