Datagrid Bug?
Trevor DeVore
lists at mangomultimedia.com
Mon Jun 22 09:07:46 EDT 2009
On Jun 22, 2009, at 5:25 AM, Beat Cornaz wrote:
> I encountered a strange behavior of the datagrid. Actually two times
> a similar, but not identical kinda lockUp of a cell(s).
>
> 1. In the IDE, suddenly a cell of my Datagrid stayed 'open', meaning
> the 3D layout, as when you select a cell for editing. It would not
> close anymore. I can't remember if I could enter anything into it. I
> was struggling with other stuff at bthe time, so I threw the
> datagrid away and made a new one.
>
> 2. yesterday, in a Windows standalone, I had a similar, but slightly
> different lockUp of cells. ...
Is this a stock data grid with no code added or are there any of your
scripts that are processing data that is entered? If you have scripts
can you tell us what they are doing?
> A slightly related question : after entering data into a cell, how
> do I close the cell by script. I have scripted a click somewhere
> outside the datagrid, but that is not very elegant.
The DeleteFieldEditor closes the field editor. It takes one boolean
parameter: true will save data entered false will not. Out of
curiosity, what is the sequence of events that requires closing the
editor by script rather than waiting to save until the user presses
return/enter or focus leaves the field?
Regards,
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
More information about the use-livecode
mailing list