Ignore:
Timestamp:
May 12, 2010, 3:05:42 PM (15 years ago)
Author:
Kevin Toppenberg
Message:

Fixed several issues with Advanced Users tab

Location:
cprs/branches/GUI-config
Files:
46 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/GUI-config/GUI_Config.dof

    r611 r756  
    101101UsePackages=0
    102102[Parameters]
    103 RunParams=s=127.0.0.1 p=9260 CCOW=disable
     103RunParams=s=192.168.3.99 p=9260 CCOW=DISABLE
    104104HostApplication=
    105105Launcher=
  • cprs/branches/GUI-config/GUI_Config.dsk

    r611 r756  
    22File_0=SourceModule,'P:\vista\GUI-config\PostU.pas',0,1,34,62,10,0,0
    33File_1=SourceModule,'P:\vista\GUI-config\SkinFormU.pas',0,1,87,16,95,0,0
    4 File_2=SourceModule,'P:\vista\GUI-config\BDK32\Source\wsockc.pas',0,1,1468,71,1476,0,0
    5 File_3=SourceModule,'P:\Vista\GUI-config\CPRS-Lib\ORNet.pas',0,1,1,1,310,0,0
    6 File_4=SourceModule,'c:\program files\borland\delphi7\source\vcl\OleCtrls.pas',0,1,85,27,96,0,0
    7 File_5=SourceModule,'P:\vista\GUI-config\BDK32\Source\ccowrpcbroker.pas',0,1,44,29,45,0,0
    8 File_6=SourceModule,'P:\vista\GUI-config\BDK32\Source\VERGENCECONTEXTORLib_TLB.pas',0,1,1104,11,1110,0,0
    9 File_7=SourceModule,'P:\vista\GUI-config\BDK32\Source\TRPCB.pas',0,1,1045,1,1059,0,0
    10 File_8=SourceModule,'P:\vista\GUI-config\CreateTemplateU.pas',0,1,140,11,145,0,0
    11 File_9=SourceModule,'P:\vista\GUI-config\SetSelU.pas',0,1,1,1,1,1,0
     4File_2=SourceModule,'P:\Vista\GUI-config\CPRS-Lib\ORNet.pas',0,1,1,1,310,0,0
     5File_3=SourceModule,'c:\program files\borland\delphi7\source\vcl\OleCtrls.pas',0,1,85,27,96,0,0
     6File_4=SourceModule,'P:\vista\GUI-config\BDK32\Source\ccowrpcbroker.pas',0,1,44,29,45,0,0
     7File_5=SourceModule,'P:\vista\GUI-config\BDK32\Source\VERGENCECONTEXTORLib_TLB.pas',0,1,1104,11,1110,0,0
     8File_6=SourceModule,'P:\vista\GUI-config\BDK32\Source\TRPCB.pas',0,1,1045,1,1059,0,0
     9File_7=SourceModule,'P:\vista\GUI-config\CreateTemplateU.pas',0,1,140,11,145,0,0
     10File_8=SourceModule,'P:\vista\GUI-config\SetSelU.pas',0,1,1,1,1,1,0
    1211
    1312[Modules]
    14 Module0=P:\vista\GUI-config\AboutU.pas
    15 Module1=P:\vista\GUI-config\frmSplash.pas
    16 Module2=P:\vista\GUI-config\MainU.pas
    17 Module3=P:\vista\GUI-config\GUI_Config.dpr
    18 Count=4
     13Module0=P:\vista\GUI-config\MainU.pas
     14Module1=P:\Vista\GUI-config\CPRS-Lib\ORFn.pas
     15Module2=P:\vista\GUI-config\GUI_Config.dpr
     16Module3=P:\vista\GUI-config\AboutU.pas
     17Module4=P:\vista\GUI-config\frmSplash.pas
     18Module5=P:\vista\GUI-config\BDK32\Source\wsockc.pas
     19Count=6
    1920EditWindowCount=1
     21
     22[P:\vista\GUI-config\MainU.pas]
     23ModuleType=SourceModule
     24FormState=1
     25FormOnTop=0
     26
     27[P:\Vista\GUI-config\CPRS-Lib\ORFn.pas]
     28ModuleType=SourceModule
     29FormState=0
     30FormOnTop=0
     31
     32[P:\vista\GUI-config\GUI_Config.dpr]
     33ModuleType=SourceModule
     34FormState=0
     35FormOnTop=0
    2036
    2137[P:\vista\GUI-config\AboutU.pas]
     
    2945FormOnTop=0
    3046
    31 [P:\vista\GUI-config\MainU.pas]
     47[P:\vista\GUI-config\BDK32\Source\wsockc.pas]
    3248ModuleType=SourceModule
    3349FormState=0
    34 FormOnTop=1
    35 
    36 [P:\vista\GUI-config\GUI_Config.dpr]
    37 ModuleType=SourceModule
    38 FormState=0
    3950FormOnTop=0
    4051
     
    4455
    4556[EditWindow0]
    46 ViewCount=4
    47 CurrentView=1
     57ViewCount=6
     58CurrentView=0
    4859View0=0
    4960View1=1
    5061View2=2
    5162View3=3
     63View4=4
     64View5=5
    5265CodeExplorer=CodeExplorer@EditWindow0
    5366MessageView=MessageView@EditWindow0
     
    5568Visible=1
    5669State=0
    57 Left=199
    58 Top=157
     70Left=167
     71Top=159
    5972Width=775
    6073Height=552
     
    6780LeftPanelData=00000400010000000C000000436F64654578706C6F726572000000000000000000000000000000000001000000000000000000000000FFFFFFFF
    6881RightPanelSize=0
    69 BottomPanelSize=0
     82BottomPanelSize=155
    7083BottomPanelClients=MessageView@EditWindow0
    71 BottomPanelData=00000400010000000B0000004D65737361676556696577FF02000000000000029B00000000000000010000000000000000000000000100000000FF0200000B0000004D65737361676556696577FFFFFFFF
     84BottomPanelData=0000040000000000FF02000000000000029B00000000000000010000000000000000000000000100000000FF020000000000000100000000FF0200000B0000004D65737361676556696577FFFFFFFF
    7285
    7386[View0]
    7487Module=P:\vista\GUI-config\MainU.pas
    7588CursorX=1
    76 CursorY=1658
    77 TopLine=1656
     89CursorY=1588
     90TopLine=1579
    7891LeftCol=1
    7992
    8093[View1]
     94Module=P:\Vista\GUI-config\CPRS-Lib\ORFn.pas
     95CursorX=1
     96CursorY=623
     97TopLine=613
     98LeftCol=1
     99
     100[View2]
     101Module=P:\vista\GUI-config\BDK32\Source\wsockc.pas
     102CursorX=1
     103CursorY=1479
     104TopLine=1466
     105LeftCol=1
     106
     107[View3]
    81108Module=P:\vista\GUI-config\AboutU.pas
    82 CursorX=21
    83 CursorY=110
     109CursorX=1
     110CursorY=109
    84111TopLine=98
    85112LeftCol=1
    86113
    87 [View2]
     114[View4]
    88115Module=P:\vista\GUI-config\frmSplash.pas
    89116CursorX=1
     
    92119LeftCol=1
    93120
    94 [View3]
     121[View5]
    95122Module=P:\vista\GUI-config\GUI_Config.dpr
    96123CursorX=1
     
    100127
    101128[Watches]
    102 Count=4
     129Count=5
    103130Watch0='MainMenu.items.count',256,0,18,1,0,'Watches'
    104131Watch1='tempInfo',256,0,18,1,0,'Watches'
    105132Watch2='RPCBrokerV.Results.count',256,0,18,1,0,'Watches'
    106133Watch3='Strings.count',256,0,18,1,0,'Watches'
     134Watch4='Self.Height',256,0,18,1,0,'Watches'
    107135
    108136[WatchWindow]
     
    125153
    126154[Breakpoints]
    127 Count=2
    128 Breakpoint0='P:\vista\GUI-config\MainU.pas',990,'',0,1,'',1,0,0,'',1,'','',''
    129 Breakpoint1='P:\vista\GUI-config\MainU.pas',1879,'',0,1,'',1,0,0,'',1,'','',''
     155Count=12
     156Breakpoint0='P:\vista\GUI-config\MainU.pas',1879,'',0,1,'',1,0,0,'',1,'','',''
     157Breakpoint1='P:\vista\GUI-config\AboutU.pas',109,'',0,1,'',1,0,0,'',1,'','',''
     158Breakpoint2='P:\vista\GUI-config\MainU.pas',2081,'',0,1,'',1,0,0,'',1,'','',''
     159Breakpoint3='P:\vista\GUI-config\MainU.pas',2088,'',0,1,'',1,0,0,'',1,'','',''
     160Breakpoint4='P:\vista\GUI-config\MainU.pas',2104,'',0,1,'',1,0,0,'',1,'','',''
     161Breakpoint5='P:\vista\GUI-config\MainU.pas',2001,'',0,1,'',1,0,0,'',1,'','',''
     162Breakpoint6='P:\vista\GUI-config\MainU.pas',2036,'',0,1,'',1,0,0,'',1,'','',''
     163Breakpoint7='P:\vista\GUI-config\MainU.pas',414,'',0,1,'',1,0,0,'',1,'','',''
     164Breakpoint8='P:\vista\GUI-config\MainU.pas',1295,'',0,1,'',1,0,0,'',1,'','',''
     165Breakpoint9='P:\vista\GUI-config\MainU.pas',2199,'',0,1,'',1,0,0,'',1,'','',''
     166Breakpoint10='P:\vista\GUI-config\MainU.pas',1586,'',0,1,'',1,0,0,'',1,'','',''
     167Breakpoint11='P:\vista\GUI-config\MainU.pas',1592,'',0,1,'',1,0,0,'',1,'','',''
    130168
    131169[AddressBreakpoints]
     
    135173Create=1
    136174Visible=1
    137 State=2
     175State=0
    138176Left=0
    139177Top=0
     
    142180MaxLeft=-1
    143181MaxTop=-1
    144 MaxWidth=1032
    145 MaxHeight=112
    146 ClientWidth=1024
     182ClientWidth=1016
    147183ClientHeight=78
    148184
     
    226262SplitPos=73
    227263ArrangeBy=Name
    228 SelectedItem=Name
     264SelectedItem=OnClick
    229265ExpandedItems=Anchors,Menu,Options
    230266HiddenCategories=Legacy
     
    430466[MessageView@EditWindow0]
    431467Create=1
    432 Visible=0
     468Visible=1
    433469State=0
    434470Left=12
  • cprs/branches/GUI-config/MainU.dfm

    r610 r756  
    11object MainForm: TMainForm
    2   Left = -750
    3   Top = 194
     2  Left = 269
     3  Top = 153
    44  Width = 673
    55  Height = 552
     
    4848    Width = 665
    4949    Height = 498
    50     ActivePage = tsPatients
     50    ActivePage = tsUsers
    5151    Align = alClient
    5252    OwnerDraw = True
     
    221221              Left = 0
    222222              Top = 0
    223               Width = 468
    224               Height = 410
     223              Width = 469
     224              Height = 411
    225225              Cursor = crHandPoint
    226226              Hint = 'Edit User Fields Here'
     
    246246              Left = 0
    247247              Top = 0
    248               Width = 468
    249               Height = 412
     248              Width = 469
     249              Height = 411
    250250              Cursor = crHandPoint
    251251              Hint = 'Edit User Fields Here'
     
    388388            Width = 477
    389389            Height = 439
    390             ActivePage = tsBasicSettings
     390            ActivePage = tsAdvancedSettings
    391391            Align = alClient
    392392            OwnerDraw = True
     
    400400                Left = 0
    401401                Top = 0
    402                 Width = 468
    403                 Height = 410
     402                Width = 469
     403                Height = 411
    404404                Cursor = crHandPoint
    405405                Hint = 'Edit User Fields Here'
     
    425425                Left = 0
    426426                Top = 0
    427                 Width = 492
    428                 Height = 339
     427                Width = 469
     428                Height = 411
    429429                Cursor = crHandPoint
    430430                Hint = 'Edit User Fields Here'
     
    612612            Width = 477
    613613            Height = 439
    614             ActivePage = tsAdvancedPatients
     614            ActivePage = tsBasicPatients
    615615            Align = alClient
    616616            OwnerDraw = True
     
    624624                Left = 0
    625625                Top = 0
    626                 Width = 468
    627                 Height = 410
     626                Width = 469
     627                Height = 411
    628628                Cursor = crHandPoint
    629629                Hint = 'Edit User Fields Here'
     
    940940                Left = 0
    941941                Top = 0
    942                 Width = 468
    943                 Height = 410
     942                Width = 469
     943                Height = 411
    944944                Cursor = crHandPoint
    945945                Hint = 'Edit User Fields Here'
  • cprs/branches/GUI-config/MainU.pas

    r544 r756  
    10371037 
    10381038  procedure TMainForm.ClearGrid(Grid : TStringGrid);
    1039   begin
    1040     Grid.Cells[0,1] := '';
    1041     Grid.Cells[1,1] := '';
    1042     Grid.Cells[2,1] := '';
     1039  var i:integer;
     1040  begin
     1041    for i := 1 to 23 do begin    //elh added to clear all data as some residual remained
     1042       Grid.Cells[0,i] := '';
     1043       Grid.Cells[1,i] := '';
     1044       Grid.Cells[2,i] := '';
     1045    end;
    10431046    Grid.RowCount :=2;
    10441047  end;
     
    14781481      //Reject any value containing a "^" , ":" , ";"
    14791482      //Do we need an @ here as well?
    1480       if (AnsiPos('^',Entry.newvalue) > 0) or (AnsiPos(':',Entry.newvalue) > 0) or
     1483      if (AnsiPos('^',Entry.newvalue) > 0) or //(AnsiPos(':',Entry.newvalue) > 0) or   //elh Taken out because : used in time
    14811484         (AnsiPos(';',Entry.newvalue) > 0)then begin
    14821485         messagedlg('Invalid value entered for ' + Entry.Fieldname + #13 + #10
     
    19121915  procedure TMainForm.UserPageControlChange(Sender: TObject);
    19131916  begin
    1914     if SettingsPageControl.ActivePage = tsBasicSettings then begin
    1915       SetVisibleGridIdx(BasicUsersGrid);       
     1917    if UserPageControl.ActivePage = tsBasicPage then begin
     1918      SetVisibleGridIdx(BasicUsersGrid);
    19161919    end else begin
    19171920      SetVisibleGridIdx(AdvancedUsersGrid);       
Note: See TracChangeset for help on using the changeset viewer.