Re: [Gambas-user] R: Richtext-Area alignment

2014-02-27 Thread Rolf-Werner Eilert
Yes, that's for the plain display. But when in the editor, there is a .Format.Alignment property which should serve as a switch without setting the html tags directly in the string. Am 27.02.2014 08:24, schrieb Wolfgang: > As I understood that (and as it works here) you define some "starting > e

Re: [Gambas-user] R: Richtext-Area alignment

2014-02-26 Thread Rolf-Werner Eilert
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 : >> Hello, >> >> by using ".Format.Alignment" property it "seems" it onl

Re: [Gambas-user] R: Richtext-Area alignment

2014-02-26 Thread Rolf-Werner Eilert
Am 26.02.2014 23:12, schrieb Ru Vuott: > Hello, > > by using ".Format.Alignment" property it "seems" it only works in this way > > > Public Sub Form_Open() > > TextEdit1.RichText = "arma virumque cano" > > End > > > Public Sub Button1_Click() > >TextEdit1.Format.Alignment = Align.

Re: [Gambas-user] R: Richtext-Area alignment

2014-02-26 Thread Fabien Bodard
how-> own 2014-02-27 8:07 GMT+01:00 Fabien Bodard : > Yes ... because richtext have it's how embedded format instructions > > 2014-02-26 23:12 GMT+01:00 Ru Vuott : >> Hello, >> >> by using ".Format.Alignment" property it "seems" it only works in this >> way >> >> >> Public Sub Form_Open() >>

Re: [Gambas-user] R: Richtext-Area alignment

2014-02-26 Thread Fabien Bodard
Yes ... because richtext have it's how embedded format instructions 2014-02-26 23:12 GMT+01:00 Ru Vuott : > Hello, > > by using ".Format.Alignment" property it "seems" it only works in this way > > > Public Sub Form_Open() > >TextEdit1.RichText = "arma virumque cano" > > End > > > Public S

[Gambas-user] R: Richtext-Area alignment

2014-02-26 Thread Ru Vuott
Hello, by using ".Format.Alignment" property it "seems" it only works in this way Public Sub Form_Open() TextEdit1.RichText = "arma virumque cano" End Public Sub Button1_Click() TextEdit1.Format.Alignment = Align.Center ' but if in "Form_Open()" routine is set " ha scritto: