I read the API-docs but didn't come to the solution you describe. Thanks, I will give this a try!
Best regards, Harald Müller. | Harald Müller (www.etcpp.de) | Theodor-Körner-Straße 4, 97072 Würzburg | Telefon + 49-[0]931-329090-42 > On Sat, Jan 15, 2011 at 9:49 PM, Harald Müller <har...@etcpp.de> wrote: > >> I try to show an card element at the loc of the selected line of a datagrid >> form. >> Is there a way to get the loc of datagrid element or will I have to put it >> inside >> the datagrid and toggle the visible when a line is hilted? >> > > Since you are using a form you can take a look at the dgDataControlOfLine > property. > > put the dgDataControlOfLine[ the dgHilitedLine of group "DataGrid" ] of > group "DataGrid" into theControl > if theControl is not empty then > put the loc of theControl into theLoc > .... > end if > > Take a look at the entry in the API docs: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode