Control

le888

Registered User.
Local time
Yesterday, 23:36
Joined
Dec 10, 2003
Messages
344
Hi,

My problem is where I can put a condition statement which a popup form will appeare when the condition is true but before that I want the form open and it check the condition statement. Any ideas?

Le
 
How about in your Form_Open or Form_Load events.
 
Calvin said:
How about in your Form_Open or Form_Load events.

Thanks,
Yet I have try that, the popup form open up before the Main form open.

Le
 
use a timer on your main form to open the popup 1 second after it loads.
 
Calvin said:
use a timer on your main form to open the popup 1 second after it loads.

How can I programme this? Open the main form and then check the if statement.

Le
 
forms have "On Timer" or Form_Timer events (same thing), open up form properties, and set the "On Timer" event to "[Event Procedure]" and set the "Timer Interval" property to 1000 (milliseconds = 1 second) and then in code under the Form_Timer event add the code to check the IF statment and open the popup form. You may need to add a public boolean variable to disable or exit the timer event after it has been run once otherwise it will execute ever second. You can also change the Timer Inteval to 0 to disable the event.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom