Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWForm content inside IWRegion/IWBSRegion
#1
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 ?
Reply
#2
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;
Reply
#3
As you found out, you must use TIWFrames for that. A form can contain zero, one, or several TIWFrames.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)