unassociated labels-strange behaviour

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am putting some unassociated labels on my forms. Some are instructions unrelated to any controls, others are text that I have set up as hyperlinks.
Obviously, when I put the label on the form in design view it gives me the error diamond-- I turn that error off by selecting the "ignore error" choice.

When I then view the form in form view, and move the mouse over/near that label or other unassociated label the form "refreshes" (repaints the form I guess you would call it?). This is funky looking and distracting.
I tried just putting a text box control on the form, using that label and "turning off the text box" (e.g. make nonvisible) but that makes the label non-visible too.
Any suggestions? I hope I have explained this adequately.
Thanks,
Doug Lazenby
 
Unattached labels do flicker like that if they are not sitting directly on
the form, e.g. if they are on the page of a tab control.

Use a text box with these properties:
Control Source ="Whatever the label should show"
Enabled No
Locked Yes
BackStyle Transparent

In you have several of these in your database, there is a utility in this
link that searches all the forms in your database, replaces any affected
labels with text boxes, and sets the properties:
http://members.iinet.net.au/~allenbrowne/ser-46.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

dlazenby said:
I am putting some unassociated labels on my forms. Some are instructions
unrelated to any controls, others are text that I have set up as hyperlinks.
Obviously, when I put the label on the form in design view it gives me the
error diamond-- I turn that error off by selecting the "ignore error"
choice.
When I then view the form in form view, and move the mouse over/near that
label or other unassociated label the form "refreshes" (repaints the form I
guess you would call it?). This is funky looking and distracting.
I tried just putting a text box control on the form, using that label and
"turning off the text box" (e.g. make nonvisible) but that makes the label
non-visible too.
 
Back
Top