Home Tour! Products Download Purchase Support Company Contacts  

Question

I am having some problems with a dialog box, every indication is that the dialog box is created because Odcl_Form_IsActive returns true, but it does not appear on screen. I did a SaveAs and changed the project name and the box started working. Then it quit appearing again.

Answer

What is happening is that the form is remembering it's last position and somehow the last position is being set off the screen. To force the dialog box back into the screen you can call Odcl_Form_Center from the OnIntiliaze event. This will force the dialog box to appear in the center of the screen.

Home Products Download Purchase Support Company Contacts