📄 d_frmnotesunit.dfm
字号:
object frmNotes: TfrmNotes
Left = 284
Top = 220
Width = 472
Height = 225
Caption = 'Notes'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poDefaultPosOnly
Visible = True
PixelsPerInch = 96
TextHeight = 13
object Memo1: TMemo
Left = 0
Top = 0
Width = 464
Height = 191
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Lines.Strings = (
'This advanced project represents a simple database form designer' +
' and -tester. It '
'demonstrates advanced combined use of TLMDDesignManager, TLMDDes' +
'igner, '
'TLMDDesignPanel, TLMDObjectComboBox and TLMDPropertyInspector.'
''
'With this demo you can create and test simple database forms. Ei' +
'ther load the predefined '
'demo form or create your own one: Click on new form button and p' +
'lace TQuery component '
'on it. Specify database name (for exapmle, "DBDEMOS"),'
'SQL query (for example, "select * from customer") and activate t' +
'he query using Active '
'property. Then place a TDataSource component and any visual cont' +
'rols. After form was '
'designed you can execute it by clicking File|Run from main menu.'
''
'The TLMDDesignManager component controls and synchronizes Object' +
' ComboBox and '
'Property Inspector controls from frmProps form. Note that design' +
'ers are connected at runtime, '
'check also sourcedoe of TfrmMain.actNew.OnExecute and TfrmMain.a' +
'ctOpen.OnExecute '
'event handlers.'
''
'The ExcludeDesignControl property of the Design Manager is enabl' +
'ed to prevent '
'DesignControl components from being shown in the Object ComboBox' +
' dropdown list and '
'DesignManager Selection property (it sometimes present in design' +
'ers SelectedComponent '
'property, though).'
''
'Design Manager OnChange event is used to mark form as modified (' +
'instead of using '
'OnChange event of TLMDDesigners or property inspector).'
''
'TDesignPanel class (not TLMDDesignPanel) is declared in the proj' +
'ect to enhance TPanel '
'functionality. See comments in code for more information.'
''
'Form saving and loading is performed by using TLMDDesigner SaveT' +
'oFile and LoadFromFile '
'methods. Form file format is compatible with Delphi text *.dfm f' +
'iles, so you can view these files '
'e.g. in the Windows Notepad.'
'See also code of OnReadError event handler to learn how to handl' +
'e loading errors in Delphi '
'like style.'
''
'To simplify design of forms for enduser only certain properties ' +
'of controls are shown in property '
'inspector, because many of them are not required in this context' +
' (e.g. DragMode property). '
'See ocde of the OnFilerProp event handler to learn how this effe' +
'ct can be achieved.'
''
'At last property inspector highlights specific component propert' +
'ies. Check OnGetCaptionColor '
'event handler for further details.')
ParentFont = False
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 0
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -