"Best practice" for creating a custom control

Jérôme Rosat jrosat at mac.com
Sat Oct 30 14:49:26 EDT 2010


Hi Mark,

Thank you for the link and the example.

I note that you reach the data of the field through a setProp and a get Prop handler. 

Best regards,

Jerome

Le 30 oct. 2010 à 01:28, Mark Schonewille a écrit :

> Hi Jerome,
> 
> You might want to have a look at the scripts of the password field, available at http://qurl.tk/jo
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed.
> 
> On 30 okt 2010, at 01:14, Jérôme Rosat wrote:
> 
>> Hello everybody,
>> 
>> I'm looking for a kind of "best practice" for creating custom controls. For example, how to access the data of the custom control ? Do we have to use custom properties or a setProp or getProp handlers  or both ? Is it preferable to use a prefix for naming a command ? And for custom properties, do we have to use a set of properties ? With a "standard name" ? Etc.
>> 
>> Thank you for you help.
>> 
>> Jerome
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list