Jump to content

Movile --Create / Show form using the name of Form


Recommended Posts

Posted
Good sirs days

As I can create the form using the name of the form in application movile ?

 

In a desktop using the following form, as deb application be made for movile?
thank you for your help

 

 

 

procedure TFMENU.Ejecutar_programa_x_nombre(P_PGMCODE:String; var VALOR:Variant  );
var
  fc: TUniFormClass;
  f : TUniForm;
  W_ModalResult :Integer;
  FormName:String;
  W_S:string ;
begin
 
//pReport := TUniFormPreview.Create(UniApplication); CREAR UNA FORMA
  FormName:= 'TF' + P_PGMCODE;
 
  fc := TUniFormClass(FindClass(FormName));
  f := fc.Create(UniApplication );
  F.ShowModal(
  procedure(Result: Integer)
   begin
    G_VALOR:=DSPTABPARMS.O_fieldValue;
    UniEdit1.Text  :=DSPTABPARMS.O_fieldValue;
   end )
end;
 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...