IWForm content inside IWRegion/IWBSRegion

<< Click to Display Table of Contents >>

Navigation:  Forum >

IWForm content inside IWRegion/IWBSRegion

Forum link

 


 

04-12-2021, 05:11 PM:

 

Is it possible to render content of secondary unit inside IWBSRegion/IWRegion of main/primary form - like TFrom inside TPanel in desktop app

 

Could anyone can help ?

 


 

04-13-2021, 08:42 AM:

 

nvm I found solution - I had to use TIWFrame as a source of secondary content:

 

https://github.com/kattunga/IWBootstrapF...ajax-calls

 

Code:

 

uses IWBSUtils

 

  region := TIWFrame1.Create(self);

 

  region.Name := IWBSGetUniqueComponentName(Self,'frame');

 

  region.Parent := IWBSRegion1;

 

 

 


 

04-15-2021, 10:03 AM:

 

As you found out, you must use TIWFrames for that. A form can contain zero, one, or several TIWFrames.