Edit box routine

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

Hi, all.

I recently wrote a routine (edit.e) that allows editing of a string.  It
limits the cursor to a single line, allowing the usual edit functions within
the confines of specified columns.  It works well for short one-line
strings; but I also need a routine which will confine the cursor to a
box...basically like an edit box in Windows.  In edit.e, I re-printed the
string every time an edit occurred.  That works fine for the relatively
short strings it will edit, but would cause a lot of flickering with an edit
box.

So, I was just wondering how to go about handling everything, particularly
word wrap.

Thanks,

Ben
----
Some people write a program and work the bugs out of it.  I write bugs and
sometimes work a program out of 'em.



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu