DataGrid and option menu

Yves COPPE yvescoppe at
Sun Apr 12 05:01:14 EDT 2009

Le 12-avr.-09 à 02:26, Trevor DeVore a écrit :

> On Apr 11, 2009, at 3:43 PM, Yves COPPE wrote:
>> ...
>> BUT
>> whan I quit the stack and open the stack again, then the values of  
>> all the btns on each line of the colum are reset to the first line  
>> (menuHistory 1)
>> How can i retain the menuHistory of each line of the column with  
>> the option menu btn ??
> Hmm, SetDataOfIndex/SetDataOfLine aren't updating the internal cache  
> when "persistent data" is checked in the Property Inspector. I've  
> fixed SetDataOfIndex so that it works property with "persistent  
> data" for the next version. The workaround is to use dgDataOfIndex/ 
> dgDataOfLine instead.
> on menuPick pChosenItem
>    put the dgDataOfIndex [the dgIndex of me] into theDataA
>    put pChosenItem into theDataA [the dgColumn of me]
>    set the dgDataOfIndex [the dgIndex of me] to theDataA
> end menuPick

Hello Trevor

the script doesn't run ....
there is a problem with ... but I don't know which
Can you help me ?


yvescoppe at

More information about the use-livecode mailing list