Hi everyone,
I am working on automatic generation of user interface components from an XML file. I have an XML Model with XMLRoles and javascript functions that read the model and create objects via createObject(parent, {propertyName: propertyValue,…})”.
My UI components are generated, but I dont know how to access them. For example to destroy a specific button that was generated, or to change the buttons text/position. The components that I generate from XML file have id & caption as attributes that I use on creation of the button.
I would like to say: find generated button with id=“btn3” (id read from XML), and destroy this button.
My buttons are generated but what do I do next with them? I have to connect them later on with C++ code on the background. How do I connect them, if I dont know how to access these generated buttons?
What can I do??? Anyone any ideas?
Thank you all!
↧