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

Method FillRuleList

source/setup.cpp:89–102  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

87}
88//---------------------------------------------------------------------------
89void __fastcall TSetupForm::FillRuleList(int SelectedIndex)
90{
91 DrawGrid->RowCount = 1 + localSFL->Count;
92 if( DrawGrid->RowCount > 1 )
93 {
94 DrawGrid->FixedRows = 1;
95 if( DrawGrid->RowCount > SelectedIndex + 1 )
96 DrawGrid->Row = SelectedIndex + 1;
97 else if( DrawGrid->RowCount >= 2 )
98 DrawGrid->Row = 1;
99 }
100 DrawGrid->OnClick(this);
101 DrawGrid->Invalidate();
102}
103//---------------------------------------------------------------------------
104void __fastcall TSetupForm::OKButtonClick(TObject *Sender)
105{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected