Popup window

How do I call a popup window after form create. If i call it using a button on the form it works fine but if the popup routine is put after form create it gives errors

Try form.OnShow

Thanks worked