📄 gridmasterdetailpanel.dfm
字号:
object MasterDetailGridForm: TMasterDetailGridForm
Left = 159
Top = 119
Width = 546
Height = 363
Caption = 'InfoPower 3000 - Master/Detail View From Single Grid Demo'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
PixelsPerInch = 96
TextHeight = 13
object SpeedButton1: TSpeedButton
Left = 72
Top = 40
Width = 25
Height = 25
end
object CustomerGrid: TwwDBGrid
Left = 0
Top = 0
Width = 538
Height = 329
DisableThemes = False
LineStyle = gls3D
ControlType.Strings = (
'Orders;CustomEdit;wwExpandButton1;F'
'Company;URL-Link;Company'
'State;CustomEdit;wwDBEdit2;F')
Selected.Strings = (
'Orders'#9'3'#9' '#9'F'
'CustNo'#9'22'#9'Cust No'#9'F'
'Country'#9'19'#9'Country'#9'F'
'LastInvoiceDate'#9'17'#9'Last Invoice Date'#9'F'
'Company'#9'19'#9'Company'#9'F')
IniAttributes.FileName = 'm:\ip2001\temp.ini'
IniAttributes.Delimiter = ';;'
TitleColor = clBtnFace
FixedCols = 0
ShowHorzScrollBar = True
Align = alClient
Color = clInfoBk
DataSource = DataSource1
TabOrder = 0
TitleAlignment = taLeftJustify
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
TitleLines = 1
TitleButtons = False
UseTFields = False
LineColors.HighlightColor = clHighlightText
OnCalcTitleImage = CustomerGridCalcTitleImage
TitleImageList = ImageList1
PaintOptions.AlternatingRowColor = 12320251
PaintOptions.BackgroundOptions = [coFillDataCells, coBlendFixedRow, coBlendFixedColumn, coBlendAlternatingRow]
end
object wwExpandButton1: TwwExpandButton
Left = 176
Top = 24
Width = 22
Height = 16
DisableThemes = False
Grid = InvoicePanel
AutoShrink = False
GridIndents.X = 11
Caption = 'False'
TabOrder = 1
ButtonAlignment = taCenter
end
object ItemsGrid: TwwDBGrid
Left = 184
Top = 136
Width = 265
Height = 92
DisableThemes = False
Selected.Strings = (
'ItemNo'#9'9'#9'Item No'#9'F'
'PartNo'#9'8'#9'Part No'#9'F'
'Qty'#9'10'#9'Qty'#9'F'
'Discount'#9'8'#9'Discount'#9'F')
IniAttributes.Delimiter = ';;'
TitleColor = clBtnFace
FixedCols = 0
ShowHorzScrollBar = False
Ctl3D = False
DataSource = DataSource3
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgProportionalColResize]
ParentCtl3D = False
TabOrder = 2
TitleAlignment = taRightJustify
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
TitleLines = 1
TitleButtons = False
UseTFields = False
Visible = False
PaintOptions.BackgroundBitmap.Data = {
07544269746D617056020000424D560200000000000076000000280000001E00
00001E0000000100040000000000E0010000C40E0000C40E0000100000000000
0000D9EEEE00C7E0E000EBFEFE00C6DFDF00B3D0D000EDFFFF00DAEFEF00B2CF
CF00A1C0C000FFFFFF0000000000000000000000000000000000000000000000
0000600111111111111333111116660110000001111110011111331111100011
3000600001110601111111110000011331000000000000011111111000000011
1100600000001100001111111006001111000000001111166600001111126011
1000111001160006666666014411060011001100601000006666660111110001
3300110666000000006662260001001111000000000000000006622226611111
1000000111100011000662222260111106000601111000010006662222620113
1100660111060000000600062662611111000601106660000000011066026111
0600660000060100001062662262201102000600000600000000626622626011
0200600006666000000062662262601102000066666666011000066622660011
0600266622266001100000666660001006002226222660011100100000000000
6600200666660000113131000000000662000000000601100341330011000066
2200000006600000134000011111106626000000000111111111111111310066
6600000001144333111331111110066600001000000114311113100000100060
0000310066661410001111000000000001003110022201302011111111100000
1100111002220000000011333110000000000010022222013100011310022000
0000}
PaintOptions.BackgroundOptions = [coBlendFixedRow, coBlendFixedColumn]
end
object wwExpandButton2: TwwExpandButton
Left = 224
Top = 24
Width = 22
Height = 16
DisableThemes = False
Grid = ItemsGrid
GridIndents.X = 17
Caption = 'False'
TabOrder = 3
ButtonAlignment = taCenter
end
object InvoicePanel: TPanel
Left = 120
Top = 64
Width = 449
Height = 233
BorderStyle = bsSingle
TabOrder = 4
Visible = False
object InvoiceGrid: TwwDBGrid
Left = 1
Top = 26
Width = 443
Height = 202
DisableThemes = False
ControlType.Strings = (
'Items;CustomEdit;wwExpandButton2;F'
'ShipDate;CustomEdit;wwDBDateTimePicker1;F')
Selected.Strings = (
'Items'#9'3'#9'Items'#9'F'
'OrderNo'#9'4'#9'Order~No'#9'F'
'SaleDate'#9'10'#9'Sale'#9'F'#9'Date'
'ShipDate'#9'9'#9'Ship'#9'F'#9'Date'
'ShipToContact'#9'15'#9'Ship To Contact'#9'F'
'CustNo'#9'10'#9'Cust No.'#9'F'
'ItemsTotal'#9'11'#9'Items~Total'#9'F')
IniAttributes.Delimiter = ';;'
TitleColor = clBtnFace
FixedCols = 0
ShowHorzScrollBar = True
Align = alClient
Color = clWhite
Ctl3D = False
DataSource = DataSource2
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgShowFooter, dgFooter3DCells, dgProportionalColResize]
ParentCtl3D = False
TabOrder = 0
TitleAlignment = taCenter
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
TitleLines = 2
TitleButtons = False
UseTFields = False
OnUpdateFooter = InvoiceGridUpdateFooter
TitleImageList = ImageList1
PaintOptions.FastRecordScrolling = False
PaintOptions.BackgroundOptions = [coBlendFixedRow, coBlendFixedColumn]
end
object wwDBNavigator1: TwwDBNavigator
Left = 1
Top = 1
Width = 443
Height = 25
AutosizeStyle = asSizeNavButtons
DataSource = DataSource2
RepeatInterval.InitialDelay = 500
RepeatInterval.Interval = 100
Align = alTop
object wwDBNavigator1First: TwwNavButton
Left = 0
Top = 0
Width = 32
Height = 25
Hint = 'Move to first record'
ImageIndex = -1
NumGlyphs = 2
Spacing = 4
Transparent = False
Caption = 'wwDBNavigator1First'
Enabled = False
DisabledTextColors.ShadeColor = clGray
DisabledTextColors.HighlightColor = clBtnHighlight
Index = 0
Style = nbsFirst
end
object wwDBNavigator1PriorPage: TwwNavButton
Left = 32
Top = 0
Width = 32
Height = 25
Hint = 'Move backward 10 records'
ImageIndex = -1
NumGlyphs = 2
Spacing = 4
Transparent = False
Caption = 'wwDBNavigator1PriorPage'
Enabled = False
DisabledTextColors.ShadeColor = clGray
DisabledTextColors.HighlightColor = clBtnHighlight
Index = 1
Style = nbsPriorPage
end
object wwDBNavigator1Prior: TwwNavButton
Left = 64
Top = 0
Width = 32
Height = 25
Hint = 'Move to prior record'
ImageIndex = -1
NumGlyphs = 2
Spacing = 4
Transparent = False
Caption = 'wwDBNavigator1Prior'
Enabled = False
DisabledTextColors.ShadeColor = clGray
DisabledTextColors.HighlightColor = clBtnHighlight
Index = 2
Style = nbsPrior
end
object wwDBNavigator1Next: TwwNavButton
Left = 96
Top = 0
Width = 32
Height = 25
Hint = 'Move to next record'
ImageIndex = -1
NumGlyphs = 2
Spacing = 4
Transparent = False
Caption = 'wwDBNavigator1Next'
DisabledTextColors.ShadeColor = clGray
DisabledTextColors.HighlightColor = clBtnHighlight
Index = 3
Style = nbsNext
end
object wwDBNavigator1NextPage: TwwNavButton
Left = 128
Top = 0
Width = 32
Height = 25
Hint = 'Move forward 10 records'
ImageIndex = -1
NumGlyphs = 2
Spacing = 4
Transparent = False
Caption = 'wwDBNavigator1NextPage'
DisabledTextColors.ShadeColor = clGray
DisabledTextColors.HighlightColor = clBtnHighlight
Index = 4
Style = nbsNextPage
end
object wwDBNavigator1Last: TwwNavButton
Left = 160
Top = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -