Ignore:
Timestamp:
Sep 11, 2008, 7:23:35 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Adding skin support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.dpr

    r453 r489  
    338338    Application.HelpFile := 'cprs.hlp';
    339339    Application.CreateForm(TdmodShared, dmodShared);
    340   Application.CreateForm(TfrmFrame, frmFrame);
    341   Application.CreateForm(TfrmSearchStop, frmSearchStop);
    342   Application.CreateForm(TfrmImages, frmImages);
    343   Application.CreateForm(TUploadForm, UploadForm);
    344   Application.CreateForm(TUploadProgressForm, UploadProgressForm);
    345   Application.CreateForm(TfrmODAllergy, frmODAllergy);
    346   Application.CreateForm(TfrmDeviceSelect, frmDeviceSelect);
    347   Application.CreateForm(TfrmPtAdd, frmPtAdd);
    348   Application.CreateForm(TfrmPtDemoEdit, frmPtDemoEdit);
    349   //kt Application.CreateForm(TfrmWebTab, frmWebTab);
    350   frmSplash.Free;                               // close & free splash screen
     340    Application.CreateForm(TfrmFrame, frmFrame);
     341    Application.CreateForm(TfrmSearchStop, frmSearchStop);
     342    Application.CreateForm(TfrmImages, frmImages);
     343    Application.CreateForm(TUploadForm, UploadForm);
     344    Application.CreateForm(TUploadProgressForm, UploadProgressForm);
     345    Application.CreateForm(TfrmODAllergy, frmODAllergy);
     346    Application.CreateForm(TfrmDeviceSelect, frmDeviceSelect);
     347    Application.CreateForm(TfrmPtAdd, frmPtAdd);
     348    Application.CreateForm(TfrmPtDemoEdit, frmPtDemoEdit);
     349    //kt Application.CreateForm(TfrmWebTab, frmWebTab);
     350    frmSplash.Free;                               // close & free splash screen
    351351    Application.Run;
    352352  end;
     353  {$IFDEF USE_SKINS}
     354  if SkinManager <> nil then SkinManager.Active := false;  //turn off before destroying forms...
     355  {$ENDIF}
    353356end.
Note: See TracChangeset for help on using the changeset viewer.