one label all forms

S

seeker

I want to put a label on all my forms that says YOU ARE IN ARCHIVE. Can I do
this without placing a label on each form? Thanks.
 
D

Douglas J. Steele

You could set the form's Caption to that. That would mean that it would
appear in the bar at the top of the form. However, you'd have to set it, so
I don't know whether that'll save you anything.
 
J

John W. Vinson

I want to put a label on all my forms that says YOU ARE IN ARCHIVE. Can I do
this without placing a label on each form?

You can't: a Label control resides on a form and you can't have one label
simultaneously on every form.

About the best I can think of is to have a small startup form with nothing but
that label on it; have it open all the time, and arrange that none of your
other forms overlap it on the screen.
 
D

David W. Fenton

I want to put a label on all my forms that says YOU ARE IN
ARCHIVE. Can I do this without placing a label on each form?

You can't do it without doing *something* in all forms. I often use
color to distinguish versions of the same database, and also set
captions of forms on load. This requires code in each form, but
since it's built into these apps that loading a form sets
colors/etc. it's easy for me to do.
 

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

Top