extras/CheckListBox: Added 'IsFullyChecked()'
[sdk] / extras / gui / controls / CheckListBox.ec
index 5e8e035..ab4fed4 100644 (file)
@@ -354,6 +354,13 @@ public:
       return false;
    }
 
+   bool IsFullyChecked(DataRow row)
+   {
+      DataRow parent;
+      for(parent = row; parent; parent = parent.parent) if(rowChecks.Find(parent)) return true;
+      return false;
+   }
+
    virtual void Window::NotifyChecked(CheckListBox listBox, DataRow row);
 
    void SetDisabled(DataRow row, bool disabled)