Esempio n. 1
0
void GridFrame::OnColSize( wxGridSizeEvent& ev )
{
    logBuf = wxEmptyString;
    logBuf << _T("Resized col ") << ev.GetRowOrCol();
    wxLogMessage( wxT("%s"), logBuf.c_str() );

    ev.Skip();
}
Esempio n. 2
0
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");
}
Esempio n. 3
0
//----------------------------------------------------------------------------------------
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();
}
Esempio n. 4
0
void GridFrame::OnColSize( wxGridSizeEvent& ev )
{
    wxLogMessage(_T("Resized col %d"), ev.GetRowOrCol());

    ev.Skip();
}
Esempio n. 5
0
void ctlSQLGrid::OnGridColSize(wxGridSizeEvent &event)
{
	// Save key="index:label", value=size
	int col = event.GetRowOrCol();
	colSizes[GetColKeyValue(col)] = GetColSize(col);
}
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); }
}