PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Kenny on October 06, 2013, 06:23:26 PM

Title: Auto prefix/suffix for controls, forms, etc.
Post by: David Kenny on October 06, 2013, 06:23:26 PM
Since we all have personal preferences for this convention. What if we could set our preference fore each control type and then only have to enter the unique part of the name on the properties page, and let FF add the prefix/suffix. This feature could be optional for those who wouldn't use it. And I personally would consider that this request be low priority.

Is there a reason that the underscore (_) character is not allowed in form & control names in FF?

David
Title: Re: Auto prefix/suffix for controls, forms, etc.
Post by: George Bleck on October 06, 2013, 08:29:09 PM
I'll give a nod on the auto-naming prefix as well (as long as it is user configurable of course).
Title: Re: Auto prefix/suffix for controls, forms, etc.
Post by: Pat Dooley on October 07, 2013, 06:46:50 PM
QuoteIs there a reason that the underscore (_) character is not allowed in form & control names in FF?

http://www.planetsquires.com/protect/forum/index.php?topic=2505.msg19232#msg19232 (http://www.planetsquires.com/protect/forum/index.php?topic=2505.msg19232#msg19232)

Title: Re: Auto prefix/suffix for controls, forms, etc.
Post by: David Kenny on October 08, 2013, 12:38:51 AM
Thanks Pat...  Boy do I feel dumb.  Did you notice I ask the same question at the start of that thread?
Title: Re: Auto prefix/suffix for controls, forms, etc.
Post by: Paul Squires on October 08, 2013, 08:10:42 AM
:)    All of our memories are not so good as we get older. I can't remember what I had for breakfast today.
Title: Re: Auto prefix/suffix for controls, forms, etc.
Post by: Roger Garstang on October 24, 2013, 12:39:01 PM
I like how Basic4android does it.  He calls it something different and never gets the concept when I post about it or call it that, but they are really nothing more than Prefixes.  You assign your control a "Prefix" then all you have to do is use it in events like prefix_click, etc.  I didn't get to test out the dot notation stuff, but I imagine all the issues here would go away once 100% dot notation.  It sounds like it will be split early on though with both ways available.

I'm fine with an auto-prefix/suffix too as long as we can edit them and if they are prefix or suffix.