# Record TCefTextfield

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefTextfield = record`

## Description

A Textfield supports editing of text. This control is custom rendered with no platform-specific code. Methods must be called on the browser process UI thread unless otherwise indicated.

NOTE: This struct is allocated DLL-side.

Implemented by ICefTextfield.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_textfield_capi.h">CEF source file: /include/capi/views/cef_textfield_capi.h (cef_textfield_t))

## Overview

### Fields

Public | `base: TCefView;`
Public | `set_password_input: procedure(self: PCefTextfield; password_input: Integer); stdcall;`
Public | `is_password_input: function(self: PCefTextfield): Integer; stdcall;`
Public | `set_read_only: procedure(self: PCefTextfield; read_only: Integer); stdcall;`
Public | `is_read_only: function(self: PCefTextfield): Integer; stdcall;`
Public | `get_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
Public | `set_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
Public | `append_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
Public | `insert_or_replace_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
Public | `has_selection: function(self: PCefTextfield): Integer; stdcall;`
Public | `get_selected_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
Public | `select_all: procedure(self: PCefTextfield; reversed: Integer); stdcall;`
Public | `clear_selection: procedure(self: PCefTextfield); stdcall;`
Public | `get_selected_range: function(self: PCefTextfield): TCefRange; stdcall;`
Public | `select_range: procedure(self: PCefTextfield; const range: PCefRange); stdcall;`
Public | `get_cursor_position: function(self: PCefTextfield): NativeUInt; stdcall;`
Public | `set_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
Public | `get_text_color: function(self: PCefTextfield): TCefColor; stdcall;`
Public | `set_selection_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
Public | `get_selection_text_color: function(self: PCefTextfield): TCefColor; stdcall;`
Public | `set_selection_background_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
Public | `get_selection_background_color: function(self: PCefTextfield): TCefColor; stdcall;`
Public | `set_font_list: procedure(self: PCefTextfield; const font_list: PCefString); stdcall;`
Public | `apply_text_color: procedure(self: PCefTextfield; color: TCefColor; const range: PCefRange); stdcall;`
Public | `apply_text_style: procedure(self: PCefTextfield; style: TCefTextStyle; add: Integer; const range: PCefRange); stdcall;`
Public | `is_command_enabled: function(self: PCefTextfield; command_id: TCefTextFieldCommands): Integer; stdcall;`
Public | `execute_command: procedure(self: PCefTextfield; command_id: TCefTextFieldCommands); stdcall;`
Public | `clear_edit_history: procedure(self: PCefTextfield); stdcall;`
Public | `set_placeholder_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
Public | `get_placeholder_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
Public | `set_placeholder_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
Public | `set_accessible_name: procedure(self: PCefTextfield; const name: PCefString); stdcall;`

## Description

### Fields

Public | `base: TCefView;`
This item has no description.

Public | `set_password_input: procedure(self: PCefTextfield; password_input: Integer); stdcall;`
This item has no description.

Public | `is_password_input: function(self: PCefTextfield): Integer; stdcall;`
This item has no description.

Public | `set_read_only: procedure(self: PCefTextfield; read_only: Integer); stdcall;`
This item has no description.

Public | `is_read_only: function(self: PCefTextfield): Integer; stdcall;`
This item has no description.

Public | `get_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
This item has no description.

Public | `set_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
This item has no description.

Public | `append_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
This item has no description.

Public | `insert_or_replace_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
This item has no description.

Public | `has_selection: function(self: PCefTextfield): Integer; stdcall;`
This item has no description.

Public | `get_selected_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
This item has no description.

Public | `select_all: procedure(self: PCefTextfield; reversed: Integer); stdcall;`
This item has no description.

Public | `clear_selection: procedure(self: PCefTextfield); stdcall;`
This item has no description.

Public | `get_selected_range: function(self: PCefTextfield): TCefRange; stdcall;`
This item has no description.

Public | `select_range: procedure(self: PCefTextfield; const range: PCefRange); stdcall;`
This item has no description.

Public | `get_cursor_position: function(self: PCefTextfield): NativeUInt; stdcall;`
This item has no description.

Public | `set_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
This item has no description.

Public | `get_text_color: function(self: PCefTextfield): TCefColor; stdcall;`
This item has no description.

Public | `set_selection_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
This item has no description.

Public | `get_selection_text_color: function(self: PCefTextfield): TCefColor; stdcall;`
This item has no description.

Public | `set_selection_background_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
This item has no description.

Public | `get_selection_background_color: function(self: PCefTextfield): TCefColor; stdcall;`
This item has no description.

Public | `set_font_list: procedure(self: PCefTextfield; const font_list: PCefString); stdcall;`
This item has no description.

Public | `apply_text_color: procedure(self: PCefTextfield; color: TCefColor; const range: PCefRange); stdcall;`
This item has no description.

Public | `apply_text_style: procedure(self: PCefTextfield; style: TCefTextStyle; add: Integer; const range: PCefRange); stdcall;`
This item has no description.

Public | `is_command_enabled: function(self: PCefTextfield; command_id: TCefTextFieldCommands): Integer; stdcall;`
This item has no description.

Public | `execute_command: procedure(self: PCefTextfield; command_id: TCefTextFieldCommands); stdcall;`
This item has no description.

Public | `clear_edit_history: procedure(self: PCefTextfield); stdcall;`
This item has no description.

Public | `set_placeholder_text: procedure(self: PCefTextfield; const text: PCefString); stdcall;`
This item has no description.

Public | `get_placeholder_text: function(self: PCefTextfield): PCefStringUserFree; stdcall;`
This item has no description.

Public | `set_placeholder_text_color: procedure(self: PCefTextfield; color: TCefColor); stdcall;`
This item has no description.

Public | `set_accessible_name: procedure(self: PCefTextfield; const name: PCefString); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.