I have subform on Mainform. Normally subform on the main form is far right and looks like a thin line (collapsed completely).
There is button on Mainform, this button can be for any thing like add edit etc. But basically this button is only expanding the form. I know there are many ways, smooth sliding, hiding etc etc.
But I am using a very simple trick (no modules, not many lines of code etc) . On button click
for expanding
for collapsing, this can be a click on Main form anywhere
Everything is fine upto here ------------
Just I have question here, is there way to control the speed of height widh increase decrease, which may make it smooth appearing or disappearing.
I tried adding like this along with above code but did not work.
Thank you
There is button on Mainform, this button can be for any thing like add edit etc. But basically this button is only expanding the form. I know there are many ways, smooth sliding, hiding etc etc.
But I am using a very simple trick (no modules, not many lines of code etc) . On button click
for expanding
Code:
Form2.Height = 2880
Form2.Width = 6075
Code:
Form2.Height = 300
Form2.Width = 6075
Just I have question here, is there way to control the speed of height widh increase decrease, which may make it smooth appearing or disappearing.
I tried adding like this along with above code but did not work.
Code:
Option Compare Database
Option Explicit
Const iResizeInterval As Long = 100