lock up a stack

Sarah Reichelt sarahr at genesearch.com.au
Mon Sep 6 23:24:53 EDT 2004


On 6 Sep 2004, at 2:57 pm, Sannyasin Sivakatirswami wrote:

> I want to be able to "lock up" a stack such that the user cannot 
> select text in fields, but all the buttons run.. then, when he clicks 
> "edit" the application drops a "in use" semaphore file on the server 
> so that others can read the stack from the server but not make 
> changes... and the user with edit privileges can now edit text and 
> when he saves, the changes are saved to a temp stack on disk and the 
> app FTP's the changed stack back to the server and delete the 
> semaphore file.
>
How about a large transparent button that covers all the fields. Your 
actual buttons could be on top of this transparent button so they are 
clickable, but by toggling the visibility of the big transparent 
button, you could toggle the ability to type or select any field data.

Cheers,
Sarah



More information about the use-livecode mailing list