IS there a dictionary of the datagrid properties?

Mike Bonner bonnmike at gmail.com
Tue May 31 10:08:56 EDT 2016


Look here:
http://lessons.livecode.com/m/datagrid/l/7343-data-grid-properties
and look for--
*dgColumnTooltip** [COLUMN]*

- Set the tooltip that appears when the mouse is over the column header.

On Tue, May 31, 2016 at 2:37 AM, Tiemo Hollmann TB <toolbook at kestner.de>
wrote:

> Hi zryip,
> thank you and Mike, that is a helpful start. Datagrids a pretty complex.
>
> With the dgDataControl you obviously can easily retrieve informations from
> cells containing data. I would like to show a tooltip hovering the columns
> header to show the user the full meaning of each column, because the column
> label is a abbreviation, not self explaining. I have searched the livecode
> lessons and the blue mango pdf, but didn't found yet an easy way to provide
> such a tooltip. Even if there isn't a standard tooltip property, I didn't
> find the right property to get the column name, when hovering the header.
>
> Thanks for any ideas
> Tiemo
>
>
> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag
> von zryip theSlug
> Gesendet: Montag, 30. Mai 2016 21:28
> An: How to use LiveCode <use-livecode at lists.runrev.com>
> Betreff: Re: IS there a dictionary of the datagrid properties?
>
> 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
>
> _______________________________________________
> 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
>



More information about the use-livecode mailing list