---------------------------------------------------------------------------
| 87 | } |
| 88 | //--------------------------------------------------------------------------- |
| 89 | void __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 | //--------------------------------------------------------------------------- |
| 104 | void __fastcall TSetupForm::OKButtonClick(TObject *Sender) |
| 105 | { |
nothing calls this directly
no outgoing calls
no test coverage detected