In this case I am making a Palette that pops up when groups are selected. I need to rule out groups that are inappropriate for the palette. The data grid is one such group. Since this code may make it into the wild someday I can't rely on other people naming conventions to make this work.
While I applaud naming conventions for making things easier to read and understand, I don't use them for logic. I think it introduces unnecessary fragility, even if it is just for your own code. Todd On Thu, Dec 22, 2011 at 9:13 AM, Bob Sneidar <[email protected]> wrote: > I name all my datagrids starting with "dg", as I name fields with "fld", > labels with "lbl" buttons with "btn" etc. It's been discussed before, but a > consistent naming convention comes in real handy at times, and makes > sorting by kind in a list of objects possible. > > Bob > > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
