Hidden properties

Started by fred_tomke · 2008-09-22 09:11 UTC · 6 replies · SMF topic #433

Hello,

there is a method (dcl_control_getproperties mycontrol).
In a list of strings the property's names will be returned.

I see that the hidden property's names like (VariableName) are returned as localized names.
How can I query the variablen name of a control object in a localized runtime?

(dcl_control_getproperty (car (dcl_form_getcontrols)) "(VariablenName)")

Regards
Fred
Would the problem be solved if the (dcl_Control_GetProperties) function returned the API (non-localized) name instead of the localized name?
Hello Owen,

in my opinion it would be the solution - but I don't know how the other LLPM think about...

Fred
I think it makes more sense to return the API names. The (dcl_Control_GetProperties) function is primarily for programmers, not end users, so I see no real benefit from returning the "friendly" names. I will change this for the next build.
I concur . . .  what ever that means.
Hi James,

since I believe that you use the English release, so this change shouldn't cause any consequences for your code.
;)

Fred
Yes - no problems here.

I was going to suggest a naming convention, "Blocks_TreeView", "OK_GraphicButton", but after seeing the extent of your work, that would be a daunting task to go back and rename EVERYTHING.

:o