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