CanDelete
Based on the current selection, it determines whether it is possible to delete if entire rows or columns are selected.
BOOL CanDelete( )
TRUE if entire rows or columns are selected else FALSE.
EX1
//before running please highlight one column or one row void Grid_CanDelete_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks); if(gg && gg.CanDelete()) { gg.Delete(); } } }
Grid::Delete
origin.h