RE: Rich Edit, now ICON Qn
- Posted by jordah ferguson <jorfergie03 at yahoo.com> Apr 02, 2002
- 411 views
thanx derek. i was wondering is there a way of creating an icon, if its data is still in memory? Derek Parnell wrote: > ----- Original Message ----- > From: "jordah ferguson" <jorfergie03 at yahoo.com> > To: "EUforum" <EUforum at topica.com> > Sent: Saturday, March 02, 2002 12:27 AM > 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. > >