mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:39:20 +02:00
Revert 31796 #ec0495ca9b: "Attemps to fix ideinspector after the changes in TTabControl" as TTabControl was reverted too
git-svn-id: trunk@31810 -
This commit is contained in:
parent
27cc8d7949
commit
9eebf93b31
@ -1,5 +1,5 @@
|
|||||||
object IdeInspectForm: TIdeInspectForm
|
object IdeInspectForm: TIdeInspectForm
|
||||||
Left = 2070
|
Left = 1070
|
||||||
Height = 494
|
Height = 494
|
||||||
Top = 157
|
Top = 157
|
||||||
Width = 512
|
Width = 512
|
||||||
@ -12,7 +12,7 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
OnClose = FormClose
|
OnClose = FormClose
|
||||||
OnShow = FormShow
|
OnShow = FormShow
|
||||||
Position = poDefault
|
Position = poDefault
|
||||||
LCLVersion = '0.9.29'
|
LCLVersion = '0.9.31'
|
||||||
object ToolBar1: TToolBar
|
object ToolBar1: TToolBar
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 24
|
Height = 24
|
||||||
@ -27,23 +27,23 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
ShowHint = True
|
ShowHint = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object btnComponent: TToolButton
|
object btnComponent: TToolButton
|
||||||
Left = 121
|
Left = 158
|
||||||
Top = 0
|
Top = 0
|
||||||
DropdownMenu = popComponent
|
DropdownMenu = popComponent
|
||||||
OnClick = btnComponentClick
|
OnClick = btnComponentClick
|
||||||
Style = tbsDropDown
|
Style = tbsDropDown
|
||||||
end
|
end
|
||||||
object btnSubComponent: TToolButton
|
object btnSubComponent: TToolButton
|
||||||
Left = 164
|
Left = 203
|
||||||
Top = 0
|
Top = 0
|
||||||
DropdownMenu = popSubComponent
|
DropdownMenu = popSubComponent
|
||||||
OnClick = btnSubComponentClick
|
OnClick = btnSubComponentClick
|
||||||
Style = tbsDropDown
|
Style = tbsDropDown
|
||||||
end
|
end
|
||||||
object ToolButton1: TToolButton
|
object ToolButton1: TToolButton
|
||||||
Left = 113
|
Left = 148
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 10
|
||||||
Caption = 'ToolButton1'
|
Caption = 'ToolButton1'
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
@ -54,28 +54,28 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
OnClick = btnRemoveSelectedClick
|
OnClick = btnRemoveSelectedClick
|
||||||
end
|
end
|
||||||
object ToolButton2: TToolButton
|
object ToolButton2: TToolButton
|
||||||
Left = 156
|
Left = 193
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 10
|
||||||
Caption = 'ToolButton2'
|
Caption = 'ToolButton2'
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
object btnControls: TToolButton
|
object btnControls: TToolButton
|
||||||
Left = 199
|
Left = 238
|
||||||
Top = 0
|
Top = 0
|
||||||
DropdownMenu = popControls
|
DropdownMenu = popControls
|
||||||
OnClick = btnControlsClick
|
OnClick = btnControlsClick
|
||||||
Style = tbsDropDown
|
Style = tbsDropDown
|
||||||
end
|
end
|
||||||
object ToolButton3: TToolButton
|
object ToolButton3: TToolButton
|
||||||
Left = 24
|
Left = 57
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 10
|
||||||
Caption = 'ToolButton3'
|
Caption = 'ToolButton3'
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
object ToolButtonFollowActive: TToolButton
|
object ToolButtonFollowActive: TToolButton
|
||||||
Left = 55
|
Left = 90
|
||||||
Hint = 'Follow Active Window or Frame'
|
Hint = 'Follow Active Window or Frame'
|
||||||
Top = 0
|
Top = 0
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
@ -84,21 +84,21 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
Style = tbsCheck
|
Style = tbsCheck
|
||||||
end
|
end
|
||||||
object ToolButtonActiveType: TToolButton
|
object ToolButtonActiveType: TToolButton
|
||||||
Left = 78
|
Left = 113
|
||||||
Top = 0
|
Top = 0
|
||||||
DropdownMenu = popFollowType
|
DropdownMenu = popFollowType
|
||||||
OnClick = ToolButtonActiveTypeClick
|
OnClick = ToolButtonActiveTypeClick
|
||||||
Style = tbsDropDown
|
Style = tbsDropDown
|
||||||
end
|
end
|
||||||
object ToolButton4: TToolButton
|
object ToolButton4: TToolButton
|
||||||
Left = 234
|
Left = 273
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 10
|
||||||
Caption = 'ToolButton4'
|
Caption = 'ToolButton4'
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
object ToolButtonKey: TToolButton
|
object ToolButtonKey: TToolButton
|
||||||
Left = 242
|
Left = 283
|
||||||
Hint = 'Set Key shortcut'
|
Hint = 'Set Key shortcut'
|
||||||
Top = 0
|
Top = 0
|
||||||
ImageIndex = 2
|
ImageIndex = 2
|
||||||
@ -106,7 +106,7 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
end
|
end
|
||||||
object btnEndModal: TToolButton
|
object btnEndModal: TToolButton
|
||||||
Left = 1
|
Left = 24
|
||||||
Hint = 'Finish modal'
|
Hint = 'Finish modal'
|
||||||
Top = 0
|
Top = 0
|
||||||
ImageIndex = 3
|
ImageIndex = 3
|
||||||
@ -114,15 +114,15 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
object sepModal: TToolButton
|
object sepModal: TToolButton
|
||||||
Left = 1
|
Left = 47
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 8
|
Width = 10
|
||||||
Caption = 'sepModal'
|
Caption = 'sepModal'
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
object btnKeepTop: TToolButton
|
object btnKeepTop: TToolButton
|
||||||
Left = 32
|
Left = 67
|
||||||
Hint = 'Keep on top'
|
Hint = 'Keep on top'
|
||||||
Top = 0
|
Top = 0
|
||||||
ImageIndex = 4
|
ImageIndex = 4
|
||||||
@ -260,28 +260,21 @@ object IdeInspectForm: TIdeInspectForm
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object Panel3: TPanel
|
object TabControl1: TTabControl
|
||||||
Left = 222
|
Left = 222
|
||||||
Height = 381
|
Height = 381
|
||||||
Top = 24
|
Top = 24
|
||||||
Width = 290
|
Width = 290
|
||||||
Align = alClient
|
Align = alClient
|
||||||
object TabControl1: TTabControl
|
OnChange = TabControl1Change
|
||||||
Left = 0
|
TabIndex = 0
|
||||||
Height = 81
|
TabOrder = 4
|
||||||
Top = 0
|
Tabs.Strings = (
|
||||||
Width = 290
|
'Properties'
|
||||||
Align = alTop
|
'Events'
|
||||||
OnChange = TabControl1Change
|
'All'
|
||||||
TabIndex = 0
|
)
|
||||||
TabOrder = 4
|
TabStop = False
|
||||||
Tabs.Strings = (
|
|
||||||
'Properties'
|
|
||||||
'Events'
|
|
||||||
'All'
|
|
||||||
)
|
|
||||||
TabStop = False
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
object popComponent: TPopupMenu
|
object popComponent: TPopupMenu
|
||||||
OnPopup = popComponentPopup
|
OnPopup = popComponentPopup
|
||||||
|
@ -38,7 +38,6 @@ type
|
|||||||
menuFollowFrame: TMenuItem;
|
menuFollowFrame: TMenuItem;
|
||||||
Panel1: TPanel;
|
Panel1: TPanel;
|
||||||
Panel2: TPanel;
|
Panel2: TPanel;
|
||||||
Panel3: TPanel;
|
|
||||||
popComponent: TPopupMenu;
|
popComponent: TPopupMenu;
|
||||||
popSubComponent: TPopupMenu;
|
popSubComponent: TPopupMenu;
|
||||||
popControls: TPopupMenu;
|
popControls: TPopupMenu;
|
||||||
@ -757,14 +756,14 @@ begin
|
|||||||
inherited Create(TheOwner);
|
inherited Create(TheOwner);
|
||||||
|
|
||||||
FPropertiesGrid := TCustomPropertiesGrid.Create(Self);
|
FPropertiesGrid := TCustomPropertiesGrid.Create(Self);
|
||||||
FPropertiesGrid.Name := 'FPropertiesGrid';
|
with FPropertiesGrid do
|
||||||
FPropertiesGrid.Parent := Panel3;
|
begin
|
||||||
FPropertiesGrid.Top := TabControl1.Height;
|
Name := 'FPropertiesGrid';
|
||||||
FPropertiesGrid.Left := 0;
|
Parent := TabControl1;
|
||||||
FPropertiesGrid.Width := TabControl1.Width;
|
Align := alClient;
|
||||||
FPropertiesGrid.Height := 381 - TabControl1.Height;
|
SaveOnChangeTIObject := False;
|
||||||
FPropertiesGrid.SaveOnChangeTIObject := False;
|
OnSelectionChange := @DoPropSelChanged;
|
||||||
FPropertiesGrid.OnSelectionChange := @DoPropSelChanged;
|
end;
|
||||||
|
|
||||||
btnComponent.Caption := ideinspQuickLinks;
|
btnComponent.Caption := ideinspQuickLinks;
|
||||||
btnSubComponent.Caption := ideinspComponentsOwned;
|
btnSubComponent.Caption := ideinspComponentsOwned;
|
||||||
|
Loading…
Reference in New Issue
Block a user