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 


Check if object is hidden?

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


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Sun Mar 09, 2003 9:46 pm    Post subject: Check if object is hidden? Reply with quote

How can I check if a COMBO object is hidden or visible?

If I use HIDE to hide an object that is already hidden or SHOW for an object that is already shown will that cause an error?

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Mar 09, 2003 9:55 pm    Post subject: Reply with quote

I don't think additional HIDE and SHOW commands will
cause errors, but trying to access a hidden list, etc. can.

You can keep up with what's shown/hidden (if necessary)
by setting a var each time you HIDE/SHOW something (or
for several elements you can use a list).

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Sun Mar 09, 2003 10:19 pm    Post subject: Reply with quote

OK, thanks Mac.

I am actually using lists too.
So I guess the safest thing to do is to show the COMBO object before it is populated with the contents from the list?

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Mar 09, 2003 10:39 pm    Post subject: Reply with quote

I'd think so. Wink
_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


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

PostPosted: Sun Mar 09, 2003 11:05 pm    Post subject: Reply with quote

You can populate, edit and do just about anything you want with
hidden combo boxes and lists boxes without worry. No need to
have them showing on the form at all.

-Garrett

_________________
'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
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Mar 09, 2003 11:16 pm    Post subject: Reply with quote

OOPS... sure 'nuff ya can. Embarassed

I musta been thinkin' about DIALOG REMOVE
or somethin' - LOL, or not thinkin' at all... Laughing

Ya can't use DIALOG FOCUS on a hidden control
though... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Mar 10, 2003 12:38 am    Post subject: Reply with quote

OK, thanks guys.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Garrett
Moderator Team


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

PostPosted: Mon Mar 10, 2003 1:05 am    Post subject: Reply with quote

Mac wrote:
Ya can't use DIALOG FOCUS on a hidden control
though... Wink

Cheers, Mac Smile


Tell me about it!! Who here hasn't gotten freaked out with an exception
error on that one!! LOL!! Laughing

I remember the first time I tried to focus on a hidden button and got that
exception error. I damn near had a heart attack. Shocked

-Garrett

_________________
'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
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Mar 10, 2003 1:16 am    Post subject: Reply with quote

He he he I've already been there Garrett Laughing
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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