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)
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 ?