Changeset 473 for cprs/branches/tmg-cprs/CPRS-Chart
- Timestamp:
- Aug 8, 2008, 8:34:55 PM (16 years ago)
- Location:
- cprs/branches/tmg-cprs/CPRS-Chart
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.dsk
r472 r473 12 12 13 13 [Modules] 14 Module0=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 15 Module1=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas 16 Module2=P:\Vista\tmg-cprs\CPRS-Chart\TMG_Extra\fWebTab.pas 17 Module3=P:\Vista\tmg-cprs\CPRS-Chart\fCover.pas 18 Module4=P:\Vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas 19 Module5=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas 20 Module6=P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas 21 Module7=P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas 22 Module8=P:\Vista\tmg-cprs\CPRS-Chart\uConst.pas 23 Module9=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 24 Count=10 14 Module0=P:\Vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas 15 Module1=c:\program files\borland\delphi7\source\vcl\StdCtrls.pas 16 Module2=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas 17 Module3=c:\program files\borland\delphi7\source\vcl\Controls.pas 18 Module4=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 19 Module5=P:\Vista\killthis.txt 20 Module6=c:\program files\borland\delphi7\source\rtl\common\classes.pas 21 Module7=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 22 Count=8 25 23 EditWindowCount=1 26 24 TypeLibWindowCount=1 27 25 26 [P:\Vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas] 27 ModuleType=SourceModule 28 FormState=1 29 FormOnTop=0 30 31 [c:\program files\borland\delphi7\source\vcl\StdCtrls.pas] 32 ModuleType=SourceModule 33 FormState=0 34 FormOnTop=0 35 36 [c:\program files\borland\delphi7\source\vcl\ComCtrls.pas] 37 ModuleType=SourceModule 38 FormState=0 39 FormOnTop=0 40 41 [c:\program files\borland\delphi7\source\vcl\Controls.pas] 42 ModuleType=SourceModule 43 FormState=0 44 FormOnTop=0 45 28 46 [P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas] 29 47 ModuleType=SourceModule 30 48 FormState=1 31 FormOnTop=1 32 33 [c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas] 34 ModuleType=SourceModule 35 FormState=0 36 FormOnTop=0 37 38 [P:\Vista\tmg-cprs\CPRS-Chart\TMG_Extra\fWebTab.pas] 39 ModuleType=SourceModule 40 FormState=1 41 FormOnTop=0 42 43 [P:\Vista\tmg-cprs\CPRS-Chart\fCover.pas] 44 ModuleType=SourceModule 45 FormState=0 46 FormOnTop=0 47 48 [P:\Vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas] 49 ModuleType=SourceModule 50 FormState=0 51 FormOnTop=0 52 53 [C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas] 54 ModuleType=SourceModule 55 FormState=0 56 FormOnTop=0 57 58 [P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas] 59 ModuleType=SourceModule 60 FormState=1 61 FormOnTop=0 62 63 [P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas] 64 ModuleType=SourceModule 65 FormState=0 66 FormOnTop=0 67 68 [P:\Vista\tmg-cprs\CPRS-Chart\uConst.pas] 49 FormOnTop=0 50 51 [P:\Vista\killthis.txt] 52 ModuleType=SourceModule 53 FormState=0 54 FormOnTop=0 55 56 [c:\program files\borland\delphi7\source\rtl\common\classes.pas] 69 57 ModuleType=SourceModule 70 58 FormState=0 … … 84 72 FormOnTop=0 85 73 86 [P:\Vista\tmg-cprs\CPRS-Chart\fPage.pas]87 FormState=088 FormOnTop=089 90 [P:\Vista\tmg-cprs\CPRS-Chart\fAutoSz.pas]91 FormState=092 FormOnTop=093 94 74 [EditWindow0] 95 ViewCount= 1075 ViewCount=8 96 76 CurrentView=2 97 77 View0=0 … … 103 83 View6=6 104 84 View7=7 105 View8=8106 View9=9107 85 CodeExplorer=CodeExplorer@EditWindow0 108 86 MessageView=MessageView@EditWindow0 … … 110 88 Visible=1 111 89 State=0 112 Left= 195113 Top=12 5114 Width= 813115 Height=58 3116 MaxLeft=-1 117 MaxTop=-1 118 ClientWidth= 805119 ClientHeight=5 4990 Left=213 91 Top=128 92 Width=777 93 Height=588 94 MaxLeft=-1 95 MaxTop=-1 96 ClientWidth=769 97 ClientHeight=554 120 98 LeftPanelSize=0 121 99 LeftPanelClients=CodeExplorer@EditWindow0 … … 124 102 BottomPanelSize=0 125 103 BottomPanelClients=MessageView@EditWindow0 126 BottomPanelData=00000400010000000B0000004D657373616765566965770 00000000000000000000000000000000001000000000000000000000000FFFFFFFF104 BottomPanelData=00000400010000000B0000004D657373616765566965770103000000000000025500000000000000010000000000000000000000000100000000010300000B0000004D65737361676556696577FFFFFFFF 127 105 128 106 [View0] 129 107 Module=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 130 CursorX=20131 CursorY=7132 TopLine=1133 LeftCol=1134 135 [View1]136 Module=P:\Vista\tmg-cprs\CPRS-Chart\uConst.pas137 CursorX=16138 CursorY=407139 TopLine=398140 LeftCol=1141 142 [View2]143 Module=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas144 CursorX=1145 CursorY=3695146 TopLine=3672147 LeftCol=1148 149 [View3]150 Module=P:\Vista\tmg-cprs\CPRS-Chart\TMG_Extra\fWebTab.pas151 108 CursorX=1 152 109 CursorY=1 … … 154 111 LeftCol=1 155 112 113 [View1] 114 Module=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 115 CursorX=13 116 CursorY=3755 117 TopLine=3745 118 LeftCol=1 119 120 [View2] 121 Module=P:\Vista\tmg-cprs\CPRS-Chart\Options\fOptionsOther.pas 122 CursorX=1 123 CursorY=301 124 TopLine=287 125 LeftCol=1 126 127 [View3] 128 Module=c:\program files\borland\delphi7\source\vcl\StdCtrls.pas 129 CursorX=1 130 CursorY=2785 131 TopLine=2771 132 LeftCol=1 133 156 134 [View4] 157 Module= c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas158 CursorX=1 159 CursorY= 4343160 TopLine= 4317135 Module=P:\Vista\killthis.txt 136 CursorX=1 137 CursorY=157 138 TopLine=135 161 139 LeftCol=1 162 140 163 141 [View5] 164 Module= P:\Vista\tmg-cprs\CPRS-Chart\fCover.pas165 CursorX=1 166 CursorY= 654167 TopLine= 640142 Module=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas 143 CursorX=1 144 CursorY=4460 145 TopLine=4436 168 146 LeftCol=1 169 147 170 148 [View6] 171 Module= P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas172 CursorX=1 9173 CursorY= 59174 TopLine= 55149 Module=c:\program files\borland\delphi7\source\vcl\Controls.pas 150 CursorX=1 151 CursorY=6161 152 TopLine=6145 175 153 LeftCol=1 176 154 177 155 [View7] 178 Module=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas 179 CursorX=1 180 CursorY=1479 181 TopLine=1465 182 LeftCol=1 183 184 [View8] 185 Module=P:\Vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas 186 CursorX=1 187 CursorY=1458 188 TopLine=1444 189 LeftCol=1 190 191 [View9] 192 Module=P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas 193 CursorX=19 194 CursorY=845 195 TopLine=831 156 Module=c:\program files\borland\delphi7\source\rtl\common\classes.pas 157 CursorX=1 158 CursorY=2825 159 TopLine=2817 196 160 LeftCol=1 197 161 … … 201 165 State=0 202 166 Left=200 203 Top=1 23167 Top=115 204 168 Width=639 205 169 Height=453 … … 211 175 212 176 [Watches] 213 Count=2 214 Watch0='frmPtSel',256,0,18,1,0,'Watches' 215 Watch1='FName',256,0,18,1,0,'Watches' 177 Count=6 178 Watch0='Control',256,0,18,1,0,'Watches' 179 Watch1='TabIndex',256,0,18,1,0,'Watches' 180 Watch2='FCount',256,0,18,1,0,'Watches' 181 Watch3='pageControl',16,0,18,1,0,'Watches' 182 Watch4='ALabel',256,0,18,1,0,'Watches' 183 Watch5='colorIndex',256,0,18,1,0,'Watches' 216 184 217 185 [WatchWindow] … … 219 187 WatchShowColumnHeaders=1 220 188 Create=1 221 Visible= 1222 State=0 223 Left= 83224 Top= 518225 Width= 784226 Height=2 30227 MaxLeft=-1 228 MaxTop=-1 229 ClientWidth= 776230 ClientHeight=2 04231 TBDockHeight=2 04232 LRDockWidth=42 6189 Visible=0 190 State=0 191 Left=26 192 Top=330 193 Width=885 194 Height=260 195 MaxLeft=-1 196 MaxTop=-1 197 ClientWidth=877 198 ClientHeight=234 199 TBDockHeight=234 200 LRDockWidth=421 233 201 Dockable=1 234 202 235 203 [Breakpoints] 236 Count=8 237 Breakpoint0='C:\Program Files\VISTA\BDK32\Source\fPtAdd.pas',467,'',0,1,'',1,0,0,'',1,'','','' 238 Breakpoint1='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fFrame.pas',4826,'',0,1,'',1,0,0,'',1,'','','' 239 Breakpoint2='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\TMG_Extra\fPtAdd.pas',164,'',0,1,'',1,0,0,'',1,'','','' 240 Breakpoint3='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\Orders\fODBase.pas',1270,'',0,1,'',1,0,0,'',1,'','','' 241 Breakpoint4='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fFrame.pas',1098,'',0,1,'',1,0,0,'',1,'','','' 242 Breakpoint5='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fPtSel.pas',510,'',0,1,'',1,0,0,'',1,'','','' 243 Breakpoint6='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fPtSel.pas',501,'',0,1,'',1,0,0,'',1,'','','' 244 Breakpoint7='P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas',285,'',0,1,'',1,0,0,'',1,'','','' 204 Count=0 245 205 246 206 [AddressBreakpoints] … … 252 212 State=0 253 213 Left=0 254 Top= 9255 Width= 1024214 Top=1 215 Width=981 256 216 Height=112 257 217 MaxLeft=-1 258 218 MaxTop=-1 259 ClientWidth= 1016219 ClientWidth=973 260 220 ClientHeight=78 261 221 … … 264 224 Visible=0 265 225 State=0 266 Left= 213267 Top=1 85268 Width= 587269 Height= 462270 MaxLeft=-1 271 MaxTop=-1 272 ClientWidth= 579273 ClientHeight= 436274 TBDockHeight=4 89275 LRDockWidth= 719226 Left=198 227 Top=142 228 Width=689 229 Height=561 230 MaxLeft=-1 231 MaxTop=-1 232 ClientWidth=681 233 ClientHeight=535 234 TBDockHeight=408 235 LRDockWidth=623 276 236 Dockable=1 277 237 278 238 [Components] 279 Left= 240280 Top= 237239 Left=308 240 Top=167 281 241 Width=183 282 Height=2 35242 Height=266 283 243 Create=1 284 244 Visible=0 … … 287 247 MaxTop=-1 288 248 ClientWidth=175 289 ClientHeight=2 09249 ClientHeight=240 290 250 TBDockHeight=235 291 251 LRDockWidth=183 … … 296 256 Visible=0 297 257 State=0 298 Left= 177299 Top=1 42258 Left=0 259 Top=12 300 260 Width=800 301 Height=56 5261 Height=561 302 262 MaxLeft=-1 303 263 MaxTop=-1 304 264 ClientWidth=792 305 ClientHeight=5 31306 DumpPane= 79307 DisassemblyPane= 264265 ClientHeight=527 266 DumpPane=87 267 DisassemblyPane=187 308 268 RegisterPane=231 309 FlagPane= 104269 FlagPane=64 310 270 311 271 [AlignmentPalette] … … 313 273 Visible=0 314 274 State=0 315 Left= 200316 Top=1 14275 Left=53 276 Top=123 317 277 Width=156 318 278 Height=84 … … 326 286 Visible=1 327 287 State=0 328 Left= 2329 Top= 124330 Width= 194331 Height= 591332 MaxLeft=-1 333 MaxTop=-1 334 ClientWidth= 186335 ClientHeight= 565336 TBDockHeight=5 53337 LRDockWidth=2 09338 Dockable=1 339 SplitPos=1 01288 Left=0 289 Top=0 290 Width=242 291 Height=484 292 MaxLeft=-1 293 MaxTop=-1 294 ClientWidth=242 295 ClientHeight=484 296 TBDockHeight=527 297 LRDockWidth=250 298 Dockable=1 299 SplitPos=128 340 300 ArrangeBy=Name 341 SelectedItem= TabPosition301 SelectedItem=OnChange 342 302 ExpandedItems=Anchors 343 HiddenCategories= 303 HiddenCategories=Legacy 344 304 345 305 [BreakpointWindow] … … 347 307 Visible=0 348 308 State=0 349 Left= 143350 Top=2 85309 Left=31 310 Top=201 351 311 Width=737 352 Height=3 70312 Height=350 353 313 MaxLeft=-1 354 314 MaxTop=-1 355 315 ClientWidth=729 356 ClientHeight=3 44316 ClientHeight=324 357 317 TBDockHeight=197 358 318 LRDockWidth=737 … … 367 327 [CallStackWindow] 368 328 Create=1 369 Visible= 0370 State=0 371 Left= 32372 Top=4 35373 Width= 469374 Height=2 94375 MaxLeft=-1 376 MaxTop=-1 377 ClientWidth= 461378 ClientHeight= 268379 TBDockHeight= 294380 LRDockWidth= 469329 Visible=1 330 State=0 331 Left=42 332 Top=403 333 Width=874 334 Height=210 335 MaxLeft=-1 336 MaxTop=-1 337 ClientWidth=866 338 ClientHeight=184 339 TBDockHeight=355 340 LRDockWidth=233 381 341 Dockable=1 382 342 … … 403 363 [ObjectTree] 404 364 Create=1 405 Visible= 0406 State=0 407 Left= 173408 Top= 21409 Width= 318410 Height= 379411 MaxLeft=-1 412 MaxTop=-1 413 ClientWidth= 310414 ClientHeight= 353415 TBDockHeight=5 53416 LRDockWidth= 190365 Visible=1 366 State=0 367 Left=0 368 Top=0 369 Width=242 370 Height=484 371 MaxLeft=-1 372 MaxTop=-1 373 ClientWidth=242 374 ClientHeight=484 375 TBDockHeight=527 376 LRDockWidth=250 417 377 Dockable=1 418 378 … … 477 437 Visible=0 478 438 State=0 479 Left=3 06480 Top=28 0439 Left=310 440 Top=284 481 441 Width=457 482 442 Height=250 … … 532 492 Top=12 533 493 Width=140 534 Height= 537494 Height=351 535 495 MaxLeft=-1 536 496 MaxTop=-1 537 497 ClientWidth=140 538 ClientHeight= 537498 ClientHeight=351 539 499 TBDockHeight=305 540 500 LRDockWidth=140 … … 547 507 Left=12 548 508 Top=0 549 Width=7 93550 Height= 213551 MaxLeft=-1 552 MaxTop=-1 553 ClientWidth=7 93554 ClientHeight= 213555 TBDockHeight= 213509 Width=757 510 Height=85 511 MaxLeft=-1 512 MaxTop=-1 513 ClientWidth=757 514 ClientHeight=85 515 TBDockHeight=85 556 516 LRDockWidth=443 557 517 Dockable=1 558 518 559 519 [DockHosts] 560 DockHostCount=0 561 520 DockHostCount=1 521 522 [DockSite0] 523 DockSiteType=1 524 Create=1 525 Visible=1 526 State=0 527 Left=8 528 Top=128 529 Width=258 530 Height=539 531 MaxLeft=-1 532 MaxTop=-1 533 ClientWidth=250 534 ClientHeight=513 535 TBDockHeight=539 536 LRDockWidth=258 537 Dockable=1 538 TabPosition=0 539 ActiveTab=Object Inspector 540 TabDockClients=PropertyInspector,ObjectTree 541 -
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.~dsk
r472 r473 12 12 13 13 [Modules] 14 Module0=P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas 15 Module1=P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas 16 Module2=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 17 Module3=P:\Vista\tmg-cprs\CPRS-Chart\uConst.pas 18 Module4=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 19 Count=5 14 Module0=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 15 Module1=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas 16 Module2=c:\program files\borland\delphi7\source\rtl\common\classes.pas 17 Module3=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 18 Count=4 20 19 EditWindowCount=1 21 20 TypeLibWindowCount=1 22 21 23 [P:\Vista\tmg-cprs\CPRS-Chart\f PtSelOptns.pas]22 [P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas] 24 23 ModuleType=SourceModule 25 24 FormState=1 26 25 FormOnTop=0 27 26 28 [ P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas]27 [c:\program files\borland\delphi7\source\vcl\ComCtrls.pas] 29 28 ModuleType=SourceModule 30 29 FormState=0 31 30 FormOnTop=0 32 31 33 [P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas] 34 ModuleType=SourceModule 35 FormState=0 36 FormOnTop=0 37 38 [P:\Vista\tmg-cprs\CPRS-Chart\uConst.pas] 32 [c:\program files\borland\delphi7\source\rtl\common\classes.pas] 39 33 ModuleType=SourceModule 40 34 FormState=0 … … 46 40 FormOnTop=0 47 41 48 [C:\ Program Files\Borland\Delphi7\Projects\ProjectGroup1.bpg]42 [C:\Documents and Settings\e.hagood.TMG\Desktop\DelphiSkins\Examples\FreeformSkin\ProjectGroup1.bpg] 49 43 FormState=0 50 44 FormOnTop=0 … … 54 48 FormOnTop=0 55 49 56 [P:\Vista\tmg-cprs\CPRS-Chart\fPage.pas]57 FormState=058 FormOnTop=059 60 [P:\Vista\tmg-cprs\CPRS-Chart\fHSplit.pas]61 FormState=062 FormOnTop=063 64 [P:\Vista\tmg-cprs\CPRS-Chart\fAutoSz.pas]65 FormState=066 FormOnTop=067 68 50 [EditWindow0] 69 ViewCount= 570 CurrentView= 351 ViewCount=4 52 CurrentView=1 71 53 View0=0 72 54 View1=1 73 55 View2=2 74 56 View3=3 75 View4=476 57 CodeExplorer=CodeExplorer@EditWindow0 77 58 MessageView=MessageView@EditWindow0 … … 79 60 Visible=1 80 61 State=0 81 Left= 19582 Top=12 583 Width= 81384 Height=58 385 MaxLeft=-1 86 MaxTop=-1 87 ClientWidth= 80588 ClientHeight=5 4962 Left=213 63 Top=128 64 Width=777 65 Height=588 66 MaxLeft=-1 67 MaxTop=-1 68 ClientWidth=769 69 ClientHeight=554 89 70 LeftPanelSize=0 90 71 LeftPanelClients=CodeExplorer@EditWindow0 … … 97 78 [View0] 98 79 Module=P:\Vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 99 CursorX= 20100 CursorY= 780 CursorX=1 81 CursorY=1 101 82 TopLine=1 102 83 LeftCol=1 103 84 104 85 [View1] 105 Module=P:\Vista\tmg-cprs\CPRS-Chart\ uConst.pas106 CursorX= 16107 CursorY=4 07108 TopLine= 39886 Module=P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas 87 CursorX=65 88 CursorY=4864 89 TopLine=4847 109 90 LeftCol=1 110 91 111 92 [View2] 112 Module= P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas93 Module=c:\program files\borland\delphi7\source\vcl\ComCtrls.pas 113 94 CursorX=1 114 CursorY= 4826115 TopLine= 481295 CursorY=5129 96 TopLine=5115 116 97 LeftCol=1 117 98 118 99 [View3] 119 Module= P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas120 CursorX= 9121 CursorY= 77122 TopLine= 55100 Module=c:\program files\borland\delphi7\source\rtl\common\classes.pas 101 CursorX=1 102 CursorY=2825 103 TopLine=2817 123 104 LeftCol=1 124 105 125 [View4]126 Module=P:\Vista\tmg-cprs\CPRS-Chart\fImages.pas127 CursorX=19128 CursorY=845129 TopLine=831130 LeftCol=1131 132 106 [TypeLibEditWindow0] 133 107 Create=1 … … 135 109 State=0 136 110 Left=200 137 Top=1 23111 Top=115 138 112 Width=639 139 113 Height=453 … … 145 119 146 120 [Watches] 147 Count=2 148 Watch0='frmPtSel',256,0,18,1,0,'Watches' 149 Watch1='FName',256,0,18,1,0,'Watches' 121 Count=4 122 Watch0='Control',256,0,18,1,0,'Watches' 123 Watch1='TabIndex',256,0,18,1,0,'Watches' 124 Watch2='FCount',256,0,18,1,0,'Watches' 125 Watch3='pageControl',16,0,18,1,0,'Watches' 150 126 151 127 [WatchWindow] … … 155 131 Visible=1 156 132 State=0 157 Left= 83158 Top=5 18159 Width= 784160 Height=2 30161 MaxLeft=-1 162 MaxTop=-1 163 ClientWidth= 776164 ClientHeight=2 04165 TBDockHeight=2 04166 LRDockWidth=42 6133 Left=184 134 Top=555 135 Width=885 136 Height=260 137 MaxLeft=-1 138 MaxTop=-1 139 ClientWidth=877 140 ClientHeight=234 141 TBDockHeight=234 142 LRDockWidth=421 167 143 Dockable=1 168 144 169 145 [Breakpoints] 170 Count=14 171 Breakpoint0='C:\Program Files\VISTA\BDK32\Source\fPtAdd.pas',467,'',0,1,'',1,0,0,'',1,'','','' 172 Breakpoint1='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fFrame.pas',4826,'',0,1,'',1,0,0,'',1,'','','' 173 Breakpoint2='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\TMG_Extra\fPtAdd.pas',164,'',0,1,'',1,0,0,'',1,'','','' 174 Breakpoint3='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\Orders\fODBase.pas',1270,'',0,1,'',1,0,0,'',1,'','','' 175 Breakpoint4='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fFrame.pas',1021,'',0,1,'',1,0,0,'',1,'','','' 176 Breakpoint5='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fFrame.pas',1098,'',0,1,'',1,0,0,'',1,'','','' 177 Breakpoint6='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fCover.pas',850,'',0,1,'',1,0,0,'',1,'','','' 178 Breakpoint7='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fCover.pas',885,'',0,1,'',1,0,0,'',1,'','','' 179 Breakpoint8='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fCover.pas',654,'',0,1,'',1,0,0,'',1,'','','' 180 Breakpoint9='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fCover.pas',660,'',0,1,'',1,0,0,'',1,'','','' 181 Breakpoint10='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fCover.pas',674,'',0,1,'',1,0,0,'',1,'','','' 182 Breakpoint11='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fPtSel.pas',510,'',0,1,'',1,0,0,'',1,'','','' 183 Breakpoint12='P:\Vista\CPRS-1.0.26.69\CPRS-Chart\fPtSel.pas',501,'',0,1,'',1,0,0,'',1,'','','' 184 Breakpoint13='P:\Vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas',285,'',0,1,'',1,0,0,'',1,'','','' 146 Count=1 147 Breakpoint0='P:\Vista\tmg-cprs\CPRS-Chart\fFrame.pas',4848,'',0,1,'',1,0,0,'',1,'','','' 185 148 186 149 [AddressBreakpoints] … … 192 155 State=0 193 156 Left=0 194 Top= 9195 Width= 1024157 Top=1 158 Width=800 196 159 Height=112 197 160 MaxLeft=-1 198 161 MaxTop=-1 199 ClientWidth= 1016162 ClientWidth=792 200 163 ClientHeight=78 201 164 … … 204 167 Visible=0 205 168 State=0 206 Left= 213207 Top=1 85208 Width= 587209 Height= 462210 MaxLeft=-1 211 MaxTop=-1 212 ClientWidth= 579213 ClientHeight= 436214 TBDockHeight=4 89215 LRDockWidth= 719169 Left=198 170 Top=142 171 Width=689 172 Height=561 173 MaxLeft=-1 174 MaxTop=-1 175 ClientWidth=681 176 ClientHeight=535 177 TBDockHeight=408 178 LRDockWidth=623 216 179 Dockable=1 217 180 218 181 [Components] 219 Left= 240220 Top= 237182 Left=308 183 Top=167 221 184 Width=183 222 Height=2 35185 Height=266 223 186 Create=1 224 187 Visible=0 … … 227 190 MaxTop=-1 228 191 ClientWidth=175 229 ClientHeight=2 09192 ClientHeight=240 230 193 TBDockHeight=235 231 194 LRDockWidth=183 … … 236 199 Visible=0 237 200 State=0 238 Left= 177239 Top=1 42201 Left=0 202 Top=12 240 203 Width=800 241 Height=56 5204 Height=561 242 205 MaxLeft=-1 243 206 MaxTop=-1 244 207 ClientWidth=792 245 ClientHeight=5 31246 DumpPane= 79247 DisassemblyPane= 264208 ClientHeight=527 209 DumpPane=87 210 DisassemblyPane=187 248 211 RegisterPane=231 249 FlagPane= 104212 FlagPane=64 250 213 251 214 [AlignmentPalette] … … 253 216 Visible=0 254 217 State=0 255 Left= 200256 Top=1 14218 Left=53 219 Top=123 257 220 Width=156 258 221 Height=84 … … 266 229 Visible=1 267 230 State=0 268 Left= 2269 Top= 124270 Width= 181271 Height= 591272 MaxLeft=-1 273 MaxTop=-1 274 ClientWidth= 173275 ClientHeight= 565276 TBDockHeight= 367277 LRDockWidth=2 09278 Dockable=1 279 SplitPos= 80231 Left=0 232 Top=0 233 Width=242 234 Height=484 235 MaxLeft=-1 236 MaxTop=-1 237 ClientWidth=242 238 ClientHeight=484 239 TBDockHeight=527 240 LRDockWidth=250 241 Dockable=1 242 SplitPos=128 280 243 ArrangeBy=Name 281 SelectedItem= Name244 SelectedItem=OwnerDraw 282 245 ExpandedItems=Anchors 283 HiddenCategories= 246 HiddenCategories=Legacy 284 247 285 248 [BreakpointWindow] … … 287 250 Visible=0 288 251 State=0 289 Left= 143290 Top=2 85252 Left=31 253 Top=201 291 254 Width=737 292 Height= 197255 Height=350 293 256 MaxLeft=-1 294 257 MaxTop=-1 295 258 ClientWidth=729 296 ClientHeight= 171259 ClientHeight=324 297 260 TBDockHeight=197 298 261 LRDockWidth=737 … … 307 270 [CallStackWindow] 308 271 Create=1 309 Visible= 0310 State=0 311 Left= 32312 Top=4 35313 Width= 469314 Height=2 94315 MaxLeft=-1 316 MaxTop=-1 317 ClientWidth= 461318 ClientHeight= 268319 TBDockHeight= 294320 LRDockWidth= 469272 Visible=1 273 State=0 274 Left=42 275 Top=403 276 Width=874 277 Height=210 278 MaxLeft=-1 279 MaxTop=-1 280 ClientWidth=866 281 ClientHeight=184 282 TBDockHeight=355 283 LRDockWidth=233 321 284 Dockable=1 322 285 … … 343 306 [ObjectTree] 344 307 Create=1 345 Visible= 0346 State=0 347 Left= 413348 Top= 391349 Width= 318350 Height= 379351 MaxLeft=-1 352 MaxTop=-1 353 ClientWidth= 310354 ClientHeight= 353355 TBDockHeight= 248356 LRDockWidth= 190308 Visible=1 309 State=0 310 Left=0 311 Top=0 312 Width=242 313 Height=484 314 MaxLeft=-1 315 MaxTop=-1 316 ClientWidth=242 317 ClientHeight=484 318 TBDockHeight=527 319 LRDockWidth=250 357 320 Dockable=1 358 321 … … 417 380 Visible=0 418 381 State=0 419 Left=3 06420 Top=28 0382 Left=310 383 Top=284 421 384 Width=457 422 385 Height=250 … … 472 435 Top=12 473 436 Width=140 474 Height= 537437 Height=351 475 438 MaxLeft=-1 476 439 MaxTop=-1 477 440 ClientWidth=140 478 ClientHeight= 537441 ClientHeight=351 479 442 TBDockHeight=305 480 443 LRDockWidth=140 … … 487 450 Left=12 488 451 Top=0 489 Width=7 93490 Height= 213491 MaxLeft=-1 492 MaxTop=-1 493 ClientWidth=7 93494 ClientHeight= 213495 TBDockHeight= 213452 Width=757 453 Height=85 454 MaxLeft=-1 455 MaxTop=-1 456 ClientWidth=757 457 ClientHeight=85 458 TBDockHeight=85 496 459 LRDockWidth=443 497 460 Dockable=1 498 461 499 462 [DockHosts] 500 DockHostCount=0 501 463 DockHostCount=1 464 465 [DockSite0] 466 DockSiteType=1 467 Create=1 468 Visible=1 469 State=0 470 Left=8 471 Top=128 472 Width=258 473 Height=539 474 MaxLeft=-1 475 MaxTop=-1 476 ClientWidth=250 477 ClientHeight=513 478 TBDockHeight=539 479 LRDockWidth=258 480 Dockable=1 481 TabPosition=0 482 ActiveTab=Object Inspector 483 TabDockClients=PropertyInspector,ObjectTree 484 -
cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptions.dfm
r453 r473 86 86 Height = 323 87 87 HelpContext = 9999 88 ActivePage = ts Language88 ActivePage = tsCoverSheet 89 89 Align = alClient 90 90 TabOrder = 0 … … 1753 1753 end 1754 1754 object DKLanguageController1: TDKLanguageController 1755 Left = 1361756 Top = 2 401755 Left = 80 1756 Top = 280 1757 1757 LangData = { 1758 1758 0A0066726D4F7074696F6E73010200000001000000070043617074696F6E0200 -
cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsOther.dfm
r453 r473 1 1 object frmOptionsOther: TfrmOptionsOther 2 Left = 3413 Top = 962 Left = 298 3 Top = 189 4 4 Hint = 'Use system default settings' 5 5 HelpContext = 9110 … … 9 9 Caption = 'Other Parameters' 10 10 ClientHeight = 436 11 ClientWidth = 3 2911 ClientWidth = 391 12 12 Color = clBtnFace 13 13 Font.Charset = DEFAULT_CHARSET … … 26 26 object lblMedsTab: TLabel 27 27 Left = 7 28 Top = 1 2129 Width = 1 3530 Height = 2628 Top = 168 29 Width = 178 30 Height = 17 31 31 Hint = 'Set date ranges for displaying medication orders on Meds tab.' 32 32 Caption = 'Set date range for Meds tab display:' … … 44 44 object Bevel1: TBevel 45 45 Left = 1 46 Top = 1 1047 Width = 3 2748 Height = 246 Top = 150 47 Width = 392 48 Height = 3 49 49 end 50 50 object lblEncAppts: TLabel … … 62 62 Left = 1 63 63 Top = 256 64 Width = 3 2764 Width = 392 65 65 Height = 2 66 end 67 object Label1: TLabel 68 Left = 232 69 Top = 27 70 Width = 106 71 Height = 13 72 Caption = 'Select Tab Positioning' 73 end 74 object Label2: TLabel 75 Left = 8 76 Top = 104 77 Width = 83 78 Height = 13 79 Caption = 'Adjust Tab Colors' 80 end 81 object Label3: TLabel 82 Left = 232 83 Top = 104 84 Width = 138 85 Height = 13 86 Caption = '(Click box below to edit color)' 66 87 end 67 88 object pnlBottom: TPanel 68 89 Left = 0 69 90 Top = 403 70 Width = 3 2991 Width = 391 71 92 Height = 33 72 93 HelpContext = 9110 … … 78 99 Left = 0 79 100 Top = 0 80 Width = 3 29101 Width = 391 81 102 Height = 2 82 103 Align = alTop … … 108 129 object stStart: TStaticText 109 130 Left = 7 110 Top = 1 51131 Top = 191 111 132 Width = 55 112 133 Height = 17 … … 115 136 end 116 137 object stStop: TStaticText 117 Left = 7118 Top = 207138 Left = 199 139 Top = 191 119 140 Width = 55 120 141 Height = 17 … … 124 145 object dtStart: TORDateBox 125 146 Left = 7 126 Top = 170127 Width = 1 87147 Top = 210 148 Width = 178 128 149 Height = 21 129 150 TabOrder = 4 … … 135 156 end 136 157 object dtStop: TORDateBox 137 Left = 8138 Top = 2 25158 Left = 200 159 Top = 209 139 160 Width = 186 140 161 Height = 21 … … 148 169 Left = 8 149 170 Top = 6 150 Width = 52171 Width = 62 151 172 Height = 17 152 173 Caption = 'Chart tabs' 174 Font.Charset = DEFAULT_CHARSET 175 Font.Color = clWindowText 176 Font.Height = -11 177 Font.Name = 'MS Sans Serif' 178 Font.Style = [fsBold] 179 ParentFont = False 153 180 TabOrder = 0 154 181 end 155 182 object cboTab: TORComboBox 156 183 Left = 8 157 Top = 51184 Top = 43 158 185 Width = 217 159 186 Height = 21 … … 180 207 object chkLastTab: TCheckBox 181 208 Left = 8 182 Top = 82183 Width = 312209 Top = 74 210 Width = 233 184 211 Height = 21 185 212 HelpContext = 9112 … … 313 340 OnClick = btnEncDefaultsClick 314 341 end 342 object TabPositionComboBox: TComboBox 343 Left = 232 344 Top = 43 345 Width = 145 346 Height = 21 347 ItemHeight = 13 348 ItemIndex = 0 349 TabOrder = 23 350 Text = 'Tabs on BOTTOM' 351 OnChange = TabPositionComboBoxChange 352 Items.Strings = ( 353 'Tabs on BOTTOM' 354 'Tabs on TOP' 355 'Tabs on LEFT' 356 'Tabs on RIGHT') 357 end 358 object pnlShowColor: TPanel 359 Left = 232 360 Top = 120 361 Width = 145 362 Height = 22 363 BevelInner = bvLowered 364 TabOrder = 24 365 OnClick = pnlShowColorClick 366 end 367 object cboTabColors: TComboBox 368 Left = 8 369 Top = 120 370 Width = 217 371 Height = 21 372 ItemHeight = 13 373 ItemIndex = 0 374 TabOrder = 25 375 Text = ' ' 376 OnChange = cboTabColorsChange 377 Items.Strings = ( 378 ' ') 379 end 315 380 object DKLanguageController1: TDKLanguageController 316 381 Left = 152 317 Top = 224382 Top = 8 318 383 LangData = { 319 384 0F0066726D4F7074696F6E734F74686572010300000002000000070043617074 320 696F6E03000000080048656C7046696C6501000000040048696E7401 1B000000385 696F6E03000000080048656C7046696C6501000000040048696E740122000000 321 386 0A006C626C4D656473546162010200000005000000070043617074696F6E0400 322 387 0000040048696E740006006C626C546162010100000006000000070043617074 … … 342 407 6E000E00737453746F70456E6341707074730101000000190000000700436170 343 408 74696F6E000E0062746E456E6344656661756C747301010000001A0000000700 344 43617074696F6E00} 409 43617074696F6E001300546162506F736974696F6E436F6D626F426F78010200 410 00001C00000005004974656D731B0000000400546578740006004C6162656C31 411 01010000001D000000070043617074696F6E0006004C6162656C320101000000 412 1E000000070043617074696F6E000C00706E6C53686F77436F6C6F7200000B00 413 436F6C6F724469616C6F67000006004C6162656C3301010000001F0000000700 414 43617074696F6E000C0063626F546162436F6C6F72730000} 415 end 416 object ColorDialog: TColorDialog 417 Left = 192 418 Top = 8 345 419 end 346 420 end -
cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsOther.pas
r453 r473 39 39 btnEncDefaults: TButton; 40 40 DKLanguageController1: TDKLanguageController; 41 TabPositionComboBox: TComboBox; 42 Label1: TLabel; 43 Label2: TLabel; 44 pnlShowColor: TPanel; 45 ColorDialog: TColorDialog; 46 Label3: TLabel; 47 cboTabColors: TComboBox; 41 48 procedure FormShow(Sender: TObject); 42 49 procedure btnOKClick(Sender: TObject); … … 50 57 procedure txtEncStopExit(Sender: TObject); 51 58 procedure btnEncDefaultsClick(Sender: TObject); 59 procedure TabPositionComboBoxChange(Sender: TObject); 60 procedure cboTabColorsChange(Sender: TObject); 61 procedure pnlShowColorClick(Sender: TObject); 52 62 private 53 63 { Private declarations } … … 66 76 ENC_MAX_LIMIT = 999; 67 77 68 78 69 79 procedure DialogOptionsOther(topvalue, leftvalue, fontsize: integer; var actiontype: Integer); 80 procedure SetTabPosition(Position : TTabPosition); 70 81 71 82 implementation … … 74 85 75 86 uses 76 rOptions, uOptions, rCore, rSurgery, uConst, fMeds ;87 rOptions, uOptions, rCore, rSurgery, uConst, fMeds, fFrame; 77 88 78 89 procedure DialogOptionsOther(topvalue, leftvalue, fontsize: integer; var actiontype: Integer); … … 110 121 values, tab: string; 111 122 begin 112 cboTab.Items.Assign(rpcGetOtherTabs); 123 cboTabColors.Items.Assign(uTabColorsList); //kt added8808 124 cboTabColors.ItemIndex := 0; //kt 125 cboTab.Items.Assign(rpcGetOtherTabs); //kt 126 cboTabColorsChange(nil); //kt 113 127 //if (cboTab.Items.IndexOf('Surgery') > -1) and (not ShowSurgeryTab) then <-- original line. //kt 8/8/2007 114 128 if (cboTab.Items.IndexOf(DKLangConstW('fOptionsOther_Surgery')) > -1) and (not ShowSurgeryTab) then //kt added 8/8/2007 … … 282 296 end; 283 297 298 procedure TfrmOptionsOther.TabPositionComboBoxChange(Sender: TObject); 299 //kt added 8/8/08 300 begin 301 Case TabPositionComboBox.ItemIndex of 302 0 : SetTabPosition(tpBottom); 303 1 : SetTabPosition(tpTop); 304 2 : SetTabPosition(tpLeft); 305 3 : SetTabPosition(tpRight); 306 end; {case} 307 end; 308 309 procedure SetTabPosition(Position : TTabPosition); 310 //kt added 8/8/08 311 begin 312 frmFrame.tabPage.TabPosition := Position; 313 Case Position of 314 tpBottom : frmFrame.tabPage.Align := alBottom; 315 tpTop: frmFrame.tabPage.Align := alTop; 316 tpLeft: frmFrame.tabPage.Align := alLeft; 317 tpRight : frmFrame.tabPage.Align := alRight; 318 end; {case} 319 end; 320 321 322 procedure TfrmOptionsOther.cboTabColorsChange(Sender: TObject); 323 var color : TColor; 324 selIndex : integer; 325 begin 326 selIndex := cboTabColors.ItemIndex; 327 if selIndex < 0 then exit; 328 color := TColor(cboTabColors.Items.Objects[selIndex]); 329 pnlShowColor.Color := color; 330 end; 331 332 procedure TfrmOptionsOther.pnlShowColorClick(Sender: TObject); 333 //kt added 8/8/08 334 var s : string; 335 selIndex : integer; 336 begin 337 if ColorDialog.Execute then begin 338 pnlShowColor.Color := ColorDialog.Color; 339 selIndex := cboTabColors.ItemIndex; 340 if selIndex < 0 then exit; 341 cboTabColors.Items.Objects[selIndex] := pointer(ColorDialog.Color); 342 uTabColorsList.Objects[selIndex] := pointer(ColorDialog.Color); 343 end; 344 end; 345 284 346 end. -
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/fPtDemoEdit.dfm
r453 r473 542 542 end 543 543 end 544 object DKLanguageController1: TDKLanguageController 545 Left = 257 546 Top = 10 547 LangData = { 548 0D0066726D507444656D6F45646974010100000001000000070043617074696F 549 6E013400000005004F4B42746E010100000002000000070043617074696F6E00 550 090043616E63656C42746E010100000003000000070043617074696F6E000800 551 4170706C7942746E010100000004000000070043617074696F6E000B00506167 552 65436F6E74726F6C00000C0044656D6F54616253686565740101000000050000 553 00070043617074696F6E000A004C4E616D654C6162656C010100000006000000 554 070043617074696F6E000A00464E616D654C6162656C01010000000700000007 555 0043617074696F6E000A004D4E616D654C6162656C0101000000080000000700 556 43617074696F6E001100436F6D62696E65644E616D654C6162656C0101000000 557 09000000070043617074696F6E000B005072656669784C6162656C0101000000 558 0A000000070043617074696F6E000B005375666669784C6162656C0101000000 559 0B000000070043617074696F6E000800444F424C6162656C01010000000C0000 560 00070043617074696F6E000A0053534E756D4C6162656C01010000000D000000 561 070043617074696F6E0008005365784C6162656C01010000000E000000070043 562 617074696F6E000B004465677265654C6162656C01010000000F000000070043 563 617074696F6E001000436F6D62696E65644E616D6545646974000009004C4E61 564 6D654564697400000900464E616D6545646974000009004D4E616D6545646974 565 00000A005072656669784564697400000A005375666669784564697400000700 566 444F42456469740000090053534E756D4564697400000D00416C69617347726F 567 7570426F78010100000010000000070043617074696F6E000E00416C6961734E 568 616D654C6162656C010100000011000000070043617074696F6E000F00416C69 569 617353534E756D4C6162656C010100000012000000070043617074696F6E000D 570 00416C696173436F6D626F426F7801010000001300000005004974656D73000D 571 00416C6961734E616D654564697400000C00416C69617353534E456469740000 572 0B0044656C416C69617342746E010100000014000000070043617074696F6E00 573 0B00416464416C69617342746E010100000015000000070043617074696F6E00 574 0F004164647265737347726F7570426F78010100000016000000070043617074 575 696F6E000900436974794C6162656C010100000017000000070043617074696F 576 6E0009005A6970344C6162656C010100000018000000070043617074696F6E00 577 11005374617274696E67446174654C6162656C01010000001900000007004361 578 7074696F6E000F00456E64696E67446174654C6162656C01010000001A000000 579 070043617074696F6E000B00416464726573735247727001020000001B000000 580 070043617074696F6E1C00000005004974656D73001000416464726573734C69 581 6E65314564697400001000416464726573734C696E6532456469740000100041 582 6464726573734C696E65334564697400000800436974794564697400000D0053 583 74617465436F6D626F426F7801020000001E00000005004974656D731D000000 584 0400546578740008005A6970344564697400000C004261644164647265737343 585 4201010000001F000000070043617074696F6E000C0054656D70416374697665 586 4342010100000020000000070043617074696F6E000B0050686F6E654E756D47 587 7270010200000021000000070043617074696F6E2200000005004974656D7300 588 0C0050686F6E654E756D45646974010100000023000000040054657874001000 589 5374617274696E67446174654564697400000E00456E64696E67446174654564 590 697400000C00436F6E6641637469766543420101000000240000000700436170 591 74696F6E000B00536578436F6D626F426F780102000000260000000500497465 592 6D7325000000040054657874000A00446567726565456469740000} 593 end 544 594 end -
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/fPtDemoEdit.pas
r453 r473 6 6 uses 7 7 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 8 Dialogs, ComCtrls, StdCtrls, ExtCtrls ;8 Dialogs, ComCtrls, StdCtrls, ExtCtrls, DKLang; 9 9 10 10 type … … 119 119 DegreeLabel: TLabel; 120 120 AddAliasBtn: TButton; 121 DKLanguageController1: TDKLanguageController; 121 122 procedure AliasComboBoxChange(Sender: TObject); 122 123 procedure FormCreate(Sender: TObject); -
cprs/branches/tmg-cprs/CPRS-Chart/fFrame.dfm
r472 r473 1 1 object frmFrame: TfrmFrame 2 2 Left = 280 3 Top = 1 413 Top = 183 4 4 Width = 684 5 5 Height = 487 … … 630 630 Font.Name = 'MS Sans Serif' 631 631 Font.Style = [] 632 OwnerDraw = True 632 633 ParentFont = False 633 634 TabOrder = 1 634 635 TabPosition = tpBottom 635 636 OnChange = tabPageChange 637 OnDrawTab = tabPageDrawTab 636 638 OnMouseUp = tabPageMouseUp 637 639 end -
cprs/branches/tmg-cprs/CPRS-Chart/fFrame.pas
r472 r473 250 250 procedure mnuViewInformationClick(Sender: TObject); 251 251 procedure EditDemographicsClick(Sender: TObject); 252 procedure tabPageDrawTab(Control: TCustomTabControl; TabIndex: Integer; 253 const Rect: TRect; Active: Boolean); 252 254 private 253 255 //kt Begin Mod (change Consts to Vars) 7/17/2007 … … 319 321 procedure ClearPatient; 320 322 procedure ChangeFont(NewFontSize: Integer); 323 procedure LoadTabColors(INIFile : TIniFile; ColorsList : TStringList); //kt added 8/8/08 324 procedure SaveTabColors(INIFile : TIniFile; ColorsList : TStringList); 321 325 //procedure CreateTab(var AnInstance: TObject; AClass: TClass; ATabID: integer; ALabel: string); 322 326 procedure CreateTab(ATabID: integer; ALabel: string); … … 361 365 procedure HandleCCOWError(AMessage: string); 362 366 procedure SetupVars; 367 procedure DrawTab(Control: TCustomTabControl; TabIndex: Integer; 368 const Rect: TRect; Color : TColor; Active: Boolean); //kt added 8/8/08 363 369 public 364 370 EnduringPtSelSplitterPos: integer; … … 393 399 frmFrame: TfrmFrame; 394 400 uTabList: TStringList; 401 uTabColorsList : TStringList; //kt added 8/8/08 395 402 uRemoteType : string; 396 403 FlaggedPTList: TStringList; … … 424 431 , CCOW_const 425 432 {$ENDIF} 426 , fPtDemoEdit; 433 , fPtDemoEdit 434 , fOptionsOther; 427 435 428 436 var // RV 05/11/04 … … 720 728 i : integer; //kt added 6/29/07 721 729 CPRSChartINI: TINIFile; //elh 6/23/08 730 tempPosition : TTabPosition; //kt 722 731 begin 723 732 //kt 6/29/07 Begin modification ------------------- … … 800 809 Application.OnDeActivate := AppDeActivated; 801 810 802 // load language ini settings 811 // load language ini settings //elh added 803 812 CPRSChartINI := TINIFile.Create(ExtractFilePath(ParamStr(0)) + 'CPRSChart.ini'); // Read from INI elh 6/23/08 804 813 LangManager.LanguageID := CPRSChartINI.ReadInteger('Options','Language',1033); 805 CPRSChartINI.Free; 814 tempPosition := TTabPosition(CPRSChartINI.ReadInteger('TAB_POSITION','Tab Location',0)); 815 if tempPosition > tpRight then tempPosition := tpBottom; 816 fOptionsOther.SetTabPosition(tempPosition); 817 //kt -- end mod -- 806 818 807 819 //frmFrame.Caption := TX_IN_USE + MixedCase(User.Name) + ' (' + RPCBrokerV.Server + ')'; //kt added 808 820 //frmFrame.RenameTabs; //Resets names of tabs to correct translation //kt 809 810 821 811 822 // create initial core objects … … 897 908 RemoteReports := TRemoteReportList.Create; 898 909 uTabList := TStringList.Create; 910 uTabColorsList := TStringList.Create; //kt added 8/8/08 899 911 FlaggedPTList := TStringList.Create; 900 912 HasFlag := False; … … 934 946 end; 935 947 //kt replace later... CreateTab(CT_IMAGES, 'Images'); //kt 8/19/05 948 LoadTabColors(CPRSChartINI,uTabColorsList); //kt added 8/8/08 936 949 937 950 ShowHideChartTabMenus(mnuViewChart); … … 971 984 // if WindowState = wsMinimized then WindowState := wsNormal; 972 985 SetFormMonitoring(true); 986 CPRSChartINI.Free; //kt added 8/8/08 973 987 end; 974 988 … … 1066 1080 if URL='<!HIDE!>' then begin 1067 1081 SetATabVisibility(ATabID, false); 1068 end else begin1082 end else if URL<>'<!NOCHANGE!>' then begin 1069 1083 SetATabVisibility(ATabID, true, TabLabel); 1070 1084 tempFrmWebTab := TfrmWebTab(frmWebTabs[WebTabNum-1]); … … 1145 1159 procedure TfrmFrame.FormDestroy(Sender: TObject); 1146 1160 { free core objects used by CPRS } 1161 var 1162 CPRSChartINI: TINIFile; //kt 8/8/08 1163 1147 1164 begin 1148 1165 Application.OnActivate := FOldActivate; … … 1150 1167 FNextButtonBitmap.Free; 1151 1168 uTabList.Free; 1169 //kt --- 8/8/08 start mod --- 1170 CPRSChartINI := TINIFile.Create(ExtractFilePath(ParamStr(0)) + 'CPRSChart.ini'); 1171 CPRSChartINI.WriteInteger('Options','Language',LangManager.LanguageID); 1172 SaveTabColors(CPRSChartINI,uTabColorsList); 1173 uTabColorsList.Free; 1174 CPRSChartINI.WriteInteger('TAB_POSITION','Tab Location',integer(tabPage.TabPosition)); 1175 //kt --- end mod --- 1176 1152 1177 FlaggedPTList.Free; 1153 1178 RemoteSites.Free; … … 3718 3743 tabPage.Tabs.Add(ALabel); 3719 3744 end; 3745 if uTabColorsList.IndexOf(ALabel) < 0 then //kt added 8/8/08 3746 uTabColorsList.Add(ALabel); //will put colors in later... //kt 3747 end; 3748 3749 procedure TfrmFrame.LoadTabColors(INIFile : TIniFile; ColorsList : TStringList); 3750 //kt added 8/8/08 Entire function 3751 var i : integer; 3752 sValue : string; 3753 value : longword; 3754 begin 3755 value :=0; 3756 for i := 0 to ColorsList.Count-1 do begin 3757 sValue := INIFile.ReadString('TAB_COLORS',ColorsList.Strings[i],IntToStr($00FFFF)); 3758 try 3759 value := StrToInt(sValue) 3760 except 3761 on EConvertError do value := $00FFFF; 3762 end; 3763 ColorsList.Objects[i] := pointer(value); 3764 end; 3765 end; 3766 3767 procedure TfrmFrame.SaveTabColors(INIFile : TIniFile; ColorsList : TStringList); 3768 //kt added 8/8/08 Entire function 3769 var i : integer; 3770 begin 3771 for i := 0 to ColorsList.Count-1 do begin 3772 INIFile.WriteInteger('TAB_COLORS',ColorsList.Strings[i],longword(ColorsList.Objects[i])); 3773 end; 3720 3774 end; 3721 3775 … … 4830 4884 4831 4885 procedure TfrmFrame.EditDemographicsClick(Sender: TObject); 4832 //kt added Function 12/15/07, 6/6/08 4886 //kt added Function 12/15/07, 6/6/08 4833 4887 var EditResult: integer; 4834 4888 begin … … 4837 4891 end; 4838 4892 4893 procedure TfrmFrame.tabPageDrawTab(Control: TCustomTabControl; TabIndex: Integer; 4894 const Rect: TRect; Active: Boolean); 4895 var ALabel : string; 4896 colorIndex : Integer; 4897 color : TColor; 4898 begin 4899 ALabel := TTabControl(Control).Tabs[TabIndex]; 4900 colorIndex := uTabColorsList.IndexOf(ALabel); 4901 if colorIndex < 0 then color := clYellow 4902 else color := TColor(uTabColorsList.Objects[colorIndex]); 4903 DrawTab(Control,TabIndex,Rect,color,Active); 4904 end; 4905 4906 procedure TfrmFrame.DrawTab(Control: TCustomTabControl; TabIndex: Integer; 4907 const Rect: TRect; Color : TColor; Active: Boolean); 4908 var 4909 oRect : TRect; 4910 sCaption,temp : String; 4911 iTop : Integer; 4912 iLeft : Integer; 4913 i : integer; 4914 TabControl : TTabControl; 4915 lf : TLogFont; //Windows native font structure 4916 tf : TFont; 4917 Degrees : integer; 4918 inactiveColor : TColor; 4919 4920 (* 4921 function DecRed(Color : TColor; Amount : byte) : TColor; 4922 var red : longWord; 4923 begin 4924 red := (Color and $0000FF); 4925 if red > Amount then red := red - Amount 4926 else red := 0; 4927 Result := (Color and $FFFF00) or red; 4928 end; 4929 4930 function DecGreen(Color : TColor; Amount : byte) : TColor; 4931 var green : longWord; 4932 begin 4933 green := (Color and $00FF00); 4934 green := green shr 8; 4935 if green > Amount then green := green - Amount 4936 else green := 0; 4937 green := green shl 8; 4938 Result := (Color and $FF00FF) or green; 4939 end; 4940 4941 function DecBlue(Color : TColor; Amount : byte) : TColor; 4942 var blue : longWord; 4943 begin 4944 blue := (Color and $FF0000); 4945 blue := blue shr 16; 4946 if blue > Amount then blue := blue - Amount 4947 else blue := 0; 4948 blue := blue shl 16; 4949 Result := (Color and $00FFFF) or blue; 4950 end; 4951 4952 function Darken(Color : TColor; Amount : byte) : TColor; 4953 begin 4954 result:= DecRed(Color, Amount); 4955 result := DecBlue(result,Amount); 4956 result := DecGreen(result,Amount); 4957 end; 4958 *) 4959 4960 var 4961 DecAmount : Byte; 4962 4963 begin 4964 oRect := Rect; 4965 //DecAmount := 50; 4966 //inactiveColor := Darken(Color,DecAmount); 4967 inactiveColor := Color; 4968 4969 TabControl := TTabControl(Control); 4970 if TabControl.Tabs.Count=0 then exit; 4971 sCaption := TabControl.Tabs.Strings[TabIndex]; 4972 for i := 1 to length(temp) do begin 4973 if temp[i] <> '&' then sCaption := sCaption + temp[i]; 4974 end; 4975 4976 Control.Canvas.Font.Name := 'Tahoma'; 4977 if Active then Control.Canvas.Font.Style := Control.Canvas.Font.Style + [fsBold]; 4978 if Active then Control.Canvas.Font.Color := clBlack 4979 else Control.Canvas.Font.Color := clWhite; 4980 4981 if (TabControl.TabPosition = tpLeft) or (TabControl.TabPosition = tpRight) then begin 4982 4983 if (TabControl.TabPosition = tpLeft) then begin 4984 iTop := Rect.Bottom-4; 4985 if Active then iTop := iTop - 2; 4986 iLeft := Rect.Left + 1; 4987 Degrees := 90; 4988 end else begin 4989 iTop := Rect.Top + 4; 4990 if Active then iTop := iTop + 2; 4991 iLeft := Rect.Right - 2; 4992 Degrees := 270; 4993 end; 4994 tf := TFont.Create; 4995 try 4996 tf.Assign(Control.Canvas.Font); 4997 GetObject(tf.Handle, sizeof(lf), @lf); 4998 lf.lfEscapement := 10 * Degrees; //degrees of desired rotation 4999 lf.lfHeight := Control.Canvas.Font.Height - 2; 5000 tf.Handle := CreateFontIndirect(lf); 5001 Control.Canvas.Font.Assign(tf); 5002 finally 5003 tf.Free; 5004 end; 5005 5006 end else begin 5007 iTop := Rect.Top + ((Rect.Bottom - Rect.Top - Control.Canvas.TextHeight(sCaption)) div 2) + 1; 5008 iLeft := Rect.Left + ((Rect.Right - Rect.Left - Control.Canvas.TextWidth (sCaption)) div 2) + 1; 5009 end; 5010 5011 if Active then begin 5012 //Control.Canvas.Brush.Color := TColor($0000FFFF); //Bright yellow 5013 Control.Canvas.Brush.Color := Color; 5014 Control.Canvas.FillRect(Rect); 5015 end else begin 5016 //Control.Canvas.Brush.Color := TColor($000079EFE8); //dull yellow 5017 Control.Canvas.Brush.Color := inactiveColor; 5018 Control.Canvas.FillRect(Rect); 5019 end; 5020 Control.Canvas.TextOut(iLeft,iTop,sCaption); 5021 end; 5022 5023 5024 5025 4839 5026 initialization 4840 5027
Note:
See TracChangeset
for help on using the changeset viewer.