Format Multiple Colors on 1 form

D

David

Hi,

I have placed 3 different text boxes on my form, each with a different
color, then sent them to back, so the controls are visibile on top.

When I open the form in FORM VIEW, the text boxes only go to a certain width
of my screen, while my header and footer sections go the full width of the
screen.

Not knowing how each user's screen resolution will be configured, is there a
way to have these text boxes behave like the header and footer sections?

Thanks.
 
L

Lord Kelvan

you could use some code to retrieve the size of the application using
vba then configuring the textboxes accordingly i dont believe there is
a properity to auto rezise it based on the resizing of the form

something like

Private Sub Form_Open(Cancel As Integer)
Textbox.Left = 0
Textbox.Width = Form.InsideWidth
End Sub

Private Sub Form_Resize()
Textbox.Left = 0
Textbox.Width = Form.InsideWidth
End Sub

hope this helps

Regards
Kelvan
 

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