haveItems

checks whether an item has children

void haveItems(string id);

Parameters

idstringthe ID of a control

Example

if (toolbar.data.haveChilds("menu1"))
    //do something;

Back to top