.


:




:

































 

 

 

 


STANDARD




1. TMainMenu

 

TmainMenu . "" . - . , , Caption Enter. , - . "&". "-". , .. , , Ctrl- , - .

TmenuItem :

Property Break: TMenuBreak;
Property Checked: Boolean; True,
PropertyCommand: Word; , API- Windows
PropertyCount: Integer; , ( )
Property Default: Boolean; , ( )
Property GroupIndex: Byte;
PropertyItems[Index: integer]: TMenuItem;
PropertyMenuIndex: Integer; Items
PropertyRadioItem: Boolean; , GroupIndex. True Checked.
PropertyShortcut: TShortCut

TpoupMenu

, , . .

, , .

, PopupMenu .

Alignment .

 

3 TLabel

 

TLabel () .

Property AutoSize: Boolean; , Caption (True - )
Property FocusControl: TWinControl; , ( Label )
TtextLayout = (tlTop, tlCenter, tlBottom); Property Layout: TTextLayout; : tlTop ; tlCenter ; tlBottom
Property ShowAccelChar: Boolean; True, & -
PropertyTransparent: Boolean; . False, Color,
PropertyWordWrap: Boolean; / . AutoSize=False, WordWrap=True

4. Tedit

TEdit . / . , (#13#10).

 

PropertyAutoSelect: Boolean; ,
PropertyAutoSize: Boolean; True BorderStyle = bsSingle, Font.Size
TBorderStyle = bsNone..bsSingle; PropertyBorderStyle: TBorderStyle : bsNone- ; bsSingle-
TEditCharCase = (ecNormal, ecUpperCase, ecLowerCase); PropertyCharCase: TEditCharCase; : ecNormal ; ecUppercase ; ecLowerCase .
PropertyHideSelection: Boolean; False,
PropertyMaxLength: Integer; . 0,
PropertyModified: Boolean; True,
PropertyOnChange: TNotifyEvent; OnChange,
PropertyOEMConvert: Boolean; True, MS-DOS Windows
PropertyPasswordChar: Char; PasswordChar , .
PropertyReadonly: Boolean; True,
PropertySelLength: Integer;
PropertySelStart: Integer;
PropertySelText: String:

 

:

Procedure Clear:
procedure ClearSelection;
procedure CopyToClipboard; Clipboard
procedure CutToClipboard; Clipboard,
function GetSelTextBuf(Buffer: PChar; ButSize: Integer): Integer; ButSize Buffer
procedure PasteFrornClipboard; Clipboard, , Clipboard
procedure SelectAll;
Procedure SetSelTextBuf(Buffer: PChar); Buffer, , Buffer

5.

, () , .

TEdit. Wordwrap TLabel.Wordwrap.

 

Property Lines: TStrings; . . Add, Delete, Insert ,
TscrollStyle = (ssNone, ssHorizontal, ssVertical, ssBoth);   PropertyScrollBars: TscrollStyle; : ssNone ; ssHorizontal - ; ssVertical- ; ssBoth -
Property WantRetums: Boolean; True, Enter , - . Ctrl+Enter
Property WantTabs: Boolean; True, Tab , . Ctrl-Tab

6. Tbutton

TButton . .

Property Cancel: Boolean; True, OnClick Esc
Property Default: Boolean; True, OnClick Enter
Property Enabled: Boolean: False, ?
TModalResult = Low(lnteger).. High (Integer); Property TModalResult; ,

 

Windows , , , . ModalResult, ModalResult . Delphi ModalResult:

 

mrNone
mrOk Ok
mrCancel Cancel
mrAbort Abort
mrRetry Retry
mrIgnore Ignore
mrYes Yes
mrNo No
MrAll ll

7. TCheckBox

. State . , .

TLeftRight = (taLeftJustify, taRightJustify); Property Alignment: TLeftRight; : taLeftJustify - ; taRightJustify -
Property AllowGrayed: Boolean; () cbGrayed
PropertyChecked: Boolean; /. cbUnchecked cbGrayed False
TcheckBoxState = (cbUnchecked, cbChecked, cbGrayed); PropertyState: CheckBoxState; : cbUnchecked - ; cbChecked - ; cbGrayed

8. RadioButton

, . Panel, GroupBox ScrollBox. Checked.

 

TListBox

, . , , .

Property Canvas: TCanvas;
Property Columns: Longint;
PropertyExtendedSelect: Boolean; ExtendedSelect=True MultiSelect=True, Crtl Alt
PropertyIntegralHeight: Boolean; IntegralHeight=True Style<>lbOwnerDraw-Variable,
Property ItemIndex: Integer; . MultiSelect=False,
PropertyItemHeight: Integer; Style=lbOwnerDrawFixed
PropertyItems: TStrings; ,
Property Multiselect: Boolean; /
Property SelCount: Integer:
Property Selected[X: Integer]: Boolean; ( 0)
Property Sorted: Boolean; /
TlistBoxStyle = (IbStandard, lbOwnerDrawFixed, lbOwnerDrawVariable);PropertyStyle: TUstBoxStyle; : IbStandard Windows, lbOwnerDrawFixed , , ItemHeight, lbOwnerDrawVariable - ,
Property TopIndex: Integer;

10. TcomboBox

TListBox TEdit .

, Style: csSimple, csDropDown, csDropDownList, csOwnerDrawFixed csOwnerDrawVariable. , . csDropDownList . csOwnerDrawFixed csOwnerDrawVariable csDropDown.

DropDownCount . DroppedDown , .

 

11. TScrollBar

TScrollBar - .

SrollBarKind = (sbHorizontal, sbVertical); Property Kind: TScrollBarKind; : sbHorizontal - ; sbVertical -
PropertyLargeChange: TScrollBarInc: ( )
PropertyMax: Integer;
PropertyMin: Integer;
PropertyPosition: Integer;
PropertySmallChange: TScrollBarInc; ( )

TGroupBox

. , . , .

 

TRadioGroup

TRadioGroup , TRadioButton. Items , .

 

Property Columns: Integer; -
Property ItemIndex: Integer;
PropertyItems: TStrings; . () () Items

TPanel

.

Property BevelInner: TpanelBevel;
Property BevelOuter: TpanelBevel;
TBevelWidth = 1..Maxlnt; Property BevelWidth: TBevelWidth;
TBorderStyle = bsNone..bsSingle; Property BorderStyle: TBorderStyle; : bsNone - ; bsSingle 1
TborderWidth: 0..Maxint; Property BorderWidth: TBorderWidth:
Property FullRepaint: Boolean; ()




:


: 2016-07-29; !; : 478 |


:

:

.
==> ...

1965 - | 1842 -


© 2015-2024 lektsii.org - -

: 0.03 .