Ignore:
Timestamp:
Apr 13, 2010, 1:31:19 PM (15 years ago)
Author:
Kevin Toppenberg
Message:

Bug fixes

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

Legend:

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

    r735 r736  
    55[Modules]
    66Module0=P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas
    7 Module1=P:\vista\tmg-cprs\CPRS-Chart\fOptionsNotes.pas
    8 Module2=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas
    9 Module3=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas
    10 Module4=P:\vista\tmg-cprs\CPRS-Chart\fImages.pas
    11 Module5=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateView.pas
    12 Module6=P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplates.pas
    13 Module7=P:\vista\tmg-cprs\CPRS-Chart\Templates\rTemplates.pas
    14 Module8=P:\vista\tmg-cprs\CPRS-Chart\uEvaluate.pas
    15 Module9=c:\program files\borland\delphi7\source\rtl\common\StrUtils.pas
    16 Module10=P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas
    17 Module11=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas
    18 Module12=c:\program files\borland\delphi7\source\vcl\Forms.pas
    19 Module13=c:\program files\borland\delphi7\source\rtl\common\classes.pas
    20 Module14=c:\program files\borland\delphi7\source\vcl\Controls.pas
    21 Module15=P:\vista\tmg-cprs\CPRS-Chart\rHTMLTools.pas
    22 Module16=P:\vista\tmg-cprs\CPRS-Chart\fReminderDialog.pas
    23 Module17=P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas
    24 Module18=P:\vista\tmg-cprs\CPRS-Chart\dShared.pas
    25 Module19=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
    26 Module20=P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas
    27 Module21=P:\vista\tmg-cprs\CPRSChart.ini
    28 Module22=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptions.pas
    29 Module23=P:\vista\tmg-cprs\CPRS-Chart\rCover.pas
    30 Module24=P:\vista\tmg-cprs\CPRS-Chart\fPtDemo.pas
    31 Module25=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas
    32 Module26=P:\vista\tmg-cprs\CPRS-Chart\fSplash.pas
    33 Module27=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas
    34 Module28=P:\vista\tmg-cprs\CPRS-Chart\uTMGOptions.pas
    35 Module29=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas
    36 Module30=P:\Vista\tmg-cprs\CPRS-Lib\ORFn.pas
     7Module1=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
     8Module2=P:\vista\tmg-cprs\CPRS-Chart\fImages.pas
     9Module3=P:\vista\tmg-cprs\CPRS-Chart\uEvaluate.pas
     10Module4=c:\program files\borland\delphi7\source\rtl\common\StrUtils.pas
     11Module5=P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas
     12Module6=P:\vista\tmg-cprs\CPRS-Chart\Templates\rTemplates.pas
     13Module7=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas
     14Module8=c:\program files\borland\delphi7\source\vcl\Forms.pas
     15Module9=c:\program files\borland\delphi7\source\rtl\common\classes.pas
     16Module10=c:\program files\borland\delphi7\source\vcl\Controls.pas
     17Module11=P:\vista\tmg-cprs\CPRS-Chart\rHTMLTools.pas
     18Module12=P:\vista\tmg-cprs\CPRS-Chart\fReminderDialog.pas
     19Module13=P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas
     20Module14=P:\vista\tmg-cprs\CPRS-Chart\dShared.pas
     21Module15=P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas
     22Module16=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateView.pas
     23Module17=P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplates.pas
     24Module18=P:\vista\tmg-cprs\CPRSChart.ini
     25Module19=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptions.pas
     26Module20=P:\vista\tmg-cprs\CPRS-Chart\rCover.pas
     27Module21=P:\vista\tmg-cprs\CPRS-Chart\fPtDemo.pas
     28Module22=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas
     29Module23=P:\vista\tmg-cprs\CPRS-Chart\fSplash.pas
     30Module24=P:\vista\tmg-cprs\CPRS-Chart\fOptionsNotes.pas
     31Module25=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas
     32Module26=P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas
     33Module27=P:\vista\tmg-cprs\CPRS-Chart\uTMGOptions.pas
     34Module28=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas
     35Module29=P:\Vista\tmg-cprs\CPRS-Lib\ORFn.pas
     36Module30=P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas
    3737Count=31
    3838EditWindowCount=1
     
    4444FormOnTop=0
    4545
     46[c:\program files\borland\delphi7\source\rtl\Sys\system.pas]
     47ModuleType=SourceModule
     48FormState=0
     49FormOnTop=0
     50
     51[P:\vista\tmg-cprs\CPRS-Chart\fImages.pas]
     52ModuleType=SourceModule
     53FormState=0
     54FormOnTop=0
     55
     56[P:\vista\tmg-cprs\CPRS-Chart\uEvaluate.pas]
     57ModuleType=SourceModule
     58FormState=0
     59FormOnTop=0
     60
     61[c:\program files\borland\delphi7\source\rtl\common\StrUtils.pas]
     62ModuleType=SourceModule
     63FormState=0
     64FormOnTop=0
     65
     66[P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas]
     67ModuleType=SourceModule
     68FormState=0
     69FormOnTop=0
     70
     71[P:\vista\tmg-cprs\CPRS-Chart\Templates\rTemplates.pas]
     72ModuleType=SourceModule
     73FormState=0
     74FormOnTop=0
     75
     76[c:\program files\borland\delphi7\source\vcl\ComCtrls.pas]
     77ModuleType=SourceModule
     78FormState=0
     79FormOnTop=0
     80
     81[c:\program files\borland\delphi7\source\vcl\Forms.pas]
     82ModuleType=SourceModule
     83FormState=0
     84FormOnTop=0
     85
     86[c:\program files\borland\delphi7\source\rtl\common\classes.pas]
     87ModuleType=SourceModule
     88FormState=0
     89FormOnTop=0
     90
     91[c:\program files\borland\delphi7\source\vcl\Controls.pas]
     92ModuleType=SourceModule
     93FormState=0
     94FormOnTop=0
     95
     96[P:\vista\tmg-cprs\CPRS-Chart\rHTMLTools.pas]
     97ModuleType=SourceModule
     98FormState=0
     99FormOnTop=0
     100
     101[P:\vista\tmg-cprs\CPRS-Chart\fReminderDialog.pas]
     102ModuleType=SourceModule
     103FormState=0
     104FormOnTop=0
     105
     106[P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas]
     107ModuleType=SourceModule
     108FormState=0
     109FormOnTop=0
     110
     111[P:\vista\tmg-cprs\CPRS-Chart\dShared.pas]
     112ModuleType=SourceModule
     113FormState=0
     114FormOnTop=0
     115
     116[P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas]
     117ModuleType=SourceModule
     118FormState=0
     119FormOnTop=0
     120
     121[P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateView.pas]
     122ModuleType=SourceModule
     123FormState=0
     124FormOnTop=0
     125
     126[P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplates.pas]
     127ModuleType=SourceModule
     128FormState=0
     129FormOnTop=0
     130
     131[P:\vista\tmg-cprs\CPRSChart.ini]
     132ModuleType=SourceModule
     133FormState=0
     134FormOnTop=0
     135
     136[P:\vista\tmg-cprs\CPRS-Chart\Options\fOptions.pas]
     137ModuleType=SourceModule
     138FormState=0
     139FormOnTop=0
     140
     141[P:\vista\tmg-cprs\CPRS-Chart\rCover.pas]
     142ModuleType=SourceModule
     143FormState=0
     144FormOnTop=0
     145
     146[P:\vista\tmg-cprs\CPRS-Chart\fPtDemo.pas]
     147ModuleType=SourceModule
     148FormState=0
     149FormOnTop=0
     150
     151[c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas]
     152ModuleType=SourceModule
     153FormState=0
     154FormOnTop=0
     155
     156[P:\vista\tmg-cprs\CPRS-Chart\fSplash.pas]
     157ModuleType=SourceModule
     158FormState=0
     159FormOnTop=0
     160
    46161[P:\vista\tmg-cprs\CPRS-Chart\fOptionsNotes.pas]
    47162ModuleType=SourceModule
     
    54169FormOnTop=0
    55170
     171[P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas]
     172ModuleType=SourceModule
     173FormState=0
     174FormOnTop=0
     175
     176[P:\vista\tmg-cprs\CPRS-Chart\uTMGOptions.pas]
     177ModuleType=SourceModule
     178FormState=0
     179FormOnTop=0
     180
     181[P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas]
     182ModuleType=SourceModule
     183FormState=0
     184FormOnTop=0
     185
     186[P:\Vista\tmg-cprs\CPRS-Lib\ORFn.pas]
     187ModuleType=SourceModule
     188FormState=0
     189FormOnTop=0
     190
    56191[P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas]
    57 ModuleType=SourceModule
    58 FormState=0
    59 FormOnTop=0
    60 
    61 [P:\vista\tmg-cprs\CPRS-Chart\fImages.pas]
    62 ModuleType=SourceModule
    63 FormState=0
    64 FormOnTop=0
    65 
    66 [P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateView.pas]
    67 ModuleType=SourceModule
    68 FormState=0
    69 FormOnTop=0
    70 
    71 [P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplates.pas]
    72 ModuleType=SourceModule
    73 FormState=0
    74 FormOnTop=0
    75 
    76 [P:\vista\tmg-cprs\CPRS-Chart\Templates\rTemplates.pas]
    77 ModuleType=SourceModule
    78 FormState=0
    79 FormOnTop=0
    80 
    81 [P:\vista\tmg-cprs\CPRS-Chart\uEvaluate.pas]
    82 ModuleType=SourceModule
    83 FormState=0
    84 FormOnTop=0
    85 
    86 [c:\program files\borland\delphi7\source\rtl\common\StrUtils.pas]
    87 ModuleType=SourceModule
    88 FormState=0
    89 FormOnTop=0
    90 
    91 [P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas]
    92 ModuleType=SourceModule
    93 FormState=0
    94 FormOnTop=0
    95 
    96 [c:\program files\borland\delphi7\source\vcl\ComCtrls.pas]
    97 ModuleType=SourceModule
    98 FormState=0
    99 FormOnTop=0
    100 
    101 [c:\program files\borland\delphi7\source\vcl\Forms.pas]
    102 ModuleType=SourceModule
    103 FormState=0
    104 FormOnTop=0
    105 
    106 [c:\program files\borland\delphi7\source\rtl\common\classes.pas]
    107 ModuleType=SourceModule
    108 FormState=0
    109 FormOnTop=0
    110 
    111 [c:\program files\borland\delphi7\source\vcl\Controls.pas]
    112 ModuleType=SourceModule
    113 FormState=0
    114 FormOnTop=0
    115 
    116 [P:\vista\tmg-cprs\CPRS-Chart\rHTMLTools.pas]
    117 ModuleType=SourceModule
    118 FormState=0
    119 FormOnTop=0
    120 
    121 [P:\vista\tmg-cprs\CPRS-Chart\fReminderDialog.pas]
    122 ModuleType=SourceModule
    123 FormState=0
    124 FormOnTop=0
    125 
    126 [P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas]
    127 ModuleType=SourceModule
    128 FormState=0
    129 FormOnTop=0
    130 
    131 [P:\vista\tmg-cprs\CPRS-Chart\dShared.pas]
    132 ModuleType=SourceModule
    133 FormState=0
    134 FormOnTop=0
    135 
    136 [c:\program files\borland\delphi7\source\rtl\Sys\system.pas]
    137 ModuleType=SourceModule
    138 FormState=0
    139 FormOnTop=0
    140 
    141 [P:\Vista\tmg-cprs\dklang-package-3.01\DKLang.pas]
    142 ModuleType=SourceModule
    143 FormState=0
    144 FormOnTop=0
    145 
    146 [P:\vista\tmg-cprs\CPRSChart.ini]
    147 ModuleType=SourceModule
    148 FormState=0
    149 FormOnTop=0
    150 
    151 [P:\vista\tmg-cprs\CPRS-Chart\Options\fOptions.pas]
    152 ModuleType=SourceModule
    153 FormState=0
    154 FormOnTop=0
    155 
    156 [P:\vista\tmg-cprs\CPRS-Chart\rCover.pas]
    157 ModuleType=SourceModule
    158 FormState=0
    159 FormOnTop=0
    160 
    161 [P:\vista\tmg-cprs\CPRS-Chart\fPtDemo.pas]
    162 ModuleType=SourceModule
    163 FormState=0
    164 FormOnTop=0
    165 
    166 [c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas]
    167 ModuleType=SourceModule
    168 FormState=0
    169 FormOnTop=0
    170 
    171 [P:\vista\tmg-cprs\CPRS-Chart\fSplash.pas]
    172 ModuleType=SourceModule
    173 FormState=0
    174 FormOnTop=0
    175 
    176 [P:\vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas]
    177 ModuleType=SourceModule
    178 FormState=0
    179 FormOnTop=0
    180 
    181 [P:\vista\tmg-cprs\CPRS-Chart\uTMGOptions.pas]
    182 ModuleType=SourceModule
    183 FormState=0
    184 FormOnTop=0
    185 
    186 [P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas]
    187 ModuleType=SourceModule
    188 FormState=0
    189 FormOnTop=0
    190 
    191 [P:\Vista\tmg-cprs\CPRS-Lib\ORFn.pas]
    192192ModuleType=SourceModule
    193193FormState=0
     
    262262ClientHeight=589
    263263LeftPanelSize=140
    264 LeftPanelClients=CodeExplorer@EditWindow0,DockSite1
    265 LeftPanelData=00000400010000000C000000436F64654578706C6F7265728C0000000000000002700100000000000001000000008C00000009000000446F636B536974653101000000000000000000000000FFFFFFFF
     264LeftPanelClients=CodeExplorer@EditWindow0,DockSite0
     265LeftPanelData=00000400010000000C000000436F64654578706C6F7265728C0000000000000002700100000000000001000000008C00000009000000446F636B536974653001000000000000000000000000FFFFFFFF
    266266RightPanelSize=0
    267267BottomPanelSize=218
     
    390390[View17]
    391391Module=c:\program files\borland\delphi7\source\rtl\Sys\system.pas
    392 CursorX=4
    393 CursorY=12508
    394 TopLine=12495
     392CursorX=2
     393CursorY=12671
     394TopLine=12660
    395395LeftCol=1
    396396
     
    469469CursorX=1
    470470CursorY=1133
    471 TopLine=1119
     471TopLine=1118
    472472LeftCol=1
    473473
     
    501501
    502502[Watches]
    503 Count=21
     503Count=22
    504504Watch0='NumStr',256,0,18,1,0,'Watches'
    505505Watch1='p1',256,0,18,1,0,'Watches'
     
    523523Watch19='Strings[I]',256,0,18,1,0,'Watches'
    524524Watch20='test[i]',256,0,18,1,0,'Watches'
     525Watch21='StrLen(PChar(Txt))+1',256,0,18,1,0,'Watches'
    525526
    526527[WatchWindow]
    527 WatchColumnWidth=100
     528WatchColumnWidth=179
    528529WatchShowColumnHeaders=1
    529530Create=1
     
    543544
    544545[Breakpoints]
    545 Count=32
     546Count=33
    546547Breakpoint0='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1710,'',0,1,'',1,0,0,'',1,'','',''
    547548Breakpoint1='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1787,'',0,1,'',1,0,0,'',1,'','',''
     
    576577Breakpoint30='P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas',1133,'',0,1,'',1,0,0,'',1,'','',''
    577578Breakpoint31='P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas',1126,'',0,1,'',1,0,0,'',1,'','',''
     579Breakpoint32='P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas',551,'',0,1,'',1,0,0,'',1,'','',''
    578580
    579581[AddressBreakpoints]
     
    898900Visible=1
    899901State=0
    900 Left=-752
    901 Top=258
     902Left=0
     903Top=12
     904Width=140
     905Height=356
     906MaxLeft=-1
     907MaxTop=-1
     908ClientWidth=140
     909ClientHeight=356
     910TBDockHeight=356
     911LRDockWidth=140
     912Dockable=1
     913TabPosition=0
     914ActiveTab=Object Inspector
     915TabDockClients=PropertyInspector,ObjectTree
     916
     917[DockSite1]
     918DockSiteType=1
     919Create=1
     920Visible=1
     921State=0
     922Left=1072
     923Top=211
    902924Width=720
    903925Height=462
     
    913935TabDockClients=WatchWindow,DebugLogView
    914936
    915 [DockSite1]
    916 DockSiteType=1
    917 Create=1
    918 Visible=1
    919 State=0
    920 Left=0
    921 Top=12
    922 Width=140
    923 Height=356
    924 MaxLeft=-1
    925 MaxTop=-1
    926 ClientWidth=140
    927 ClientHeight=356
    928 TBDockHeight=356
    929 LRDockWidth=140
    930 Dockable=1
    931 TabPosition=0
    932 ActiveTab=Object Inspector
    933 TabDockClients=PropertyInspector,ObjectTree
    934 
  • cprs/branches/tmg-cprs/CPRS-Chart/Templates/uTemplateFields.pas

    r735 r736  
    550550    //p2 := PosEx(FN_END_TAG,Txt,p1);
    551551    p2 := CloseCharPos(FN_BEGIN_TAG, FN_END_TAG, Txt, p1);
    552     SubStrB := MidStr(Txt,p2+1,99999);    //Changed from 999 to 99999. Some characters were getting lost including the dialog tags that trigger the dialog box   elh  04/08/10
     552    SubStrB := MidStr(Txt,p2+1,StrLen(PChar(Txt))+1);    //Changed from 999 to StrLen(PChar(Txt))+1. Some characters were getting lost including the dialog tags that trigger the dialog box   elh  04/08/10
    553553    FnStr := MidStr(Txt,p1, (p2-p1));
    554554    FnStr := AnsiReplaceText(FnStr,#9,'');
     
    577577    p1 := p1 + FN_OBJ_TAG_LEN;
    578578    p2 := CloseCharPos(FN_BEGIN_TAG, FN_END_TAG, Txt, p1);
    579     SubStrB := MidStr(Txt,p2+1,999);
     579    SubStrB := MidStr(Txt,p2+1,StrLen(PChar(Txt))+1);  //Changed from 999 to StrLen(PChar(Txt))+1. Some characters were getting lost including the dialog tags that trigger the dialog box   elh  04/13/10
    580580    FnStr := MidStr(Txt,p1, (p2-p1));
    581581    FnStr := AnsiReplaceText(FnStr,#9,'');
     
    730730    p1 := p1 + FN_SHOW_TEXT_LEN;
    731731    p2 := PosEx(FN_SHOW_TEXT_END,Txt,p1);
    732     SubStrB := MidStr(Txt,p2+1,999);
     732    SubStrB := MidStr(Txt,p2+1,StrLen(PChar(Txt))+1);   //Changed from 999 to StrLen(PChar(Txt))+1. Some characters were getting lost including the dialog tags that trigger the dialog box   elh  04/13/10
    733733    FnStr := MidStr(Txt,p1, (p2-p1));
    734734    FnStr := GetFormula(FnStr);
     
    799799    p1 := p1 + OBJ_SHOW_TEXT_LEN;
    800800    p2 := PosEx(OBJ_SHOW_TEXT_END,Txt,p1);
    801     SubStrB := MidStr(Txt,p2+1,999);
     801    SubStrB := MidStr(Txt,p2+1,StrLen(PChar(Txt))+1);    //Changed from 999 to StrLen(PChar(Txt))+1. Some characters were getting lost including the dialog tags that trigger the dialog box   elh  04/13/10
    802802    ObjStr := MidStr(Txt,p1, (p2-p1));
    803803    ObjStr := GetTxtObjects(ObjStr);
     
    10981098          p2 := PosEx(FieldIDDelim,FnObjStr,p1+1);
    10991099          Argument := MidStr(FnObjStr,p1+1,(p2-p1)-1);
    1100           SubStrB := MidStr(FnObjStr,p2+1,999);
     1100          SubStrB := MidStr(FnObjStr,p2+1,StrLen(PChar(FnObjStr))+1);
    11011101          CtrlID := StrToIntDef(MidStr(Argument,1,FieldIDLen-1), 0);
    1102           Fld := MidStr(Argument,FieldIDLen,999);
     1102          Fld := MidStr(Argument,FieldIDLen,StrLen(PChar(Argument))+1);
    11031103          if(CtrlID > 0) then begin
    11041104            FoundEntry := FALSE;
     
    11351135        end;
    11361136        SubStrA := MidStr(Temp,1,FnP1-1);
    1137         SubStrB := MidStr(Temp,FnP2+1,999);
     1137        SubStrB := MidStr(Temp,FnP2+1,StrLen(PChar(Temp))+1);
    11381138        if (HTMLMode=true) and (FnObjStr <> '') then begin
    11391139          FnObjStr := HTMLAnswerOpenTag + FnObjStr + HTMLAnswerCloseTag;
Note: See TracChangeset for help on using the changeset viewer.