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 = ##
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only