|
-
Jul 5th, 2005, 03:41 AM
#1
Thread Starter
Addicted Member
Fixed size ActiveX
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!!
10x
-
Jul 5th, 2005, 01:39 PM
#2
Re: Fixed size ActiveX
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?
-
Jul 6th, 2005, 12:15 AM
#3
Thread Starter
Addicted Member
Re: Fixed size ActiveX
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 ?
-
Jul 21st, 2005, 08:52 AM
#4
New Member
Re: Fixed size ActiveX
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|