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