Opening a small form from a large main from...screen customozation

Hello,
I have a medium size form ( lets say half of screen size ) with a botton on it.
I created another from which is a small from (size of a a monthCalander control)
Now,
i when i press the button i want the small monthCalander from to open under the button,
but if the user will drag the form down and the user would not be able to see the calander form i would like it to be opened upward the button,
same goes for left and right.
are there any ideas? or functions who does this ?

Thanks

Tomer
tomer_baAsked:
Who is Participating?
 
TonylmillerCommented:
The size and borders are all properties of the form.  You can open the properties menu of the form in the form designer and edit them there, or you can set them in your code.
0
 
tomer_baAuthor Commented:
??
0
 
TonylmillerCommented:
For your popup form, set the start position to "manual" and you can set the "location" property to anything you want.  This will allow you to place all your forms any place you like.

Does this solve the problem?  I'm not sure I understand exactly the problem.

Good luck!

Tony
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
tomer_baAuthor Commented:
i am looking for a "ready function" maybe that will already include all the "edje cases"

Thanks,

Tomer
0
 
TonylmillerCommented:
Perhaps I do not understand the question.  I have explained how to arrange the forms exactly as you wish.  There must be something else that you need.  Would you please explain what you still need to do?

Thanks,

Tony
0
 
tomer_baAuthor Commented:
Hi Tony,
How can i now the screen size or screen borders ?

Tomer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.