Auto prefix/suffix for controls, forms, etc.

Started by David Kenny, October 06, 2013, 06:23:26 PM

Previous topic - Next topic

David Kenny

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

George Bleck

I'll give a nod on the auto-naming prefix as well (as long as it is user configurable of course).

Pat Dooley

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


David Kenny

Thanks Pat...  Boy do I feel dumb.  Did you notice I ask the same question at the start of that thread?

Paul Squires

:)    All of our memories are not so good as we get older. I can't remember what I had for breakfast today.
Paul Squires
PlanetSquires Software

Roger Garstang

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.