Yes ... because richtext have it's how embedded format instructions
Post by Ru VuottHello,
by using ".Format.Alignment" property it "seems" it only works in this way....
Public Sub Form_Open()
TextEdit1.RichText = "<P align=right>arma virumque cano"
End
Public Sub Button1_Click()
TextEdit1.Format.Alignment = Align.Center
' but if in "Form_Open()" routine is set "<P align=LEFT"
' here this ".Format.Alignment = Align.Center" doesn't works !
End
Regards
vuott
--------------------------------------------
Oggetto: [Gambas-user] Richtext-Area alignment
A: "mailing list for gambas users"
Data: Mercoledì 26 febbraio 2014, 12:23
For a Richtext-Area ("txt") I have a
Toggle-Button for center alignment
Public Sub btnZentriert_Click()
If btnZentriert.Value = True Then
txt.Format.Alignment = Align.Center
End
It doesn't have an effect, but I don't see how to do else.
Please enlighten me :-)
Rolf
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco
certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and
generate reports.
Network behavioral analysis & security monitoring.
All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
https://lists.sourceforge.net/lists/listinfo/gambas-user
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
https://lists.sourceforge.net/lists/listinfo/gambas-user