In the rtf's resize code I have,
THIS.RightMargin = THISFORM.Width - 30
I tried adding Object before rightmargin but no luck. Is it different since I'm changing in inside the object's code and not from the form?
>>I'm trying to dynamically change the RightMargin property of a rich text class when it is resized. RightMargin shows up as a property during development but when I try to change it at runtime it says the property cannot be found. Has anyone got this to work. Thanks.
>>
>>Brad
>Brad,
>
>You didn't show us the code you are using that fails, but I will take a guess and say that you didn't use the object keyword in teh addressing;
>
> THISFORM.OleControl1.OBJECT.RightMargin = ##
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement