On Mon, 2013-10-21 at 14:12 -0700, Charlie wrote: > I want to use the "Editor" feature to highlight part of a string in bold. I > have looked at the "Highlighter" example provided in Gambas 3.5 (and perhaps > earlier versions) but I just can't work it out. > > I would like something like: - > > String1 = "Hello" > String2 = " to you" > Editor1.text= String1 & String2.Bold > > I know it does not work this way but I hope this helps explain what I am > looking for. > > Thanks in advance for any help.
> > [Quicky] [From memory] String2 = "<b> to you</b>" Editor1.richtext= String1 & String2.Bold (but I think you want more than that?) Bruce ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user