hi,
thank you,
i use vfp8 now,
i put under form-->activate read events
and at my command for exit i put clear events it is ok works,
but still i see form "PROPERTIES"
thanks.
m.qasem
>>hi all,
>>i try to hide the command window,via this code under , but when i run my form
>>i see it all the time,
>>
>>IF WEXIST("PROPERTIES")
>> HIDE WINDOW "PROPERTIES"
>>ENDIF
>>IF WEXIST("COMMAND")
>> HIDE WINDOW "COMMAND"
>>ENDIF
>>
>>thanks.
>
>If the Command Window appears when you run your program, this is a sign that you have not used something you need: a READ EVENTS command. You would usually put this into your main program, after showing the main menu and doing other preparations.
>
>Without the READ EVENTS, if you create an executable, it will open briefly, and close immediately, without waiting for user input.
>
>READ EVENTS tells VFP to wait for user input. Use CLEAR EVENTS in the menu command that is supposed to exit your program.