But what is .Format.Alignment good for if not for switching alignment? Am 27.02.2014 08:07, schrieb Fabien Bodard: > Yes ... because richtext have it's how embedded format instructions > > 2014-02-26 23:12 GMT+01:00 Ru Vuott <vu...@yahoo.it>: >> Hello, >> >> 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 >> >> >> >> >> -------------------------------------------- >> Mer 26/2/14, Rolf-Werner Eilert <eilert-sprac...@t-online.de> ha scritto: >> >> Oggetto: [Gambas-user] Richtext-Area alignment >> A: "mailing list for gambas users" <gambas-user@lists.sourceforge.net> >> Data: Mercoledì 26 febbraio 2014, 12:23 >> >> For a Richtext-Area ("txt") I have a >> Toggle-Button for center alignment >> ("btnZentriert") and try this: >> >> 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 >> Gambas-user@lists.sourceforge.net >> 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 >> Gambas-user@lists.sourceforge.net >> 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user