Setting form Position Visible and Invisible from a Point

S

sangeenobs

Greetings,
I am trying to design a program which would hide half the form and
make it visible ( a sort of collapse and expand feature) . i am doing
this using the Docmd.Movesize. My problem is when i do
DoCmd.MoveSize , , 14700
It sets the width of the form from the left side. is there some way i
can set the width from the right side. so that i can display the right
half of the form and the left half remains hidden.
Any help appreciated,
Thank you
Sangeeta Michael
 
T

TC

No, the standard MoveSize method can't do that - assuming that you are
talking about the one in Access VBA.

(You haven't actually told us what software you're using.)

HTH,
TC (MVP Access)
http://tc2.atspace.com
 
B

baj

Hi,

Why not work with the property .Visible ?

You can work out a general function or sub that contains a codepart
like :
(...)
If <Condition> then
Object.Visible = False 'The object will be invisible
Else
Object.Visible = True 'The object will ba visible
Endif
(...)


Greetings,
Baj
 

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