| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Sun Feb 27, 2005 10:13 pm Post subject: I need a @dialogEXISTS() has anyone got solution? |
|
|
I need something like this:
@dialogEXISTS()
It sure would be handy..
Has anyone got solution or idea or DLL - etc..?
Thanks |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Feb 27, 2005 11:21 pm Post subject: |
|
|
What are you trying to accomplish? _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 28, 2005 12:28 am Post subject: |
|
|
hee hee
Hi Garrett
I goofed the POST title name here, it should have been '<control name> EXISTS
But, I guess I can keep doing it the way I allways did, with
| Code: |
EXAMPLE:
DIALOG ADD,LIST,custommaps,125,86,148,111,Root Folder,MULTI
%p = @DLGPOS(custommaps,T)
IF @equal(%p,125)
info yes, its not remmed out!
dialog clear,custommaps
END
|
Prevents the dialog clear from error while testing..
This stuff just lets me test my script by inclosing things when I have to rem out thier co-parts. |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Feb 28, 2005 7:28 pm Post subject: |
|
|
You could just use @winexists(~custommaps)
The little ~ character tells VDS that the following is a control on it's own
dialog and not some other window or dialog. If that element exists, then
it's windows id will be returned. If it doesn't exists, then the nothing will
be returned. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
|