fmow Posted December 11, 2013 Posted December 11, 2013 Is anyone else naming their layout elements, such as back and forward buttons, buttons to navigate records, search fields etc. If someone’s practise this, can they say what advantages it has and where they find it useful ultimately?
Charity Posted December 11, 2013 Posted December 11, 2013 Naming in what way? Object name? Buttons don't need to be named because they are activated by the person clicking them. Object naming is handy when you want a script to go to an object. If you mean something else then I am sorry I did not understand. HTH 1
fmow Posted December 11, 2013 Author Posted December 11, 2013 Yeap, object naming. I might have been overdoing it for no reason with them, that's why I asked the forum. And many thanks for your reply, I am starting to understand that aside from scripts there's little purpose to naming objects.
Fitch Posted December 11, 2013 Posted December 11, 2013 "aside from scripts there's little purpose to naming objects" There is no other purpose. But it's a very useful one! However, naming buttons is not all that useful, since unfortunately a button cannot pass its own object name as a parameter. What's most useful is naming: tab controls, web viewers, portals, and fields.
LaRetta Posted December 11, 2013 Posted December 11, 2013 What Tom says. And GetLayoutObjectAttribute() can be used to glean information from the object. :-) 1
Wim Decorte Posted December 11, 2013 Posted December 11, 2013 I am starting to understand that aside from scripts there's little purpose to naming objects. And don't forget the new FM13 "Refresh Object[name]" script step, which comes in very handy with the new invisibility...
fmow Posted December 11, 2013 Author Posted December 11, 2013 yes that's a nice hack you can do with this, I was reading about it in one of the blogs.
Recommended Posts
This topic is 3998 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now