I have an OCX made from a 'TextBox' control provided with VB.
I recently wanted to add an alignment property to this control.
The problem that I am encountering is that when I go to compile, VB says, "Can't Assign to Read-Only Property" because, to the embedded TextBox control, it _is_ runtime, even though, to the OCX it is design time.
The actual statement is this:
Public Property Let Alignment(A As AlignmentConstants)
Text1.Alignment = A
The compile stops cold, with "Alignment" highlighted.
The question is: How do you alter run-time, read-only properties in component controls of an OCX?