Pier Posted March 2, 2020 Posted March 2, 2020 I have following standard form: ------------------------- unit Unit4; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm; type TUniForm4 = class(TUniForm) private { Private declarations } public { Public declarations } end; function UniForm4: TUniForm4; implementation {$R *.dfm} uses MainModule, uniGUIApplication; function UniForm4: TUniForm4; begin Result := TUniForm4(UniMainModule.GetFormInstance(TUniForm4)); end; end. --------------------------------------- is it possible to display the form, instead of using Form4.Show , by calling a function which takes only "Form4" (or "TUniForm4") as argument? All my attempts have failed so far and any help is most welcome. Thanks. 1 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.