Unit 'uCEFTextfieldComponent' Package
[Overview][Classes][Index] [#pl_cef4typhon]

TCEFTextfieldComponent

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: uCEFTextfieldComponent.pas line 22

type TCEFTextfieldComponent = class(TCEFViewComponent,ICefTextfieldDelegateEvents)

protected

  FTextfield: ICefTextfield;

  

  FOnTextfieldKeyEvent: TOnTextfieldKeyEventEvent;

  

  FOnAfterUserAction: TOnAfterUserActionEvent;

  

  procedure DestroyView; override;

  

  procedure Initialize; override;

  

  function GetInitialized; override;

  

  function GetAsView; override;

  

  function GetAsTextfield; override;

  

  function GetIsPasswordInput;

  

  function GetIsReadOnly;

  

  function GetText;

  

  function GetHasSelection;

  

  function GetSelectedText;

  

  function GetSelectedRange;

  

  function GetCursorPosition;

  

  function GetTextColor;

  

  function GetSelectionTextColor;

  

  function GetSelectionBackgroundColor;

  

  function GetPlaceholderText;

  

  procedure SetPasswordInput();

  

  procedure SetReadOnly();

  

  procedure SetText();

  

  procedure SetTextColor();

  

  procedure SetSelectionTextColor();

  

  procedure SetSelectionBackgroundColor();

  

  procedure SetPlaceholderText();

  

  procedure SetSelectedRange();

  

  procedure doOnKeyEvent();

  

  procedure doOnAfterUserAction();

  

  procedure doCreateCustomView; override;

  

public

  procedure CreateTextField;

  

  procedure AppendText();

  

  procedure InsertOrReplaceText();

  

  procedure SelectAll();

  

  procedure ClearSelection;

  

  procedure SetFontList();

  

  procedure ApplyTextColor();

  

  procedure ApplyTextStyle();

  

  function IsCommandEnabled();

  

  procedure ExecuteCommand();

  

  procedure ClearEditHistory;

  

  procedure SetAccessibleName();

  

  procedure SetPlaceholderTextColor();

  

  property PasswordInput: Boolean; [rw]

  

  property ReadOnly: Boolean; [rw]

  

  property Text: ustring; [rw]

  

  property SelectedText: ustring; [r]

  

  property SelectedRange: TCefRange; [rw]

  

  property CursorPosition: NativeUInt; [r]

  

  property TextColor: TCefColor; [rw]

  

  property SelectionTextColor: TCefColor; [rw]

  

  property SelectionBackgroundColor: TCefColor; [rw]

  

  property PlaceholderText: ustring; [rw]

  

  property HasSelection: Boolean; [r]

  

published

  property OnTextfieldKeyEvent: TOnTextfieldKeyEventEvent; [rw]

  

  property OnAfterUserAction: TOnAfterUserActionEvent; [rw]

  

end;

Inheritance

TCEFTextfieldComponent

  

|

TCEFViewComponent,ICefTextfieldDelegateEvents

  

|

TObject,ICefViewDelegateEvents



CT Web help

CodeTyphon Studio