On 4/16/2011 9:26 PM, Jared Wright wrote:
Can I add/edit elements to a dialog without reloading the whole thing?
Seems I'd need to have all the possible controls already in the XML
ready to go, just hidden and disabled somehow until they're needed.
This can be done, although it gets complicated. Essentially, as you
suggested, you add all the controls to your XML, and then hide them all.
Then you position, size, and enable them accordingly when you need to
(much like you would in other languages that provide UI capabilities).
In fact, I do this is an app that you've played with recently that's not
yet publicly available.
Aaron
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.