Propiedades en Control de Usuario
Publicado por Jose Luis (26 intervenciones) el 18/04/2001 19:11:30
Hola, he creado un Control de Usuario y tengo un problema. Por ej:
- Cuando le asigno a la propiedad MaxLenght, en el form donde uso el mismo, al cerrar VBasic y volver a entrar al mismo form, éste no queda grabado. Osea aparece en cero.
Esto hice en el Control del Usuario :
Public Property Let MaxLength(iCant As Integer)
Text1.MaxLength = iCant
End Property
Public Property Get MaxLength() As Integer
MaxLength = Text1.MaxLength
End Property
Gracias por la ayuda
- Cuando le asigno a la propiedad MaxLenght, en el form donde uso el mismo, al cerrar VBasic y volver a entrar al mismo form, éste no queda grabado. Osea aparece en cero.
Esto hice en el Control del Usuario :
Public Property Let MaxLength(iCant As Integer)
Text1.MaxLength = iCant
End Property
Public Property Get MaxLength() As Integer
MaxLength = Text1.MaxLength
End Property
Gracias por la ayuda
Valora esta pregunta


0