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

Method DrawGridClick

source/setup.cpp:351–367  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

349}
350//---------------------------------------------------------------------------
351void __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//---------------------------------------------------------------------------
369void __fastcall TSetupForm::DrawGridDrawCell(TObject *Sender, int ACol,
370 int ARow, TRect &Rect, TGridDrawState State)

Callers

nothing calls this directly

Calls 3

SetDefaultFileMethod · 0.80
GetMethod · 0.45
ToDialogMethod · 0.45

Tested by

no test coverage detected