---------------------------------------------------------------------------
| 349 | } |
| 350 | //--------------------------------------------------------------------------- |
| 351 | void __fastcall TSetupForm::DrawGridClick(TObject *Sender) |
| 352 | { |
| 353 | if( DrawGrid->Row < 1 ) |
| 354 | { |
| 355 | FileFr->Visible = false; |
| 356 | } |
| 357 | else |
| 358 | { |
| 359 | FileFr->Visible = true; |
| 360 | FileFr->SetDefaultFile(DrawGrid->Row == 1); |
| 361 | |
| 362 | int ARow = DrawGrid->Row - 1; |
| 363 | TStorageFile * p = localSFL->Get(ARow); |
| 364 | if( p ) |
| 365 | FileFr->ToDialog(p); |
| 366 | } |
| 367 | } |
| 368 | //--------------------------------------------------------------------------- |
| 369 | void __fastcall TSetupForm::DrawGridDrawCell(TObject *Sender, int ACol, |
| 370 | int ARow, TRect &Rect, TGridDrawState State) |
nothing calls this directly
no test coverage detected