Check Box Focus Failure

  • Thread starter Thread starter Peter Hibbs
  • Start date Start date
P

Peter Hibbs

Hi All

In Access2000 I have a form with a number of various types of controls
including three Check Boxes. I have moved the controls around the form
and changed the Tab order to suit the form.

The problem is now that when the Check Boxes get the focus the
associated label does NOT get the dotted outline to show it has the
focus. Pressing the Space-Bar toggles the control as normal.

Is this a known issue and is there any fix. (I could show the label
outline using some VBA code but it does not look the same as the
standard mode).

Thank you.

Peter Hibbs.
 
Associate Label with Control
---

Hi Peter,

it sounds like the label is not associated with the control anymore...
if you click on the label, does it toggle the checkbox?

Are the label and the control in the same section? If so, to associate
the label with the control again:

1. click on label and cut it
2. select control
3. paste


Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Hi Crystal

Yes, the label is associated with the Check Box, if I click on the
label the box toggles the tick, as normal. Some new info - if I delete
the Check Box control and then insert a new one from the Tool Box the
dotted lines appear correctly when it gets the focus. If I then change
the Tab order so that it is in the correct position for entry, the
dotted lines disappear (the label outline still appears in Design
mode, as normal, but not when the control gets the focus). Obviously
it is changing the tab Index value that is causing the problem. I have
noticed the problem on other databases before so it is not this
particular form or database.

Any ideas?

Peter.
 
Crystal

A bit more info -

The Check Boxes are inside a Frame control. If I move them outside the
Frame everything works OK. When a originally place them on the form
(it is actually on a Tab control but I don't think that is relevant) I
place them outside the Frame control and then drag them inside the
Frame (otherwise Access treats them as Option buttons).

The Frame control is there purely for aesthetic reasons, it looks like
I can make it work properly by ditching the Frame control but the form
will not look so good. I wonder if there is any way of using a Frame
control to group controls but make it NOT work like a Frame control. I
think Rectangle controls work the same way as Frame controls so I
can't use those either.

Any ideas.

Peter.
 
Hi Peter,

I usually rely on the StatusBarText property to indicate to users what
control they are in. If you filled the field descriptions in the table
design, they are used for StatusBarText -- as a minimum, I suggest
copying the fieldname to the description.

Instead of using a Frame, why not use a Rectangle?

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Hi Crystal

Nope, a Rectangle does the same as a Frame control.

I have filled in the StatusBarText property for the users info,
whether they ever look at it is another matter.

I guess I will just have to leave the Check boxes outside the Frame.

Thanks anyway.

Peter.
 
Hi Peter,

.... Lines?

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Hi Crystal

Yes, probably. They don't look quite so good.

Have MS fixed this bug (if it is a bug) in A2007 I wonder.

Peter.
 
Good question, Peter ;) I don't know -- but have made a note of it;
thanks :)

"They don't look quite so good"

just do above and below OR left and right ... don't connect them --
lines could look even better ... if you change your perspective and what
you think you should see... if you use the space wisely, less lines mean
more attention to the data...


Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Crystal.

I will play with the lines and see what it looks like. Thanks for your
help.

Peter.
 
you're welcome, Peter ;) happy to help

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top