I am writing an ActiveX control. Very new to these. When I compile and decide to load it onto a form in an exe project the True/False selection in the properties window is locked (Can't switch between the two values). Can't seem to figure this one out. (please don't add the property bag code, I will try to figure that one out in a bit)
Thanks a lot for the help.
Matt
Thanks a lot for the help.
Matt
Code:
Option Explicit
Private blnActive As Boolean
Public Property Get Active() As Boolean
Active = imgProg.Enabled
End Property
Public Property Let Active(blnVal As Boolean)
imgProg.Enabled = blnVal
blnActive = blnVal
End Property