How to move frames on a form with a sliding control
Posted on 2003-11-24
Say I have two frames on a form. I want to be able to adjsut the size of the frames by draging an object located between the two forms upwards or downwards. (like in the IDE to adjust the wifth of the properties windows width for example)
I attempted placing a small borderless frame between. the two frames and made the mouse pointer a NW Size Icon I then tried to change the .top value of the middle frame at the mousedown / mousemove event but my middle frame just jumped all over the place. If I can move the middle frame smoothly up and down I can easily adjust the heights and tops of the other frames relative to that sliding middle frame...
I thought there was a slidebar or some control but I guess not.
Can anyone point me in the right direction?