void GridFrame::OnColSize( wxGridSizeEvent& ev ) { logBuf = wxEmptyString; logBuf << _T("Resized col ") << ev.GetRowOrCol(); wxLogMessage( wxT("%s"), logBuf.c_str() ); ev.Skip(); }
void TableFrame::OnColSizeEvent( wxGridSizeEvent& ev ) { LOG_MSG("Entering TableFrame::OnColSizeEvent"); LOG(ev.GetRowOrCol()); LOG(ev.GetPosition().x); LOG(ev.GetPosition().y); ev.Veto(); LOG_MSG("Exiting TableFrame::OnColSizeEvent"); }
//---------------------------------------------------------------------------------------- void DBGrid::OnColSize( wxGridSizeEvent& ev ) { logBuf = _T("DBGrid::OnColSize : "); logBuf << _T("Resized col ") << ev.GetRowOrCol(); // wxLogMessage( "%s", logBuf.c_str() ); logBuf += _T("\n"); wxLogMessage(logBuf.c_str()); ev.Skip(); }
void GridFrame::OnColSize( wxGridSizeEvent& ev ) { wxLogMessage(_T("Resized col %d"), ev.GetRowOrCol()); ev.Skip(); }
void ctlSQLGrid::OnGridColSize(wxGridSizeEvent &event) { // Save key="index:label", value=size int col = event.GetRowOrCol(); colSizes[GetColKeyValue(col)] = GetColSize(col); }
void TableFrame::OnColSizeEvent( wxGridSizeEvent& ev ) { ev.Veto(); }
void mxDesktopTestGrid::OnColResize(wxGridSizeEvent &evt) { if (!created) return; int col=evt.GetRowOrCol(); if (old_size && col>=PRECOLS) { evt.Skip(); cols_sizes[col-PRECOLS]=GetColSize(col); } }