| View previous topic :: View next topic |
| Author |
Message |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Thu May 06, 2004 4:50 pm Post subject: [resolved] Check / Uncheck checkboxes on tables |
|
|
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 |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Fri May 07, 2004 6:02 am Post subject: |
|
|
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 |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri May 07, 2004 10:05 am Post subject: |
|
|
sorry...can't help you with that
serge _________________
|
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri May 07, 2004 11:54 am Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Sat May 08, 2004 7:34 am Post subject: |
|
|
Hi Codescript,
thanks for your answer. This would be very nice
Bye, Fabian |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Sat May 08, 2004 7:46 pm Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Mon May 10, 2004 6:55 am Post subject: |
|
|
Hi,
thank you very much. Works really great
Bye, Fabian |
|
| Back to top |
|
 |
|