Changeset 493 for cprs/branches/GUI-config
- Timestamp:
- Sep 17, 2008, 5:49:40 PM (16 years ago)
- Location:
- cprs/branches/GUI-config
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/GUI-config/BatchAddU.pas
r476 r493 80 80 implementation 81 81 82 uses CreateTemplateU, StrUtils, ORNet, ORFn, Trpcb, FMErrorU;82 uses CreateTemplateU, StrUtils, ORNet, ORFn, Trpcb, FMErrorU; 83 83 84 84 const NOT_ADDED='(Not Added)'; -
cprs/branches/GUI-config/DebugU.dfm
r488 r493 52 52 Align = alBottom 53 53 TabOrder = 2 54 Visible = False 54 55 DesignSize = ( 55 56 510 -
cprs/branches/GUI-config/GUI_Config.cfg
r476 r493 34 34 -LE"c:\program files\borland\delphi7\Projects\Bpl" 35 35 -LN"c:\program files\borland\delphi7\Projects\Bpl" 36 -U"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff "37 -O"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff "38 -I"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff "39 -R"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff "36 -U"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source" 37 -O"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source" 38 -I"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source" 39 -R"P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source" 40 40 -DUSE_SKINS 41 41 -w-UNSAFE_TYPE -
cprs/branches/GUI-config/GUI_Config.dof
r488 r493 95 95 PackageDLLOutputDir= 96 96 PackageDCPOutputDir= 97 SearchPath=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff 97 SearchPath=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source 98 98 Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclaxserver;TntUnicodeVcl_R70;dcldklang7;dklang7;PNGpackage 99 99 Conditionals=USE_SKINS … … 142 142 Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; 143 143 [HistoryLists\hlSearchPath] 144 Count=10 145 Item0=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff 146 Item1=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu 147 Item2=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;P:\Vista\GUI-config\SkinStuff 148 Item3=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics;P:\Vista\GUI-config\SkinStuff 149 Item4=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics 150 Item5=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu 151 Item6=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib 152 Item7=..\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker\Source;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker\D6 153 Item8=..\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics 154 Item9=..\CPRS-Lib 144 Count=11 145 Item0=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;P:\vista\tmg-cprs\BDK32;P:\vista\tmg-cprs\BDK32\Source 146 Item1=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff 147 Item2=P:\Vista\GUI-config\CPRS-Lib;P:\Vista\GUI-config\CPRS-Lib\DCU;P:\Vista\GUI-config\SkinStuff;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu 148 Item3=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;P:\Vista\GUI-config\SkinStuff 149 Item4=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics;P:\Vista\GUI-config\SkinStuff 150 Item5=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics 151 Item6=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\dcu 152 Item7=C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib 153 Item8=..\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker\Source;C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-1.0.23.15\Broker\D6 154 Item9=..\CPRS-Lib;C:\Program Files\Borland\Delphi7\Projects\TPNGGraphics 155 Item10=..\CPRS-Lib 155 156 [HistoryLists\hlUnitOutputDirectory] 156 157 Count=1 -
cprs/branches/GUI-config/GUI_Config.dpr
r488 r493 28 28 Forms, 29 29 MainU in 'MainU.pas' {MainForm}, 30 ORNet in '..\CPRS-Lib\ORNet.pas',31 30 ORFn in '..\CPRS-Lib\ORFn.pas', 32 31 frmSplash in 'frmSplash.pas' {SplashForm}, -
cprs/branches/GUI-config/GUI_Config.dsk
r488 r493 1 1 [Closed Files] 2 File_0=SourceModule,'P:\Vista\GUI-config\MainU.dfm',0,1,1,1,1,0,0 3 File_1=SourceModule,'P:\Vista\GUI-config\SkinStuff\ipSkinManager.dcu',0,1,1,11,5,0,0 4 File_2=SourceModule,'P:\Vista\GUI-config\PostU.pas',0,1,162,47,166,0,0 5 File_3=SourceModule,'P:\Vista\GUI-config\SelDateTimeU.pas',0,1,1,1,5,0,0 6 File_4=SourceModule,'C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\ORFn.pas',0,1,610,1,621,0,0 7 File_5=SourceModule,'C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\ORCtrls.pas',0,1,1171,1,1182,0,0 8 File_6=SourceModule,'c:\program files\borland\delphi7\projects\vista\cprs-1.0.23.15\broker\source\Trpcb.pas',0,1,1013,1,1021,0,0 9 File_7=SourceModule,'C:\Program Files\Borland\Delphi7\Projects\Vista\CPRS-Lib\ORNet.pas',0,1,53,1,65,0,0 2 File_0=SourceModule,'P:\vista\tmg-cprs\BDK32\Source\wsockc.pas',0,1,1464,17,1475,0,0 3 File_1=SourceModule,'P:\Vista\GUI-config\MainU.dfm',0,1,1,1,1,0,0 4 File_2=SourceModule,'P:\vista\GUI-config\SkinFormU.pas',0,1,1,1,1,1,1 5 File_3=SourceModule,'P:\Vista\GUI-config\LookupU.dfm',0,1,1,1,1,0,0 6 File_4=SourceModule,'P:\vista\tmg-cprs\BDK32\Source\VERGENCECONTEXTORLib_TLB.pas',0,1,124,29,11,0,0 7 File_5=SourceModule,'C:\Program Files\VISTA\BDK32_is_this_old\Source\Trpcb.pas',0,1,43,1,53,0,0 8 File_6=SourceModule,'P:\vista\GUI-config\CPRS-Lib\ORNet.pas',0,1,188,21,195,0,0 9 File_7=SourceModule,'C:\PROGRA~1\VISTA\BDK32\Source\VERGENCECONTEXTORLib_TLB.pas',0,1,1109,31,1120,0,0 10 File_8=SourceModule,'c:\program files\borland\delphi7\source\vcl\OleCtrls.pas',0,1,86,12,92,0,0 11 File_9=SourceModule,'c:\program files\borland\delphi7\source\rtl\Win\ShellAPI.pas',0,1,1,1,1,0,0 10 12 11 13 [Modules] 12 Module0=P:\ Vista\GUI-config\MainU.pas13 Module1=P:\ vista\GUI-config\DebugU.pas14 Module2=P:\ Vista\GUI-config\GUI_Config.dpr14 Module0=P:\vista\GUI-config\GUI_Config.dpr 15 Module1=P:\Vista\GUI-config\MainU.pas 16 Module2=P:\vista\GUI-config\DebugU.pas 15 17 Module3=P:\Vista\GUI-config\CPRS-Lib\ORCtrls.pas 16 Module4=P:\Vista\GUI-config\S kinFormU.pas17 Module5=P:\Vista\GUI-config\ SubfilesU.pas18 Module4=P:\Vista\GUI-config\SubfilesU.pas 19 Module5=P:\Vista\GUI-config\CPRS-Lib\ORFn.pas 18 20 Module6=P:\Vista\GUI-config\BatchAddU.pas 19 21 Module7=P:\Vista\GUI-config\frmSplash.pas 20 Module8=c:\program files\borland\delphi7\source\rtl\Win\ShellAPI.pas 21 Module9=c:\program files\borland\delphi7\source\vcl\OleCtrls.pas 22 Module10=P:\Vista\GUI-config\LookupU.pas 23 Count=11 22 Module8=P:\vista\GUI-config\SkinFormU.dfm 23 Module9=P:\vista\GUI-config\CreateTemplateU.pas 24 Module10=P:\vista\GUI-config\EditTextU.pas 25 Module11=P:\vista\GUI-config\PostU.pas 26 Module12=P:\vista\GUI-config\SetSelU.pas 27 Module13=P:\Vista\GUI-config\LookupU.pas 28 Count=14 24 29 EditWindowCount=1 25 30 31 [P:\vista\GUI-config\GUI_Config.dpr] 32 ModuleType=SourceModule 33 FormState=0 34 FormOnTop=0 35 26 36 [P:\Vista\GUI-config\MainU.pas] 27 37 ModuleType=SourceModule … … 34 44 FormOnTop=0 35 45 36 [P:\Vista\GUI-config\GUI_Config.dpr]37 ModuleType=SourceModule38 FormState=039 FormOnTop=040 41 46 [P:\Vista\GUI-config\CPRS-Lib\ORCtrls.pas] 42 47 ModuleType=SourceModule … … 44 49 FormOnTop=0 45 50 46 [P:\Vista\GUI-config\S kinFormU.pas]51 [P:\Vista\GUI-config\SubfilesU.pas] 47 52 ModuleType=SourceModule 48 53 FormState=1 49 54 FormOnTop=0 50 55 51 [P:\Vista\GUI-config\SubfilesU.pas] 56 [P:\Vista\GUI-config\CPRS-Lib\ORFn.pas] 57 ModuleType=SourceModule 58 FormState=0 59 FormOnTop=0 60 61 [P:\Vista\GUI-config\BatchAddU.pas] 52 62 ModuleType=SourceModule 53 63 FormState=1 54 64 FormOnTop=0 55 65 56 [P:\Vista\GUI-config\BatchAddU.pas]57 ModuleType=SourceModule58 FormState=159 FormOnTop=060 61 66 [P:\Vista\GUI-config\frmSplash.pas] 62 67 ModuleType=SourceModule … … 64 69 FormOnTop=0 65 70 66 [c:\program files\borland\delphi7\source\rtl\Win\ShellAPI.pas] 67 ModuleType=SourceModule 68 FormState=0 69 FormOnTop=0 70 71 [c:\program files\borland\delphi7\source\vcl\OleCtrls.pas] 71 [P:\vista\GUI-config\SkinFormU.dfm] 72 ModuleType=SourceModule 73 FormState=0 74 FormOnTop=0 75 76 [P:\vista\GUI-config\CreateTemplateU.pas] 77 ModuleType=SourceModule 78 FormState=0 79 FormOnTop=0 80 81 [P:\vista\GUI-config\EditTextU.pas] 82 ModuleType=SourceModule 83 FormState=0 84 FormOnTop=0 85 86 [P:\vista\GUI-config\PostU.pas] 87 ModuleType=SourceModule 88 FormState=0 89 FormOnTop=0 90 91 [P:\vista\GUI-config\SetSelU.pas] 72 92 ModuleType=SourceModule 73 93 FormState=0 … … 84 104 85 105 [EditWindow0] 86 ViewCount=1 187 CurrentView= 0106 ViewCount=14 107 CurrentView=11 88 108 View0=0 89 109 View1=1 … … 97 117 View9=9 98 118 View10=10 119 View11=11 120 View12=12 121 View13=13 99 122 CodeExplorer=CodeExplorer@EditWindow0 100 123 MessageView=MessageView@EditWindow0 … … 114 137 LeftPanelData=00000400010000000C000000436F64654578706C6F726572C600000000000000027F01000000000000010000000000000000000000000100000000C600000000000000FFFFFFFF 115 138 RightPanelSize=0 116 BottomPanelSize= 205139 BottomPanelSize=0 117 140 BottomPanelClients=WatchWindow,MessageView@EditWindow0 118 BottomPanelData=000004000 10000000B000000576174636857696E646F77000300000000000002CD0000000000000001000000008B010000000000000100000001580300000000000002000000006C000000000000000200000002BE0000000000000003000000000000000000000000030000000000000000000000000300000000AC0100000000000003000000005803000000000000030000000058030000000000000300000000580300000000000003000000005803000000000000030000000058030000000000000200000000D80000000000000001000000005803000000000000010000000058030000000000000100000000AC0100000000000001000000005803000000000000010000000058030000000000000100000000AC010000000000000100000000C401000000000000010000000066000000000000000100000000D7020000000000000100000000160300000000000001000000001603000000000000010000000016030000000000000100000000160300000000000001000000008B0100000000000001000000008B0100000000000001000000008B010000000000000100000000F8020000000000000100000000FD02000000000000010000000016030000000000000100000000160300000000000001000000007E01000000000000010000000100030000000000000200000000CD0000000B0000004D657373616765566965770200000000CD0000000000000001000000000003000000000000FFFFFFFF141 BottomPanelData=00000400020000000B000000576174636857696E646F770B0000004D65737361676556696577000300000000000002CD0000000000000001000000008B010000000000000100000001580300000000000002000000006C000000000000000200000002BE0000000000000003000000000000000000000000030000000000000000000000000300000000AC0100000000000003000000005803000000000000030000000058030000000000000300000000580300000000000003000000005803000000000000030000000058030000000000000200000000D80000000000000001000000005803000000000000010000000058030000000000000100000000AC0100000000000001000000005803000000000000010000000058030000000000000100000000AC010000000000000100000000C401000000000000010000000066000000000000000100000000D7020000000000000100000000160300000000000001000000001603000000000000010000000016030000000000000100000000160300000000000001000000008B0100000000000001000000008B0100000000000001000000008B010000000000000100000000F8020000000000000100000000FD02000000000000010000000016030000000000000100000000160300000000000001000000007E01000000000000010000000100030000000000000200000000CD0000000B0000004D657373616765566965770200000000CD0000000000000001000000000003000000000000FFFFFFFF 119 142 120 143 [View0] 121 144 Module=P:\Vista\GUI-config\MainU.pas 122 CursorX= 3123 CursorY= 33124 TopLine=2 5145 CursorX=1 146 CursorY=297 147 TopLine=281 125 148 LeftCol=1 126 149 127 150 [View1] 151 Module=P:\Vista\GUI-config\CPRS-Lib\ORCtrls.pas 152 CursorX=22 153 CursorY=343 154 TopLine=336 155 LeftCol=1 156 157 [View2] 128 158 Module=P:\vista\GUI-config\DebugU.pas 129 CursorX= 13130 CursorY= 13159 CursorX=28 160 CursorY=4 131 161 TopLine=1 132 162 LeftCol=1 133 163 134 [View 2]135 Module=P:\Vista\GUI-config\ CPRS-Lib\ORCtrls.pas164 [View3] 165 Module=P:\Vista\GUI-config\LookupU.pas 136 166 CursorX=1 137 167 CursorY=1 … … 139 169 LeftCol=1 140 170 141 [View3]142 Module=P:\Vista\GUI-config\LookupU.pas143 CursorX=11144 CursorY=120145 TopLine=110146 LeftCol=1147 148 171 [View4] 149 Module= c:\program files\borland\delphi7\source\vcl\OleCtrls.pas150 CursorX= 12151 CursorY= 92152 TopLine= 86172 Module=P:\Vista\GUI-config\CPRS-Lib\ORFn.pas 173 CursorX=38 174 CursorY=41 175 TopLine=1 153 176 LeftCol=1 154 177 155 178 [View5] 156 179 Module=P:\Vista\GUI-config\SubfilesU.pas 157 CursorX= 5158 CursorY= 195159 TopLine= 195180 CursorX=9 181 CursorY=97 182 TopLine=89 160 183 LeftCol=1 161 184 162 185 [View6] 163 Module=P:\ Vista\GUI-config\SkinFormU.pas164 CursorX= 16165 CursorY= 95166 TopLine= 87186 Module=P:\vista\GUI-config\SetSelU.pas 187 CursorX=9 188 CursorY=32 189 TopLine=24 167 190 LeftCol=1 168 191 169 192 [View7] 170 Module=c:\program files\borland\delphi7\source\rtl\Win\ShellAPI.pas 193 Module=P:\vista\GUI-config\PostU.pas 194 CursorX=9 195 CursorY=42 196 TopLine=34 197 LeftCol=1 198 199 [View8] 200 Module=P:\vista\GUI-config\EditTextU.pas 201 CursorX=22 202 CursorY=64 203 TopLine=56 204 LeftCol=1 205 206 [View9] 207 Module=P:\vista\GUI-config\CreateTemplateU.pas 208 CursorX=22 209 CursorY=87 210 TopLine=79 211 LeftCol=1 212 213 [View10] 214 Module=P:\vista\GUI-config\SkinFormU.dfm 171 215 CursorX=1 172 216 CursorY=1 … … 174 218 LeftCol=1 175 219 176 [View 8]177 Module=P:\ Vista\GUI-config\GUI_Config.dpr220 [View11] 221 Module=P:\vista\GUI-config\GUI_Config.dpr 178 222 CursorX=1 179 CursorY=6 8180 TopLine= 60181 LeftCol=1 182 183 [View 9]223 CursorY=67 224 TopLine=59 225 LeftCol=1 226 227 [View12] 184 228 Module=P:\Vista\GUI-config\frmSplash.pas 185 229 CursorX=20 … … 188 232 LeftCol=1 189 233 190 [View1 0]234 [View13] 191 235 Module=P:\Vista\GUI-config\BatchAddU.pas 192 CursorX= 16193 CursorY= 16194 TopLine= 1236 CursorX=30 237 CursorY=83 238 TopLine=74 195 239 LeftCol=1 196 240 … … 222 266 [Breakpoints] 223 267 Count=1 224 Breakpoint0='P:\Vista\GUI-config\MainU.pas',2 118,'',0,1,'',1,0,0,'',1,'','',''268 Breakpoint0='P:\Vista\GUI-config\MainU.pas',295,'',0,1,'',1,0,0,'',1,'','','' 225 269 226 270 [AddressBreakpoints] … … 242 286 [ProjectManager] 243 287 Create=1 244 Visible= 0245 State=0 246 Left=1 98247 Top=1 42288 Visible=1 289 State=0 290 Left=172 291 Top=159 248 292 Width=689 249 293 Height=561 … … 319 363 SplitPos=114 320 364 ArrangeBy=Name 321 SelectedItem= Name365 SelectedItem=Visible 322 366 ExpandedItems=Anchors,Options 323 367 HiddenCategories=Legacy … … 523 567 [MessageView@EditWindow0] 524 568 Create=1 525 Visible= 1569 Visible=0 526 570 State=0 527 571 Left=12 -
cprs/branches/GUI-config/LookupU.pas
r482 r493 23 23 License along with this library; if not, write to the Free Software 24 24 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 25 *) 25 *) 26 26 27 27 interface … … 43 43 { Private declarations } 44 44 FFileNum : String; 45 45 46 46 public 47 47 { Public declarations } -
cprs/branches/GUI-config/MainU.dfm
r488 r493 890 890 OnClick = PatientORComboBoxClick 891 891 OnNeedData = PatientORComboBoxNeedData 892 CharsNeedMatch = 1 892 893 end 893 894 end … … 1173 1174 OnClick = FileORComboBoxClick 1174 1175 OnNeedData = FileORComboBoxNeedData 1176 CharsNeedMatch = 1 1175 1177 end 1176 1178 end … … 1225 1227 OnClick = RecordORComboBoxClick 1226 1228 OnNeedData = RecordORComboBoxNeedData 1229 CharsNeedMatch = 1 1227 1230 end 1228 1231 end -
cprs/branches/GUI-config/MainU.pas
r488 r493 24 24 License along with this library; if not, write to the Free Software 25 25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 26 *) 26 *) 27 27 28 28 interface … … 32 32 Dialogs, StdCtrls, StrUtils, 33 33 ORNet, ORFn, ComCtrls, ToolWin, Grids, ORCtrls, ExtCtrls, Buttons, 34 AppEvnts, Menus, ImgList, 35 {$IFDEF USE_SKINS} 36 ipSkinManager, 34 AppEvnts, Menus, ImgList, 35 {$IFDEF USE_SKINS} 36 ipSkinManager, 37 37 {$ENDIF} 38 Trpcb, 38 39 ValEdit; 39 40 … … 45 46 IENS : string; 46 47 oldValue,newValue : string; 47 end; 48 end; 48 49 49 50 TGridInfo = class; //forward declaration … … 207 208 CachedWPField : TStringList; 208 209 FVisibleGridIdx : integer; 209 procedure ShowDebugClick(Sender: TObject); 210 procedure ShowDebugClick(Sender: TObject); 210 211 function FindParam(Param : string) : string; 211 212 function GetCurrentUserName : string; … … 281 282 282 283 uses 283 frmSplash, Trpcb ,LookupU, SubfilesU, SetSelU, SelDateTimeU, PostU,284 frmSplash, {Trpcb,} LookupU, SubfilesU, SetSelU, SelDateTimeU, PostU, 284 285 FMErrorU, AboutU, PleaseWaitU, EditTextU, CreateTemplateU, SkinFormU, 285 286 BatchAddU, DebugU; … … 290 291 291 292 procedure TMainForm.Initialize; 292 var tempMenu,tempSubMenu : TMenuItem; 293 var tempMenu,tempSubMenu : TMenuItem; 293 294 begin 294 295 DebugMode := (FindParam('debug')='enable'); … … 299 300 tempMenu.OnClick := ShowDebugClick; 300 301 FileMenu.Add(tempMenu); 301 end; 302 {$IFDEF USE_SKINS} 302 end else begin 303 DebugForm.Hide; 304 end; 305 {$IFDEF USE_SKINS} 303 306 DebugForm.Memo.Lines.Add('Adding Menus'); 304 307 tempMenu := TMenuItem.Create(MainMenu); … … 307 310 tempSubMenu.Caption := '&Change Skin'; 308 311 tempSubMenu.OnClick := ChangeSkinClick; 309 tempMenu.Add(tempSubMenu); 312 tempMenu.Add(tempSubMenu); 310 313 MainMenu.Items.Add(tempMenu); 311 314 {$ENDIF} … … 313 316 DebugForm.Memo.Lines.Add('Showing Splash'); 314 317 SplashForm.show; 315 318 316 319 FLoadingGrid := false; 317 320 SettingsFiles := TStringList.Create; … … 320 323 CurrentPatientData := TStringList.Create; 321 324 CurrentAnyFileData := TStringList.Create; 322 325 323 326 DataForGrid := TStringList.Create; //will own GridInfo objects. 324 327 CachedHelp := TStringList.Create; 325 CachedHelpIdx := TStringList.Create; 326 CachedWPField := TStringList.Create; 327 328 CachedHelpIdx := TStringList.Create; 329 CachedWPField := TStringList.Create; 330 328 331 DebugForm.Memo.Lines.Add('Adding Grid Info'); 329 332 AddGridInfo(BasicUsersGrid,CurrentUserData,true,LoadUserData,'200',btnUsersApply,btnUsersRevert); 330 AddGridInfo(AdvancedUsersGrid,CurrentUserData,false,LoadUserData,'200',btnUsersApply,btnUsersRevert); 333 AddGridInfo(AdvancedUsersGrid,CurrentUserData,false,LoadUserData,'200',btnUsersApply,btnUsersRevert); 331 334 AddGridInfo(BasicSettingsGrid,CurrentSettingsData,true,GetSettingsInfo,'',btnSettingsApply,btnSettingsRevert); 332 AddGridInfo(AdvancedSettingsGrid,CurrentSettingsData,false,GetSettingsInfo,'',btnSettingsApply,btnSettingsRevert); 335 AddGridInfo(AdvancedSettingsGrid,CurrentSettingsData,false,GetSettingsInfo,'',btnSettingsApply,btnSettingsRevert); 333 336 AddGridInfo(BasicPatientGrid,CurrentPatientData,true,GetPatientInfo,'2',btnPatientApply,btnPatientRevert); 334 337 AddGridInfo(AdvancedPatientGrid,CurrentPatientData,false,GetPatientInfo,'2',btnPatientApply,btnPatientRevert); … … 336 339 337 340 MainForm.Visible := false; 341 338 342 DebugForm.Memo.Lines.Add('Trying to connect to server'); 339 343 if not ORNet.ConnectToServer(RPC_CONTEXT) then begin 340 344 DebugForm.Memo.Lines.Add('Failed connection. Closing.'); 341 Close; 345 Close; 342 346 Exit; 343 347 end;
Note:
See TracChangeset
for help on using the changeset viewer.