[Gambas-user] Richtext-Area alignment

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Feb 26 12:23:31 CET 2014


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




More information about the User mailing list