cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

RTF textbox properties

Raiko
17-Peridot

RTF textbox properties

Hello folks,

is there any way to change the rtf textbox properties (the one from the "useful extra components" sheet) such as border and size?

Thanks in advance

Raiko

3 REPLIES 3
RichardJ
19-Tanzanite
(To:Raiko)

I thnk these are the available properties: http://msdn.microsoft.com/en-us/library/aa261597%28v=vs.60%29.aspx

Raiko
17-Peridot
(To:RichardJ)

Hi,

thanks for your help. Although the RTF textbox accepts the property (see below) it isn't executed. I.e. The border remains visible. Do I need to specifiy anything else?

Raiko

Sub RTFObjEvent_Exec(Inputs,Outputs)

RTFObj.BorderStyle=0

RTFObj.defTextRTF=Join(Inputs(0).Value)& Join(Inputs(1).Value)

End Sub

RichardJ
19-Tanzanite
(To:Raiko)

I don't see any other proprty that would make a difference. I don't know why te border still shows with BorderStyle set to 0. Sorry.

Announcements

Top Tags