Re: Text Editing

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

Ian Smith wrote:

> how to write a multi-line text edit control,
> much like the one that David Cuny wrote for
his GUI lib,but i want to able to resize it.

Are you writing a DOS application?

It's not that hard to rewrite the IDE_EDIT code to support resizing. When
you get an onResize event in the window, calculate a new editCX, editCY.
Then resize the Pixmap in Buffer with setSize(). Don't forget to call
updatePage() to repaint the display. That's about it.

Hope this helps!

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu