diff --git a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lpi b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lpi index 6f1045e16..006fc3ea1 100644 --- a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lpi +++ b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lpi @@ -10,9 +10,6 @@ - - - @@ -50,6 +47,7 @@ + diff --git a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lps b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lps index a7887ffa0..0b7b59cae 100644 --- a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lps +++ b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/project1.lps @@ -28,20 +28,25 @@ + - + + + + + - + @@ -49,7 +54,7 @@ - + @@ -83,8 +88,16 @@ - + + + + + + + + + diff --git a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/unit1.lfm b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/unit1.lfm index b6841843c..2ff14779f 100644 --- a/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/unit1.lfm +++ b/components/rx/trunk/Demos/RxDBGrid_Filter/ZEOS/unit1.lfm @@ -14,13 +14,13 @@ object Form1: TForm1 Top = 0 Width = 741 ColumnDefValues.BlobText = '(данные)' - TitleButtons = False + TitleButtons = True AutoSort = True Columns = < item Title.Alignment = taCenter Title.Orientation = toHorizontal - Title.Caption = 'DEPT_NO' + Title.Caption = 'DEP|DEPT_NO' Width = 70 FieldName = 'DEPT_NO' EditButtons = <> @@ -34,7 +34,7 @@ object Form1: TForm1 item Title.Alignment = taCenter Title.Orientation = toHorizontal - Title.Caption = 'DEPARTMENT' + Title.Caption = 'DEP|DEPARTMENT' Width = 250 FieldName = 'DEPARTMENT' EditButtons = <> @@ -127,7 +127,7 @@ object Form1: TForm1 SelectedColor = clHighlight GridLineStyle = psSolid DataSource = DataSource1 - Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColumnMove, dgColLines, dgRowLines, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit] + Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColumnMove, dgColLines, dgRowLines, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgHeaderPushedLook] ParentColor = False ReadOnly = True TabOrder = 0 diff --git a/components/rx/trunk/rxdb/rxpopupunit.pas b/components/rx/trunk/rxdb/rxpopupunit.pas index a901b8059..5b25abab6 100644 --- a/components/rx/trunk/rxdb/rxpopupunit.pas +++ b/components/rx/trunk/rxdb/rxpopupunit.pas @@ -396,7 +396,8 @@ end; procedure TPopUpForm.CreateWnd; begin inherited CreateWnd; - Height:=FGrid.DefaultRowHeight * FRowCount; + //Height:=FGrid.DefaultRowHeight * FRowCount; + Height:=FGrid.GetDefaultRowHeight * FRowCount; end; procedure TPopUpForm.DoSetFieldsFromString(FL: string); @@ -420,6 +421,7 @@ begin end; GK:=FGrid.Columns.Add as TRxColumn; GK.Field:=FGrid.DataSource.DataSet.FieldByName(FieldName); + GK.Width:=-1; end; end;