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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving objects on a form

Status
Not open for further replies.

duncansancho

Technical User
Oct 9, 2003
45
0
0
GB
Hi all,
I'm having problems moving things when a form re-sizes.
For example, I have a button called imgInHelp. The new position for it is at 700 left, and 310 from the top from a starting place of 384 left, 294 from the top.
The code I have used is below and causes the button to disappear completely when the form opens, although it is back in the correct place on closing! Help!

(expanding) imgInHelp.Move 700, 310
(contracting) imgInHelp.Move 384, 294

Many thanks for any help,
Duncan
 
I have just realised that the problem must be that I am moving it from a page (called pgRecord) to the body of the userform! How do I handle that please?
Duncan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top