📄 gridmasterdetail.dfm
字号:
object MasterDetailGridForm: TMasterDetailGridForm
Left = 40
Top = 137
Caption = 'InfoPower 3000 - Master/Detail View From Single Grid Demo'
ClientHeight = 329
ClientWidth = 538
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
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.BackgroundBitmap.Data = {
07544269746D617056020000424D560200000000000076000000280000001E00
00001E0000000100040000000000E0010000C40E0000C40E0000100000000000
0000D9EEEE00C7E0E000EBFEFE00C6DFDF00B3D0D000EDFFFF00DAEFEF00B2CF
CF00A1C0C000FFFFFF0000000000000000000000000000000000000000000000
0000600111111111111333111116660110000001111110011111331111100011
3000600001110601111111110000011331000000000000011111111000000011
1100600000001100001111111006001111000000001111166600001111126011
1000111001160006666666014411060011001100601000006666660111110001
3300110666000000006662260001001111000000000000000006622226611111
1000000111100011000662222260111106000601111000010006662222620113
1100660111060000000600062662611111000601106660000000011066026111
0600660000060100001062662262201102000600000600000000626622626011
0200600006666000000062662262601102000066666666011000066622660011
0600266622266001100000666660001006002226222660011100100000000000
6600200666660000113131000000000662000000000601100341330011000066
2200000006600000134000011111106626000000000111111111111111310066
6600000001144333111331111110066600001000000114311113100000100060
0000310066661410001111000000000001003110022201302011111111100000
1100111002220000000011333110000000000010022222013100011310022000
0000}
PaintOptions.AlternatingRowColor = 12320251
PaintOptions.BackgroundOptions = [coFillDataCells, coBlendFixedRow, coBlendFixedColumn, coBlendAlternatingRow]
end
object InvoiceGrid: TwwDBGrid
Left = 26
Top = 96
Width = 479
Height = 173
ControlType.Strings = (
'Items;CustomEdit;wwExpandButton2;F'
'ShipDate;CustomEdit;wwDBDateTimePicker1;F')
Selected.Strings = (
'Items'#9'4'#9'Items'#9'F'
'OrderNo'#9'5'#9'Order~No'#9'F'
'SaleDate'#9'11'#9'Sale'#9'F'#9'Date'
'ShipDate'#9'10'#9'Ship'#9'F'#9'Date'
'ShipToContact'#9'16'#9'Ship To Contact'#9'F'
'CustNo'#9'11'#9'Cust No.'#9'F'
'ItemsTotal'#9'11'#9'Items~Total'#9'F')
IniAttributes.Delimiter = ';;'
TitleColor = clBtnFace
FixedCols = 0
ShowHorzScrollBar = True
Color = clWhite
Ctl3D = False
DataSource = DataSource2
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgShowFooter, dgFooter3DCells, dgProportionalColResize]
ParentCtl3D = False
TabOrder = 1
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
Visible = False
OnUpdateFooter = InvoiceGridUpdateFooter
OnBeforePaint = InvoiceGridBeforePaint
TitleImageList = ImageList1
PaintOptions.BackgroundBitmap.Data = {
07544269746D617056020000424D560200000000000076000000280000001E00
00001E0000000100040000000000E0010000C40E0000C40E0000100000000000
0000D9EEEE00C7E0E000EBFEFE00C6DFDF00B3D0D000EDFFFF00DAEFEF00B2CF
CF00A1C0C000FFFFFF0000000000000000000000000000000000000000000000
0000600111111111111333111116660110000001111110011111331111100011
3000600001110601111111110000011331000000000000011111111000000011
1100600000001100001111111006001111000000001111166600001111126011
1000111001160006666666014411060011001100601000006666660111110001
3300110666000000006662260001001111000000000000000006622226611111
1000000111100011000662222260111106000601111000010006662222620113
1100660111060000000600062662611111000601106660000000011066026111
0600660000060100001062662262201102000600000600000000626622626011
0200600006666000000062662262601102000066666666011000066622660011
0600266622266001100000666660001006002226222660011100100000000000
6600200666660000113131000000000662000000000601100341330011000066
2200000006600000134000011111106626000000000111111111111111310066
6600000001144333111331111110066600001000000114311113100000100060
0000310066661410001111000000000001003110022201302011111111100000
1100111002220000000011333110000000000010022222013100011310022000
0000}
PaintOptions.FastRecordScrolling = False
PaintOptions.BackgroundOptions = [coBlendFixedRow, coBlendFixedColumn]
end
object wwExpandButton1: TwwExpandButton
Left = 176
Top = 24
Width = 22
Height = 16
DisableThemes = False
Grid = InvoiceGrid
AutoShrink = False
GridIndents.X = 11
Caption = 'False'
TabOrder = 2
ButtonAlignment = taCenter
end
object ItemsGrid: TwwDBGrid
Left = 184
Top = 136
Width = 265
Height = 92
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 = 3
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 = 28
Height = 16
DisableThemes = False
Grid = ItemsGrid
GridIndents.X = 17
Caption = 'False'
TabOrder = 4
ButtonAlignment = taCenter
end
object DataSource1: TDataSource
DataSet = CustomerTable
Left = 608
Top = 32
end
object CustomerTable: TTable
Active = True
DatabaseName = 'InfoDemo5'
TableName = 'customer.db'
Left = 640
Top = 32
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -