var FMissing : TFMissing; begin FMissing := TFMissing.Create( self ); { -- optional: here you can send some initial data to the form FMissing.Prepare( DataColumn ); } FMissing.ShowModal; { -- optional: here you have possibility read output from (closed) form Grid.Cells[ _iCol, _iRow ] := pDataColumn.pMissings.GetAsString; } FMissing.Free; end;
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Showing posts with label delphi - forms. Show all posts
Showing posts with label delphi - forms. Show all posts
Thursday, November 30, 2017
DELPHI - How show modal form
TFMissing is class with form.
Wednesday, November 29, 2017
DELPHI - How properly close non-modal window
Override event FormClose:
procedure TFGauge.FormClose( Sender: TObject; var Action: TCloseAction ); begin Action := caFree; self := nil; end;
Subscribe to:
Posts (Atom)