MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / MouseUp

Method MouseUp

sourcecommon/gridcolumns.cpp:40–54  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38}
39//---------------------------------------------------------------------------
40void __fastcall TStringGridLivingColumns::MouseUp(TObject *Sender, TMouseButton Button,
41 TShiftState Shift, int X, int Y)
42{
43 if( Button == mbLeft )
44 {
45 // ������� ����� ������� �� ���������
46 for(int i=0, c=SG->ColCount; i<c; i++)
47 if( SG->ColWidths[i] < MinColumnWidth )
48 SG->ColWidths[i] = MinColumnWidth;
49
50 SaveColumnKoeff();
51 }
52 if( oldOnMouseUp )
53 oldOnMouseUp(Sender, Button, Shift, X, Y);
54}
55//---------------------------------------------------------------------------
56int __fastcall TStringGridLivingColumns::GetAllColumnsWidth(void)
57{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected