Changeset 54 for trunk/Client/Forms
- Timestamp:
- Oct 12, 2012, 11:43:43 AM (12 years ago)
- Location:
- trunk/Client/Forms
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Client/Forms/UFormImportStructure.pas
r49 r54 126 126 127 127 SQLTables.Clear; 128 GroupId := Core.System.Add Group(Database.Database, 0);128 GroupId := Core.System.AddMenu(Database.Database, 0); 129 129 Database.Query(DbRows, 'SHOW TABLES'); 130 130 for T := 0 to DbRows.Count - 1 do begin … … 133 133 TableName := DbRows[T].Items[0].Value; 134 134 Memo1.Lines.Add('Create object "' + TableName + '"'); 135 NewTable.Table.Add('ObjId', IntToStr(Core.System.AddObject(TableName, TableName, Database.Database , GroupId)));135 NewTable.Table.Add('ObjId', IntToStr(Core.System.AddObject(TableName, TableName, Database.Database))); 136 136 end; 137 137 -
trunk/Client/Forms/UFormItemEdit.pas
r53 r54 141 141 Proxy.Free; 142 142 end; 143 if (SelectedObject.Table = ObjectGroupTable) or144 (SelectedObject.Table = ObjectTable) then143 if (SelectedObject.Table = SystemMenuTable) or 144 (SelectedObject.Table = SystemObjectTable) then 145 145 FormMenu.LoadTree; 146 146 //MainForm.LoadItemList; -
trunk/Client/Forms/UFormMain.lfm
r50 r54 6 6 ActiveControl = PanelMenu 7 7 Caption = 'ChronIS' 8 ClientHeight = 42 18 ClientHeight = 427 9 9 ClientWidth = 640 10 10 Icon.Data = { … … 153 153 object PanelMenu: TPanel 154 154 Left = 0 155 Height = 3 74155 Height = 381 156 156 Top = 26 157 157 Width = 184 … … 162 162 object PanelData: TPanel 163 163 Left = 189 164 Height = 3 74164 Height = 381 165 165 Top = 26 166 166 Width = 451 … … 171 171 object Splitter1: TSplitter 172 172 Left = 184 173 Height = 3 74173 Height = 381 174 174 Top = 26 175 175 Width = 5 … … 177 177 object StatusBar1: TStatusBar 178 178 Left = 0 179 Height = 2 1180 Top = 40 0179 Height = 20 180 Top = 407 181 181 Width = 640 182 182 Panels = < -
trunk/Client/Forms/UFormMain.pas
r52 r54 150 150 if Core.System.Active then 151 151 with Core.System.Client do 152 StatusBar1.Panels[0].Text := User + '@' + Host + ':' + IntToStr(Port) + '/' + Schema; 152 StatusBar1.Panels[0].Text := User + '@' + Host + ':' + IntToStr(Port) + '/' + Schema 153 else StatusBar1.Panels[0].Text := ''; 153 154 154 155 for I := 0 to ToolBar1.ButtonCount - 1 do -
trunk/Client/Forms/UFormMenu.lfm
r51 r54 1 1 object FormMenu: TFormMenu 2 Left = 33 32 Left = 335 3 3 Height = 487 4 Top = 704 Top = 108 5 5 Width = 262 6 6 Caption = 'Navigation' … … 10 10 OnDestroy = FormDestroy 11 11 LCLVersion = '0.9.31' 12 object TabControl1: TTabControl 13 Left = 0 14 Height = 26 15 Top = 0 16 Width = 262 17 TabIndex = 0 18 Tabs.Strings = ( 19 'All' 20 'Favorite' 21 'History' 22 ) 23 Align = alTop 24 TabOrder = 0 25 end 12 26 object TreeViewMenu: TTreeView 13 27 Left = 2 14 Height = 4 8315 Top = 2 28 Height = 457 29 Top = 28 16 30 Width = 258 17 31 Align = alClient 18 32 BorderSpacing.Around = 2 19 33 DefaultItemHeight = 16 20 Images = MainForm.ImageListActions21 34 PopupMenu = PopupMenuObjectGroup 22 35 ReadOnly = True 23 TabOrder = 036 TabOrder = 1 24 37 OnChange = TreeViewMenuChange 25 38 OnDblClick = AObjectGroupShowExecute -
trunk/Client/Forms/UFormMenu.pas
r53 r54 31 31 PopupMenuObject: TPopupMenu; 32 32 PopupMenuObjectGroup: TPopupMenu; 33 TabControl1: TTabControl; 33 34 TreeViewMenu: TTreeView; 34 35 procedure AObjectEditExecute(Sender: TObject); … … 141 142 Groups := TListProxy.Create; 142 143 Groups.Client := Core.System.Client; 143 Groups.ObjectName := ObjectGroupTable;144 Groups.ObjectName := SystemMenuTable; 144 145 Groups.Path := Core.System.Client.Schema; 145 146 Groups.Load; … … 153 154 Objects := TListProxy.Create; 154 155 Objects.Client := Core.System.Client; 155 Objects.ObjectName := ObjectTable;156 Objects.ObjectName := SystemObjectTable; 156 157 Objects.Path := Core.System.Client.Schema; 157 158 Objects.Condition := '`Group`="' + Obj.Properties.Values['Id'] + '"';
Note:
See TracChangeset
for help on using the changeset viewer.