Re: Rich Edit confusion
- Posted by akusaya at gmx.net
Mar 02, 2002
j> Hi, I have to questions involving the rich edit control.
j> 1) I want to setFont to a richedit control. simly using
j> setFont isn't working, Please tell me what is going on
j> or what i have to do to setFont to a RichEdit
j> Control(without need for going through the font dialog)?
This is what I use in my program:
teks is RichEdit
font = getFontDialog( teks )
if sequence(font) then
setIndex(teks, {1, -1})
setFont( teks, {font[4],font[1]}, font[2], font[3] )
end if
j> 2)In case you want to select all text in a richedit
j> control, it says in the documentaion that you can simply
j> use setIndex(RE,{0,-1}). This is not working. I'm
j> currently using the patched up version of win32lib ie
j> 55.5? Some one please tell me how i can select all items
j> in a RichEdit control.
I used setIndex(RE, {1,-1}) and it worked.
Maybe the documentation need to be edited.
|
Not Categorized, Please Help
|
|