Hi , i have declared a published method at my webform ,
Type
TfmMyform = class(TWebform);
published
procedure refresh_screen ;
end ;
and then i assigned this form to one of the variable i declared at my Datamodule ,
Type
TmyDM = class(TWebDataModule);
public
myform : TWebform;
procedure call_formMethod;
end ;
{...}
procedure TmyDM.call_formMethod;
var
//PAddr: PProcMethod ;
//Routine: TMethod;
//Execute: TExecute;
begin
// Routine.Data := Self.CurrentWebForm.MethodAddress('refresh_screen') ;
// Routine.Code := Instance.MethodAddress(Name);
//please advice is it possible to call the procedure declared in my form
end ;
Please advice , how can be make a call to our procedure by name in other
form/datamodule ?
Thanks.