Re: Rich Edit
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 29, 2002
- 492 views
----- Original Message ----- From: "jordah ferguson" <jorfergie03 at yahoo.com> To: "EUforum" <EUforum at topica.com> Subject: Rich Edit > > Hi, > I have to questions involving the rich edit control. > 1) I want to setFont to a richedit control. simly using setFont isn't > working, Please tell me what is going on or what i have to do to setFont > to a RichEdit Control(without need for going through the font dialog)? This has been fixed in the next release. You can then do: setFont(RE, Arial, 12, {"ALL", Normal"} ) that will set the font for all the text, or there is no text, any new text added to the control. > 2)In case you want to select all text in a richedit control, it says in > the documentaion that you can simply use setIndex(RE,{0,-1}). This is > not working. I'm currently using the patched up version of win32lib ie > 55.5? Some one please tell me how i can select all items in a RichEdit > control. This is almost correct. Try this instead: setIndex(RE, {1,0}) ----------- Derek.