On Jun 9, 2006, at 11:46 PM, Wade Little wrote:
I am trying to do something during runtime....can someone help
explain how I do this.
So I have a simple application running and when I push a pushbutton
I would like to create a editfield via the code in the push
button. Is this possible? If so how do I do this??
It is possible, sort of. What you must do is to drop an EditField on
the window and set its Visible property to false. Then have the
pushbutton show the EditField. If you need to do this more than
once, make the EditField into a control array. You can create
instances of a control array at runtime.
An alternative would be to embed an EditField into a
ContainerControl. This you can create at runtime. But
ContainerControls have a fair number of problems, so expect some
workaround effort.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>