Ignore:
Timestamp:
Jan 7, 2010, 10:11:41 AM (15 years ago)
Author:
Kevin Toppenberg
Message:

Fixed Exception Error That Occurred When Starting a Plain/Formatted Text by Default

Location:
cprs/branches/tmg-cprs/CPRS-Chart
Files:
3 edited

Legend:

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

    r655 r657  
    33File_1=SourceModule,'c:\program files\borland\delphi7\source\rtl\Sys\variants.pas',0,1,740,1,747,0,0
    44File_2=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',0,1,3123,1,3130,0,0
    5 File_3=SourceModule,'c:\program files\borland\delphi7\source\vcl\Controls.pas',0,1,5874,1,5887,0,0
    65
    76[Modules]
    8 Module0=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas
    9 Module1=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas
    10 Module2=c:\program files\borland\delphi7\source\vcl\Menus.pas
    11 Module3=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
    12 Module4=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas
    13 Module5=P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas
    14 Module6=P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas
    15 Module7=c:\program files\borland\delphi7\source\rtl\common\classes.pas
    16 Module8=P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas
    17 Module9=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas
    18 Module10=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas
    19 Module11=P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas
    20 Module12=P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr
    21 Count=13
     7Module0=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
     8Module1=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas
     9Module2=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas
     10Module3=c:\program files\borland\delphi7\source\vcl\Controls.pas
     11Module4=c:\program files\borland\delphi7\source\vcl\Menus.pas
     12Module5=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas
     13Module6=P:\vista\tmg-cprs\CPRS-Chart\fPtSel.pas
     14Module7=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas
     15Module8=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas
     16Module9=P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas
     17Module10=P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas
     18Module11=c:\program files\borland\delphi7\source\rtl\common\classes.pas
     19Module12=P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas
     20Module13=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas
     21Module14=P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas
     22Module15=P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr
     23Count=16
    2224EditWindowCount=1
    2325TypeLibWindowCount=1
    2426
     27[c:\program files\borland\delphi7\source\rtl\Sys\system.pas]
     28ModuleType=SourceModule
     29FormState=0
     30FormOnTop=0
     31
    2532[P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas]
    2633ModuleType=SourceModule
     34FormState=1
     35FormOnTop=0
     36
     37[P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas]
     38ModuleType=SourceModule
     39FormState=0
     40FormOnTop=0
     41
     42[c:\program files\borland\delphi7\source\vcl\Controls.pas]
     43ModuleType=SourceModule
     44FormState=0
     45FormOnTop=0
     46
     47[c:\program files\borland\delphi7\source\vcl\Menus.pas]
     48ModuleType=SourceModule
     49FormState=0
     50FormOnTop=0
     51
     52[C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas]
     53ModuleType=SourceModule
     54FormState=0
     55FormOnTop=0
     56
     57[P:\vista\tmg-cprs\CPRS-Chart\fPtSel.pas]
     58ModuleType=SourceModule
     59FormState=1
     60FormOnTop=1
     61
     62[P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas]
     63ModuleType=SourceModule
     64FormState=0
     65FormOnTop=0
     66
     67[c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas]
     68ModuleType=SourceModule
     69FormState=0
     70FormOnTop=0
     71
     72[P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas]
     73ModuleType=SourceModule
     74FormState=0
     75FormOnTop=0
     76
     77[P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas]
     78ModuleType=SourceModule
     79FormState=0
     80FormOnTop=0
     81
     82[c:\program files\borland\delphi7\source\rtl\common\classes.pas]
     83ModuleType=SourceModule
     84FormState=0
     85FormOnTop=0
     86
     87[P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas]
     88ModuleType=SourceModule
    2789FormState=0
    2890FormOnTop=0
     
    3395FormOnTop=0
    3496
    35 [c:\program files\borland\delphi7\source\vcl\Menus.pas]
    36 ModuleType=SourceModule
    37 FormState=0
    38 FormOnTop=0
    39 
    40 [c:\program files\borland\delphi7\source\rtl\Sys\system.pas]
    41 ModuleType=SourceModule
    42 FormState=0
    43 FormOnTop=0
    44 
    45 [P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas]
    46 ModuleType=SourceModule
    47 FormState=0
    48 FormOnTop=0
    49 
    50 [P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas]
    51 ModuleType=SourceModule
    52 FormState=0
    53 FormOnTop=0
    54 
    55 [P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas]
    56 ModuleType=SourceModule
    57 FormState=0
    58 FormOnTop=0
    59 
    60 [c:\program files\borland\delphi7\source\rtl\common\classes.pas]
    61 ModuleType=SourceModule
    62 FormState=0
    63 FormOnTop=0
    64 
    65 [P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas]
    66 ModuleType=SourceModule
    67 FormState=0
    68 FormOnTop=0
    69 
    70 [c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas]
    71 ModuleType=SourceModule
    72 FormState=0
    73 FormOnTop=0
    74 
    75 [C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas]
    76 ModuleType=SourceModule
    77 FormState=0
    78 FormOnTop=0
    79 
    8097[P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas]
    8198ModuleType=SourceModule
     
    88105FormOnTop=0
    89106
    90 [P:\vista\tmg-cprs\CPRS-Chart\ProjectGroup1.bpg]
     107[C:\Program Files\Borland\Delphi7\Projects\ProjectGroup1.bpg]
    91108FormState=0
    92109FormOnTop=0
     
    96113FormOnTop=0
    97114
     115[P:\vista\tmg-cprs\CPRS-Chart\fHSplit.pas]
     116FormState=0
     117FormOnTop=0
     118
     119[P:\vista\tmg-cprs\CPRS-Chart\fPage.pas]
     120FormState=0
     121FormOnTop=0
     122
    98123[P:\vista\tmg-cprs\CPRS-Chart\dShared.pas]
    99124FormState=0
    100125FormOnTop=0
    101126
    102 [P:\vista\tmg-cprs\CPRS-Chart\fHSplit.pas]
    103 FormState=0
    104 FormOnTop=0
    105 
    106 [P:\vista\tmg-cprs\CPRS-Chart\fPage.pas]
    107 FormState=0
    108 FormOnTop=0
    109 
    110127[EditWindow0]
    111 ViewCount=13
    112 CurrentView=4
     128ViewCount=16
     129CurrentView=12
    113130View0=0
    114131View1=1
     
    124141View11=11
    125142View12=12
     143View13=13
     144View14=14
     145View15=15
    126146CodeExplorer=CodeExplorer@EditWindow0
    127147MessageView=MessageView@EditWindow0
     
    129149Visible=1
    130150State=0
    131 Left=83
    132 Top=116
     151Left=66
     152Top=138
    133153Width=902
    134154Height=607
     
    175195[View4]
    176196Module=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas
    177 CursorX=17
    178 CursorY=293
    179 TopLine=46
     197CursorX=1
     198CursorY=349
     199TopLine=339
    180200LeftCol=1
    181201
    182202[View5]
     203Module=c:\program files\borland\delphi7\source\vcl\Controls.pas
     204CursorX=1
     205CursorY=4706
     206TopLine=4698
     207LeftCol=1
     208
     209[View6]
     210Module=P:\vista\tmg-cprs\CPRS-Chart\fPtSel.pas
     211CursorX=24
     212CursorY=1210
     213TopLine=1210
     214LeftCol=1
     215
     216[View7]
     217Module=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas
     218CursorX=8
     219CursorY=4958
     220TopLine=4950
     221LeftCol=1
     222
     223[View8]
    183224Module=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas
    184225CursorX=1
     
    187228LeftCol=1
    188229
    189 [View6]
     230[View9]
    190231Module=c:\program files\borland\delphi7\source\rtl\common\classes.pas
    191232CursorX=1
     
    194235LeftCol=1
    195236
    196 [View7]
     237[View10]
    197238Module=P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas
    198239CursorX=1
     
    201242LeftCol=1
    202243
    203 [View8]
     244[View11]
    204245Module=P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas
    205246CursorX=1
     
    208249LeftCol=1
    209250
    210 [View9]
     251[View12]
    211252Module=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
    212253CursorX=1
    213 CursorY=10083
    214 TopLine=10075
    215 LeftCol=1
    216 
    217 [View10]
     254CursorY=10701
     255TopLine=10693
     256LeftCol=1
     257
     258[View13]
    218259Module=c:\program files\borland\delphi7\source\vcl\Menus.pas
    219260CursorX=1
    220 CursorY=3239
    221 TopLine=3229
    222 LeftCol=1
    223 
    224 [View11]
     261CursorY=1822
     262TopLine=1814
     263LeftCol=1
     264
     265[View14]
    225266Module=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas
    226267CursorX=1
     
    229270LeftCol=1
    230271
    231 [View12]
     272[View15]
    232273Module=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas
    233274CursorX=1
    234275CursorY=1479
    235 TopLine=1471
     276TopLine=1468
    236277LeftCol=1
    237278
     
    273314
    274315[Breakpoints]
    275 Count=8
     316Count=10
    276317Breakpoint0='P:\vista\tmg-cprs\CPRS-Chart\rCover.pas',315,'',0,1,'',1,0,0,'',1,'','',''
    277318Breakpoint1='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',1516,'',0,1,'',1,0,0,'',1,'','',''
     
    281322Breakpoint5='P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas',1068,'',0,1,'',1,0,0,'',1,'','',''
    282323Breakpoint6='P:\vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas',286,'',0,1,'',1,0,0,'',1,'','',''
    283 Breakpoint7='P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas',339,'',0,1,'',1,0,0,'',1,'','',''
     324Breakpoint7='P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas',347,'',0,1,'',1,0,0,'',1,'','',''
     325Breakpoint8='P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas',4423,'',0,1,'',1,0,0,'',1,'','',''
     326Breakpoint9='P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsNotes.pas',293,'',0,1,'',1,0,0,'',1,'','',''
    284327
    285328[AddressBreakpoints]
     
    380423SplitPos=128
    381424ArrangeBy=Name
    382 SelectedItem=
     425SelectedItem=OnCreate
    383426ExpandedItems=Anchors,Options
    384427HiddenCategories=Legacy
  • cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsNotes.pas

    r541 r657  
    291291begin
    292292  if Value <> DefaultEditHTMLMode then begin
    293     OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value);
    294     DefaultEditHTMLMode := Value;
     293    if OptionsNotesIniFile = nil then begin
     294      OptionsNotesIniFile := TIniFile.Create(ChangeFileExt(Application.ExeName, '.INI'));  //kt
     295      OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value);
     296      DefaultEditHTMLMode := Value;
     297      OptionsNotesIniFile.Free;
     298      OptionsNotesIniFile := nil;
     299    end else begin
     300      OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value);
     301      DefaultEditHTMLMode := Value;
     302    end;
    295303  end;
    296304end;
  • cprs/branches/tmg-cprs/CPRS-Chart/fPtSel.dfm

    r654 r657  
    11object frmPtSel: TfrmPtSel
    2   Left = 248
    3   Top = 152
     2  Left = 206
     3  Top = 260
    44  Width = 793
    55  Height = 587
Note: See TracChangeset for help on using the changeset viewer.