Jump to content


Recommended Posts

I'm trying to dynamically create forms stored in a bpl. But to create them they are opening in vcl mode.

I'm calling the following function within the bpl to create the form.

function RegisterPkg(sAWidth,sAHeight: Integer; gUniMainModule : TuniGUIMainModule; 
gUniApplication : TUniGUIApplication):TGenericProgram;
      pkgProgram.FfrmMain := TUniForm( gUniMainModule.GetFormInstance(TfrmMyForm,true) );

      if pkgProgram.FfrmMain.WebMode then
      if pkgProgram.FfrmMain.VCLMode then



I wonder if I'm doing the right way or what would be the mode to create them in web mode and not in vcl.


Link to comment
Share on other sites

Join the conversation

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

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...