DataGrid: some questions

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Sun Sep 4 18:54:33 EDT 2011


Hi Zryip,

thank you very much.


> As a DGH user, you can follow the lesson I've just uploaded:
> http://lessons.runrev.com/s/lessons/m/4068/l/28533-How-Do-I-Create-a-Menu-Button-in-a-Column-
> 

I followed your instructions in that lesson and it works. But there is a little but....

I entered 2 values for that option menu for example  "Meier"  and "Schulze".
If i now add a line to the DataGrid, the option menu already shows "Meier". But it is not shown in messagebox  when putting  the dgText of that datagrid to messagebox.
I first have to go to that button and have to reselect "Meier". After that i get the value "Meier" shown in message box when putting dgtext to messagebox. So it seems the default value of that option menu is not set/recognized. 

Any ideas how i can solve that without adding a "please select" into the first line of the menu values?.

Regards,

Matthias






More information about the use-livecode mailing list