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 


Checkbox list?

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


Joined: 02 Jan 2001
Posts: 228
Location: Portugal

PostPosted: Sun Jul 13, 2003 2:55 pm    Post subject: Checkbox list? Reply with quote

I noticed that several programs use an element which is, basically, a list of checkboxes. Each list item has a little checkbox whose status changed when that item is cliked. I know of Garrett's method for doing this using images and vdslists.dll, however, I'd like to know if there is any way to implement the 'real' control (without any dll or checkboxes). Does anyone know? This is in VDS 4.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jul 13, 2003 4:40 pm    Post subject: Reply with quote

The only way to do this without using a DLL and everything would be to
use VDS 5, and place the control on the dialog using APIs, I wish it could
be done Garrett's way in VDS 5, unfortunately in VDS 5 you can't get the
current bitmap image.

In VDS 4 there is really no way to put the 'real' control on a dialog without
using a DLL.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Jul 13, 2003 4:47 pm    Post subject: Reply with quote

FF U mean handle to current bitmap image or something else API -> into memory? Confused
I think it should be possible.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jul 13, 2003 5:12 pm    Post subject: Reply with quote

No, Garrett's script checked to see what the current image was, so that he
could place set it as unchecked if it was checked or vice versa. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jul 13, 2003 5:30 pm    Post subject: Reply with quote

Something like this is made before:

http://forum.vdsworld.com/viewtopic.php?t=600&highlight=checkbox+list
http://forum.vdsworld.com/viewtopic.php?t=1041&highlight=checkbox+list

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Jul 14, 2003 4:22 am    Post subject: Reply with quote

FreezingFire wrote:
No, Garrett's script checked to see what the current image was, so that he
could place set it as unchecked if it was checked or vice versa. Smile


That should not be a problem; When U check an item in the list/menu set the flag on a variable or in a ini file (or a combination - faster for a longer list i think).Based on the flag U assume that a particular checked/unchecked image is set on the menu/list. And a timer will update the checks/images as per the flags.
Anyway this would still be possible WITHOUT "external" DLL's only on VDS 5. I VDS 4 U need gadget dll.

BTW I haven't seen Garrett's script - but that needs a dll - is that right?.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
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 Jul 14, 2003 6:42 am    Post subject: Reply with quote

The dll used in my example I think was the vdslists.dll

In VDS 5, I found another way. Have the last table column set to 0, and
use that column as either a on or off indicator for the check box images.

-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
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