asapltda Posted February 21, 2015 Posted February 21, 2015 I would like to create or display a mobile form using the name of the form. Quote
Bresler Posted March 3, 2015 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 Quote
asapltda Posted March 3, 2015 Author Posted March 3, 2015 Hola Bresler Muchas gracias por el ejemplo hello Thank you very much for the example Quote
herculanojs Posted October 28, 2016 Posted October 28, 2016 Thank you very much for the example Quote
jahlxx Posted October 28, 2016 Posted October 28, 2016 thanks. something similar but with tuniframe? Quote
herculanojs Posted October 28, 2016 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; Quote
jahlxx Posted October 28, 2016 Posted October 28, 2016 is not the same. only can create one instance of the frame Enviado desde mi SM-T585 mediante Tapatalk Quote
herculanojs Posted October 28, 2016 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.