Problem filling a DataGrid table

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Problem filling a DataGrid table

Post by Dixie » Fri Nov 26, 2010 8:36 pm

exhusden..

Not in my version of the user guide.... page 137...5.3.6 Blocking System Messages

Dixie

Zryip TheSlug
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 163
Joined: Tue Jan 26, 2010 10:15 pm
Contact:

Re: Problem filling a DataGrid table

Post by Zryip TheSlug » Sat Nov 27, 2010 12:28 pm

exheusden wrote:Now for the difficult part: can you explain why this is necessary, please?
Hi Exheusden,

As pointed out already in this thread, you should have a look to this part of the datagrid documentation:

http://lessons.runrev.com/spaces/lesson ... Suffering-

And especially to the topic: "Do not lock messages when accessing data grid properties."


Regards,
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Problem filling a DataGrid table

Post by exheusden » Sat Nov 27, 2010 12:39 pm

I believe that this only applies in my case if the "i.e" (id est)in
If messages are locked when you try to access a data grid property (i.e. the dgProps["alternate row color"] of group "DataGrid")…
is changed to "e.g." (exempli gratia).

Though, to be honest, I had no idea that I was trying to access a data grid property.

Zryip TheSlug
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 163
Joined: Tue Jan 26, 2010 10:15 pm
Contact:

Re: Problem filling a DataGrid table

Post by Zryip TheSlug » Sat Nov 27, 2010 1:10 pm

exheusden wrote:I believe that this only applies in my case if the "i.e" (id est)in
If messages are locked when you try to access a data grid property (i.e. the dgProps["alternate row color"] of group "DataGrid")…
is changed to "e.g." (exempli gratia).

Though, to be honest, I had no idea that I was trying to access a data grid property.
Exheusden,

Consider all the "keywords" prefixed by dg as properties of a datagrid:
- dgDataOfLine
- dgText
- dgData

etc


Regards,
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel

Post Reply