forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I need a @dialogEXISTS() has anyone got solution?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Sun Feb 27, 2005 10:13 pm    Post subject: I need a @dialogEXISTS() has anyone got solution? Reply with quote

I need something like this:
@dialogEXISTS()

It sure would be handy..
Has anyone got solution or idea or DLL - etc..?
Thanks
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Feb 27, 2005 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 28, 2005 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Feb 28, 2005 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group