Newbie Data Grid question

Trevor DeVore lists at mangomultimedia.com
Mon Dec 14 12:14:37 EST 2009


On Dec 14, 2009, at 12:03 PM, Andre.Bisseret wrote:

>> The syntax isn't correct in this example. It should be:
>>
>> set the dgText[true] of group "Dgrid" to tData
>
>> I just tested to verify that using the correct syntax does work -  
>> and it does :-)
>>
> I just tried this syntax but without success!
> Here,
> -------
> set the pFirstLineContainsHeaders of grp "Dgrid" to true

pFirstLineContainsHeaders isn't a property in and of itself. It is a  
parameter you pass in when setting the dgText property. Try this:

put true into pFirstLineContainsHeaders
set the dgText[pFirstLineContainsHeaders] of group "Dgrid" to tData

> Thanks Trevor for your always helping advices; I keep appreciating  
> Data Grid a lot; in a couple of app. I have several ones which are  
> running very nicely  :-))

I'm glad you find it useful.

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list