Thanks for the reply Charles.....so I sounds like I should avoid
ContainerControl.....It is ok that I have to have EditField already
on the window....since I have it on the window with it set to
visible...now what I want to do is via code create two or more
editfields that become visible depending on what is happening in the
window. I have used control arrays before but not creating
instances of them during runtime. How do I do this? I assume I
somehow also have to set the position, size etc. also when creating a
new editfield via a control array.
Thanks for your help....
Wade
On Jun 10, 2006, at 7:20 AM, Charles Yeomans wrote:
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>
_______________________________________________
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>