Re[2]: Win32Lib RichEdit suggestion

new topic     » topic index » view thread      » older message » newer message

But getText() should work the same when using richedit or edittext

(both return selected text or both return all text)

D> Aku wrote:

>> Why I can't use getText for RichEdit, I must use getRichText.
>>
>> It's better to use getText for RichEdit, but keep getRichText.

D> getText(id) does work for RichText already. It returns the *selected* text
D> from a RichEdit control. The getRichText(id,range) is used when you need to
D> get text other than what the user has selected.

D> Because they take different parameters, it would break existing code to make
D> getText work the same as getRichText.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu