Recreating complex interfaces and/or field formatting on preOpenCard

Ken Ray kray at
Mon Jun 4 10:37:09 EDT 2012

On Jun 3, 2012, at 1:09 PM, Alejandro Tejada wrote:

> Hi all,
> Today, reading the message of Kay C. Lan about
> using cards in this platform:
> I noticed that my knowledge about this platform needs a welcome update,
> so I am asking all of you to provide some examples of recreating a complex
> interface and/or a complex field formatting BEFORE the card is draw on
> screen,
> that is using the handler "on preOpenCard".

When 5.5 came out as a DP 1, RunRev made available for download a stack called "field_features.livecode" that had individual cards that demonstrated the new features of the text field. Although all of the code runs on 'openCard', it could just as easily run on 'preOpenCard' to hide it from the user before the card is drawn (although LC is fast enough that in this case 'openCard' was fine to show what was going on).

Not sure if that's still available for download, but if not, maybe RunRev could post it on RevOnline or on their site...

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:	

More information about the Use-livecode mailing list