Block cursor for field text entry

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
robl
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Wed Dec 22, 2010 9:50 pm
Location: 3rd planet from the Sun

Block cursor for field text entry

Post by robl » Wed Apr 22, 2015 6:19 pm

This may sound odd... but I am working on an app that needs to "look" like a very old terminal style application -- i.e. 80 col x 25 row of fixed width monochrome text :?: . I've been able to mock up all of the needed UI to make it work and look the way I need with one exception, the flashing cursor for text entry into a field.

The normal text cursor in LC is a flashing vertical bar; but I am trying to find a way to change the shape of the text cursor to a flashing block (and be able to change the color of the cursor). I'm not seeing away to change this in the dictionary. The only cursor related commands I see are the mouse pointer, not the text cursor.

Does anyone know of any tricks to change the text cursor?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6117
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Block cursor for field text entry

Post by dunbarx » Wed Apr 22, 2015 10:47 pm

Hi.

I could be wrong, but I think that blinking cursor is drawn by the OS. Might it be possible to place a blinking image or even a widget in its place? Sure. But then how would you, er, sync the blink?

Craig Newman

Post Reply

Return to “Talking LiveCode”