back to gui 

wxCheckListBoxItem

generated from ../src/mod_gui/control/chklstbxchk.cpp

wxCheckListBoxItem is a helper class used by wxJS to provide the use of an array to check or uncheck an item of a wxCheckListBox. The following sample shows a wxCheckListBox with the first item checked.


   dlg = new wxDialog(null, -1, "Test", new wxPoint(0, 0), new wxSize(200, 200));
   items = new Array();
   items[0] = "item 1";
   items[1] = "item 2";
   items[2] = "item 3";
   choice = new wxCheckListBox(dlg, -1, wxDefaultPosition, new wxSize(150, 150), items);
   choice.checked[0] = true;
   dlg.showModal();
  

Constants



SourceForge.net Logo Support This Project

Table of Contents


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.