MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / ShowCol

Method ShowCol

src/widgets.cpp:4003–4013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4001}
4002
4003void AFDataArrayTableCtrl::ShowCol(const int& col, bool show)
4004{
4005 if (col > -1 && col < m_grid->GetNumberCols())
4006 {
4007 if (show)
4008 m_grid->ShowCol(col);
4009 else
4010 m_grid->HideCol(col);
4011 this->Layout();
4012 }
4013}
4014
4015void AFDataArrayTableCtrl::SetColReadOnly(const int& col, bool readonly)
4016{

Callers 4

CreateNativeMethod · 0.80
OnPropertyChangedMethod · 0.80
CreateNativeMethod · 0.80
OnPropertyChangedMethod · 0.80

Calls 1

GetNumberColsMethod · 0.45

Tested by

no test coverage detected