Format Multiple Colors on 1 form

  • Thread starter Thread starter David
  • Start date Start date
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.
 
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
 
Back
Top