Hello
I'm writing an ActiveX in VB. It's invisible at run time.
At design time i want it to be of a fixed size (like the timer for ex.) i.e. one cannot resize it..
I did it once and i forgot how!! :confused:
10x
Printable View
Hello
I'm writing an ActiveX in VB. It's invisible at run time.
At design time i want it to be of a fixed size (like the timer for ex.) i.e. one cannot resize it..
I did it once and i forgot how!! :confused:
10x
If it isn't visible at runtime, then how can someone resize it?
If you passed it along to another programmer, and it is invisible at runtime, then what difference does its size make?
he he ...
I said invisible at run time ....
BUT i want it to be of a fixed size at design time (when inserted into an app)
C what i mean ?
Hello
try this...
Private Sub UserControl_Resize()
On Error Resume Next
UserControl.Size UserControl.ScaleX(36, vbPixels, UserControl.ScaleMode), UserControl.ScaleY(36, vbPixels, UserControl.ScaleMode)
End Sub