IS there a dictionary of the datagrid properties?

zryip theSlug zryip.theslug at gmail.com
Mon May 30 15:27:57 EDT 2016


Hi Tiemo,

dgDataControl is the property you are probably looking for.

Try this code in the datagrid group script:

on mouseMove
   put the dgDataControl of the target into tTheDataControl
   if (tTheDataControl is empty) then
      put empty
   else
     put "Column:" && the dgColumn of tTheDataControl && "Line:" &&
the dgLine of tTheDataControl
   end if
end mouseMove


Best Regards,

On Mon, May 30, 2016 at 5:59 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> Actually, here is more what you are looking for I think.
> http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api
>
> On Mon, May 30, 2016 at 9:56 AM, Mike Bonner <bonnmike at gmail.com> wrote:
>
>> Have you looked here:
>> http://lessons.livecode.com/m/datagrid/l/7343-data-grid-properties ?
>>
>> On Mon, May 30, 2016 at 9:49 AM, Tiemo Hollmann TB <toolbook at kestner.de>
>> wrote:
>>
>>> Hello,
>>>
>>> how do I get the info, which column or row I am hovering with the mouse?
>>>
>>> I have read the datagrid lessons on livecode.com, but they guide you
>>> mainly
>>> thru the property inspector of datagrids
>>>
>>> Where do I find, the property and array names of the datagrid structure to
>>> retrieve the wanted information by script? Yes I know the property names
>>> are
>>> shown as a tooltip in the property inspector, but how do I access e.g. the
>>> columndata, while hovering the columns?
>>>
>>> Thanks
>>>
>>> Tiemo
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
Zryip TheSlug
http://www.aslugontheroad.com




More information about the use-livecode mailing list