Ignore:
Timestamp:
Jan 12, 2010, 3:30:13 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Added button to turn Colored Tabs off

Location:
cprs/branches/tmg-cprs/CPRS-Chart/Options
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsOther.dfm

    r541 r667  
    11object frmOptionsOther: TfrmOptionsOther
    2   Left = 298
    3   Top = 189
     2  Left = 517
     3  Top = 143
    44  Hint = 'Use system default settings'
    55  HelpContext = 9110
     
    380380  object cbEnableTabColors: TCheckBox
    381381    Left = 9
    382     Top = 110
     382    Top = 102
    383383    Width = 169
    384384    Height = 17
    385385    Caption = 'Enable Custom Tab Colors'
    386386    Checked = True
    387     Enabled = False
    388387    State = cbChecked
    389388    TabOrder = 26
    390     Visible = False
    391389    OnClick = cbEnableTabColorsClick
    392390  end
  • cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsOther.pas

    r541 r667  
    199199procedure TfrmOptionsOther.FormCreate(Sender: TObject);
    200200begin
     201  cbEnableTabColors.checked := uTabColorsEnabled;
    201202  FStartDT  := 0;
    202203  FStopDT   := 0;
     
    351352//kt added
    352353begin
    353   uTabColorsEnabled := cbEnableTabColors.Checked;
    354   cboTabColors.Enabled    := uTabColorsEnabled;
    355   lblEditTabColor.Enabled := uTabColorsEnabled;
    356   lblTabColors.Enabled    := uTabColorsEnabled;
    357   pnlShowColor.Enabled    := uTabColorsEnabled;
     354  uTabColorsEnabled := cbEnableTabColors.Checked;          //elh 01/12/10
     355  frmFrame.tabPage.OwnerDraw := cbEnableTabColors.Checked; //elh 01/12/10
     356  //cboTabColors.Enabled    := uTabColorsEnabled;
     357  //lblEditTabColor.Enabled := uTabColorsEnabled;
     358  //lblTabColors.Enabled    := uTabColorsEnabled;
     359  //pnlShowColor.Enabled    := uTabColorsEnabled;
    358360end;
    359361
Note: See TracChangeset for help on using the changeset viewer.