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 


[resolved] Check / Uncheck checkboxes on tables

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Thu May 06, 2004 4:50 pm    Post subject: [resolved] Check / Uncheck checkboxes on tables Reply with quote

Hi,

does somebody know how to check and uncheck checkboxes on tables (made with table control dsu) through vds code ?

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu May 06, 2004 11:11 pm    Post subject: Reply with quote

codescript made that possible using api calls...have a look at his file which you can download from http://www.vdsworld.com/search.php?keywords=table&match_type=0&sid=ff452ce8e521660eeaaa3f999a368692

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Fri May 07, 2004 6:02 am    Post subject: Reply with quote

This is what I used to make the checkbox style. But I cannot find anything on checking and unchecking the checkboxes. I know how to get the state of an entry, but not how ti check it through code.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri May 07, 2004 10:05 am    Post subject: Reply with quote

sorry...can't help you with that Sad

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri May 07, 2004 11:54 am    Post subject: Reply with quote

Hi Fabian
Sorry I couldn't reply you offline.
You need to use LVM_SETITEMSTATE message for this.... but I don't think this message can work from VDS as the type of struct LVITEM requires creates problems. If you need it very much it can be easily done in a dll may be I can quickly add it VDSGUI as it may take only a line or two of code. Let me know

Also I am shortly releasing a newer version of VDSGUI with Notify Tooltips feature added!

_________________
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
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Sat May 08, 2004 7:34 am    Post subject: Reply with quote

Hi Codescript,

thanks for your answer. This would be very nice Laughing

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sat May 08, 2004 7:46 pm    Post subject: Reply with quote

Hi Fabian
I have uploaded a new version of VDSGUI (dowload link in my sig).

GUI TABLECHECK,<Table Handle>,<item to Check>,<0 or 1>) is what you want.

Example:
Code:
GUI TABLECHECK,@WINEXISTS(~TABLE1),0,1

will check 0 th that is first item in the Table.

_________________
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
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Mon May 10, 2004 6:55 am    Post subject: Reply with quote

Hi,

thank you very much. Works really great Wink

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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