how can i add a font property to an OCX.
:o :( :) :D :p ;)
Printable View
how can i add a font property to an OCX.
:o :( :) :D :p ;)
Menu
-------
Add-ins
find the Active X control one
and use the wizard
....
but if it is a compiled ocx.
You would have to add it in before it is compiled.
Is this what you mean. The type will not show up, but it will work.
There is a sample app included.
Code:Public Property Get Font() As Font
Set Font = txtTextBox.Font
End Property
Public Property Set Font(ByVal New_Font As Font)
Set txtTextBox.Font = New_Font
End Property
I mean that i have a compliled ocx which is an arabic text box but it has no font property and it uses the system default font as the font,It also has a fontsize property.