delphimvcframework/samples/articles_crud_vcl_client/MainFormU.dfm

198 lines
4.5 KiB
Plaintext
Raw Normal View History

object MainForm: TMainForm
Left = 0
Top = 0
Caption = 'Articles CRUD SAMPLE'
ClientHeight = 391
ClientWidth = 876
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OnCreate = FormCreate
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 876
Height = 112
Align = alTop
TabOrder = 0
ExplicitWidth = 872
object DBNavigator1: TDBNavigator
AlignWithMargins = True
Left = 585
Top = 4
Width = 287
Height = 40
DataSource = dsrcArticles
Align = alRight
2020-08-26 22:13:18 +02:00
TabOrder = 3
ExplicitLeft = 581
end
object btnOpen: TButton
AlignWithMargins = True
Left = 4
Top = 4
Width = 75
Height = 40
Align = alLeft
Caption = 'Open'
2020-08-26 22:13:18 +02:00
TabOrder = 0
OnClick = btnOpenClick
2014-06-30 12:32:43 +02:00
end
object btnRefreshRecord: TButton
AlignWithMargins = True
Left = 166
Top = 4
Width = 107
Height = 40
Align = alLeft
Caption = 'Refresh Record'
TabOrder = 2
OnClick = btnRefreshRecordClick
end
object Button1: TButton
AlignWithMargins = True
Left = 85
Top = 4
Width = 75
Height = 40
Align = alLeft
Caption = 'Close'
2020-08-26 22:13:18 +02:00
TabOrder = 1
OnClick = btnCloseClick
end
object Panel2: TPanel
Left = 1
Top = 47
Width = 874
Height = 64
Align = alBottom
BevelOuter = bvNone
TabOrder = 4
ExplicitWidth = 870
object Label1: TLabel
Left = 3
Top = 11
Width = 24
Height = 13
Caption = 'Filter'
end
object EditFilter: TEdit
Left = 3
Top = 30
Width = 156
Height = 21
2020-08-26 22:13:18 +02:00
TabOrder = 1
end
object btnFilter: TButton
Left = 165
Top = 19
Width = 107
Height = 40
Caption = 'Filter by description'
2020-08-26 22:13:18 +02:00
TabOrder = 0
OnClick = btnFilterClick
end
end
end
object DBGrid1: TDBGrid
Left = 0
Top = 112
Width = 876
Height = 279
Align = alClient
DataSource = dsrcArticles
TabOrder = 1
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'id'
Title.Caption = '#ID'
Visible = True
end
item
Expanded = False
FieldName = 'code'
Title.Caption = 'Code'
Visible = True
end
item
Expanded = False
FieldName = 'description'
Title.Caption = 'Description'
Width = 265
Visible = True
end
item
Expanded = False
FieldName = 'price'
Title.Caption = 'Price'
Visible = True
2020-11-05 15:42:31 +01:00
end
item
Expanded = False
FieldName = 'createdat'
ReadOnly = True
Visible = True
end
item
Expanded = False
FieldName = 'updatedat'
ReadOnly = True
Visible = True
end>
end
object dsArticles: TFDMemTable
AfterOpen = dsArticlesAfterOpen
BeforePost = dsArticlesBeforePost
BeforeDelete = dsArticlesBeforeDelete
BeforeRefresh = dsArticlesBeforeRefresh
FieldDefs = <>
IndexDefs = <>
BeforeRowRequest = dsArticlesBeforeRowRequest
FetchOptions.AssignedValues = [evMode]
FetchOptions.Mode = fmAll
ResourceOptions.AssignedValues = [rvSilentMode]
ResourceOptions.SilentMode = True
UpdateOptions.AssignedValues = [uvCheckRequired]
UpdateOptions.CheckRequired = False
StoreDefs = True
Left = 136
Top = 120
object dsArticlesid: TIntegerField
FieldName = 'id'
end
object dsArticlescode: TStringField
FieldName = 'code'
end
object dsArticlesdescription: TStringField
FieldName = 'description'
Size = 50
end
object dsArticlesprice: TCurrencyField
FieldName = 'price'
end
2020-11-05 15:42:31 +01:00
object dsArticlescreatedat: TDateTimeField
AutoGenerateValue = arDefault
FieldName = 'createdat'
end
object dsArticlesupdatedat: TDateTimeField
AutoGenerateValue = arDefault
FieldName = 'updatedat'
end
end
object dsrcArticles: TDataSource
DataSet = dsArticles
Left = 136
Top = 184
end
end