asapltda Posted February 21, 2015 Share Posted February 21, 2015 I would like to create or display a mobile form using the name of the form. Link to comment Share on other sites More sharing options...
Bresler Posted March 3, 2015 Share Posted March 3, 2015 English: Hi Carlos, here is the code for creating a TUnimForm at runtime by the class name. I hope be useful to you. Spanish: Hola Carlos, acá te mando el código para crear una TUnimForm en tiempo de ejecución por el nombre de la clase. Espero te sea de utilidad. MobileForm.zip Link to comment Share on other sites More sharing options...
asapltda Posted March 3, 2015 Author Share Posted March 3, 2015 Hola Bresler Muchas gracias por el ejemplo hello Thank you very much for the example Link to comment Share on other sites More sharing options...
herculanojs Posted October 28, 2016 Share Posted October 28, 2016 Thank you very much for the example Link to comment Share on other sites More sharing options...
jahlxx Posted October 28, 2016 Share Posted October 28, 2016 thanks. something similar but with tuniframe? Link to comment Share on other sites More sharing options...
herculanojs Posted October 28, 2016 Share Posted October 28, 2016 procedure TMainmForm.ShowFrame(AClass: string); var FFrame : TUniFrame; FrC : TUniFrameClass; begin FrC := TUniFrameClass(FindClass(AClass)); if frc <> nil then begin FFrame := TUniFrameClass(FindClass(AClass)).Create(Self); if FFrame <> nil then begin FFrame.Align := alClient; FFrame.Parent := ContainerPanel; end; end; end; Link to comment Share on other sites More sharing options...
jahlxx Posted October 28, 2016 Share Posted October 28, 2016 is not the same. only can create one instance of the frame Enviado desde mi SM-T585 mediante Tapatalk Link to comment Share on other sites More sharing options...
herculanojs Posted October 28, 2016 Share Posted October 28, 2016 Be more specific, you just wondered how you could do the same situation with frames. If you are wanting to create the same frame several times, create each one (instance) with a unique name. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now