if you are only going to get this container for this one form
personally for simplicity I would
add a pageframe to the form, set "tabs" property to .F., and in the refresh of the form evaluate the condition and show the desired page thisform.pageframe.activepage = nPageNumber
thats just so everything is pre-loaded i.e. the condition changes everything is loaded to the background just a matter of bringing everything to the front
now for generic speed a class is generally faster <-- notice the verbiage, could be taken different ways
bottom line it's a personal preference if your only going to call the container to one form
Hope this helps clear the air
>I want to have a portion of a form that changes depending on a condition whenever refreshed. Can I create different containers as classes and then call the one I want to display somehow during runtime? I'm trying to avoid having multiple containers that will occupy the same space on my form in development. Thanks!
>
>Regards, Renoir