New topic: 

changing a checkbox state in a listbox

<http://forums.realsoftware.com/viewtopic.php?t=32212>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       azrael2000           Post subject: changing a checkbox state in a 
listboxPosted: Wed Jan 27, 2010 11:56 am                               
Joined: Fri Oct 13, 2006 3:18 pm
Posts: 265              Hi All.

Quick question.

I have a checkbox column in a listbox I have created.

I want the box to be checked when the user checks another checkbox (don't ask 
<smile>)

Anyway, this is the code I have... but it doesn't change the state of the 
listbox's checkbox.  Can anyone see what I am doing wrong?

  Code:if winAssign.chkfree.Value = false then //haven't checked free, but done 
an add?
  winAssign.chkfree.Value = true //check it
  //change the cell value here in the listbox
  winMain.lst142.CellState(thelistindex,6) = CheckBox.CheckedStates.Checked
  return
else
  //
end if


Regards   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to