On Thu, 03 Jul 2003 19:29:15 GMT, BT <cr********@hotmail.com> wrote:
Hi.
I like to know where and how do you set the ClientHeight and ClientWidth
properties? I can see Height,Width,Top,Left in the Properties window.
Any suggestion would be very helpful.
ClientHeight and ClientWidth are ScaleHeight and ScaleWidth in VB
You do not change those to resize a control
- fiddling with them just changes the ScaleMode
Assuming the internal scale mode = the container's scalemode :-
Me.Width = BorderWidth + Me.ScaleWidth
=> BorderWidth = Me.Width - Me.ScaleWidth
Me.Width = BorderWidth + DesiredScaleWidth