Example new project
program Project1;
uses
Forms,
utMainFm in '..\..\..\..\ht\lib32\utMainFm.pas' {fmMainForm},
utTrayFM in '..\..\..\..\ht\lib32\utTrayFm.pas' {fmTrayForm},
utPanFrm in '..\..\..\..\ht\lib32\utPanFrm.pas' {utParentForm},
dmWebHub in '..\..\..\..\ht\htfrm\dmWebHub.pas' {dmWebHubCore: TDataModule},
whMain in '..\..\..\..\ht\htfrm\whMain.pas' {fmWebHubMainForm},
WhHTML in '..\..\..\..\ht\htfrm\whhtml.pas' {fmAppHTML},
Unit1 in 'Unit1.pas' {dmWebHubApp: TDataModule};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(TfmWebHubMainForm, fmWebHubMainForm);
Application.CreateForm(TfmAppHTML, fmAppHTML);
Application.CreateForm(TdmWebHubApp, dmWebHubApp);
fmWebHubMainForm.Init;
Application.Run;
end.
Screen shots shown during the presentation
- Standard dmWebHubApp data module
- Remove the app and session
- Find your component on the palette
- Put in just the app object
- Set the AppID and then Refresh the app
- What it looks like after refresh