ANN: PowerTools
dunbarx at aol.com
dunbarx at aol.com
Mon Jun 27 18:54:59 EDT 2011
Bob, doesn't the templateButton, templateField, etc., do this for you?
Or do you want to have multiple custom templates? If so, it seems that you could use a custom property, with all the object properties important to you loaded there, and every time you create a new object, just set all those props and their values to that list.
Craig Newman
-----Original Message-----
From: Bob Sneidar <bobs at twft.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Mon, Jun 27, 2011 2:59 pm
Subject: Re: ANN: PowerTools
Oooh... it would be cool if I could set some default properties for other
objects like a field or a button, and every time I create that object, the saved
properties will be applied. Kind of like Style Sheets only applied to objects! I
would pay GOOD MONEY for that!
Something like right-click a tool for the first time, and the properties palette
shows up only with no properties set yet, so that you could change only a couple
things like font and size, and all other properties would be derived from the
standard template when you created a new object. Ultimately perhaps even save
multiple settings.
This would dramatically help form generation. I suspect your first release does
not do this, but perhaps in the future?
I created a "field dropper" stack which polled an SQL database and allowed me to
pick a column and "drop" it onto a card, but all the field properties were hard
coded, so that I would maintain a constant look and feel for my forms. Your
tools palette seems to be a better methodology. I will have to look into it.
Bob
On Jun 24, 2011, at 9:13 PM, Mark Wieder wrote:
> Why bother? The tools palette has grown long in the tooth. The only
> change to it over the last ten years has been the addition of the
> datagrid. I always wanted to add my own controls to the tools palette
> but never could (I think Ken Ray has done something along this line as
> well <g>). And the graphics tools needed an update. For instance, each
> graphic and paint tool now remembers its settings - you can have
> different colors or patterns or gradients settings for each tool.
_______________________________________________
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