>Hi, all! Please answer which function can determinate does object (in my sample form) exists or not. Thank you. Andrew
1. To check if an ListBox object exists in a form:
If Type("Thisform.ListBox1") = "O"
Else
Endif
<pre>
2. To check if a form is existing:
<pre>
IF WEXIST("NAMEOFMYWINDOW")
ELSE
ENDIF
alternatively, you can also make use of Type("NAMEOFMYFORM") = "O".
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."