Add IndyTask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//When to be visible the task | |
Procedure UpdTrnCus(indi: TADC_IndirectlyTask); | |
begin | |
indi.Visible:= (frm.CurrentView = fvDetail); | |
end; | |
//Procedure for execute | |
procedure ExecTrnCus(); | |
begin | |
showmessage('bla bla bla'); | |
end; | |
Begin | |
frm.AddIndiTask('Τιμολόγηση πελάτη', @ExecTrnCus, @UpdTrnCus, true); | |
End. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment