Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to fix the position of a control in a form dynamically?

Status
Not open for further replies.

sai99

Programmer
Mar 6, 2003
2
US
I have a form which has the logo of our company. This form is the sub form in all other forms. Now the logo is changed and so is the size of it. It is difficult to change the size and position of this subform in all the forms manually. Is it possible to change the position of this sub form dynamically in all the forms of the database? Any help is greatly appreciated.

Thanks,
 
Why not a loop ?
Into a function, you could :
- Open all your forms docmd.openform FormName, acDesign
- Do your changes MyForm.MyControl.Top = 123456
- Close the form saving the changes
- And then go to the next form

bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top