> In one of my editable fields, I simulate the "overwrite" typing mode by
> intercepting keystrokes and replacing the characters that are already in
> the field. (The user is not allowed to insert or delete characters.)
>
> To make this visually clear, I would like to change the default blinking
> I-beam to a blinking rectangle, as most apps do when you use the
> overwrite
> mode.
>
> Can this be done through Lingo?

You'll have to fake it. Here's an approach you might try:
<perhaps>
Make your on-stage field un-editable and place an editable field off-stage.
Use this off-stage field to trap keystrokes and replace existing characters
in your on-stage field.
Use a bitmap/shape/imaging to place your "overwrite" block at the correct
place over the on-stage field and 'blink' it appropriately (timeout object?)
Trap arrow keys to move the position of the blinking block.
</perhaps>

HTH,
Sean.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to