Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi4PHP NNTP Newsgroups > embarcadero.public.delphiphp.deployment
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

embarcadero.public.delphiphp.deployment This group is for discussing deployment of applications with Delphi for PHP.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10th June 2007, 00:17
mmn
Guest
 
Posts: n/a
Default How get checked value of item in the CheckListBox


In CheckListBox, how can I get the checked value of some item in the CheckListBox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 5th November 2007, 00:48
D4PHP Newbie
 
Join Date: Oct 2007
Posts: 7
Bionix is on a distinguished road
Default

It's a binary string array. Use something like:

TO CHECK OR UNCHECK ITEMS:
CheckListBox->checked = "010101"; or so.
This will check the items # 2,4,6 and uncheck items #1,3,5

TO GET THE CHECKED OR UNCHECKED ITEMS:
If ($this->CheckListBox1->Checked[0]== 1) //If the 1st item is checked....
If ($this->CheckListBox1->Checked[3]!= 1) //if the 4th is not checked ...

best of luck :)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 1st June 2009, 19:56
just Joined!
 
Join Date: May 2009
Posts: 2
alejandromartini is on a distinguished road
Default

Quote:
Originally Posted by Bionix View Post
It's a binary string array. Use something like:

TO CHECK OR UNCHECK ITEMS:
CheckListBox->checked = "010101"; or so.
This will check the items # 2,4,6 and uncheck items #1,3,5

TO GET THE CHECKED OR UNCHECKED ITEMS:
If ($this->CheckListBox1->Checked[0]== 1) //If the 1st item is checked....
If ($this->CheckListBox1->Checked[3]!= 1) //if the 4th is not checked ...

best of luck :)
sorry, this is not longer True. Somebdy knows how it's works? help please.
__________________
Alejandro Martini
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 1st June 2009, 22:46
D4PHP User
 
Join Date: May 2007
Posts: 33
cc_023 is on a distinguished road
Default

There is an example in this tutorial:
Newbies tutorial: How to do things in Javascript an how to do it in PHP with D4PHP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:16.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use