## Description

Include file: xentry.h

Parent class: XControl

### Overview

XEntryField is a single-line text field.

### Functions

#### Clear

#### Remarks

Delete the marked text.

#### Copy

#### Remarks

Copy the marked text to the clipboard.

#### Cut

#### Remarks

Cut marked text and put it to the clipboard.

#### GetSelection

#### Parameters

SHORT& start starting point of selection SHORT& end end point

#### Remarks

Query the boundarys of the current selection.

#### Paste

#### Remarks

Paste text from the clipboard.

#### SelectText

#### Parameters

USHORT start the starting point of selection

#### Remarks

Select text from startpoint to an endpoint.

#### XEntryField

#### Parameters

XWindow * owner | the owner of the entryfield
XRect * rect | the rectangle
USHORT id | id of the window
ULONG style | style, valid values are:
EN_LEFT |
EN_CENTER |
EN_RIGHT |
EN_AUTOSCROLL |
EN_MARGIN |
EN_AUTOTAB |
EN_READONLY |
EN_UNREADABLE |
EN_AUTOSIZE |
EN_BORDER |
(can be or-ed)
const char * string | text to display

#### Remarks

Constructs an entryfield.

#### EnableOverWrite

#### Parameters

BOOL overwrite TRUE=overWrite, FALSE=disable overWrite

#### Remarks

Enables/disables overwrite-mode.

#### GetFirstChar

#### Return-Value

SHORT index

#### Remarks

Query the index of the first visible charakter.

#### IsChanged

#### Return-Value

BOOL result

#### Remarks

Query if the content has changed.

#### IsReadOnly

#### Return-Value

BOOL result

#### Remarks

Query if the entryfild is in readonly-mode.

#### SetLimit

#### Parameters

USHORT length maximum size

#### Remarks

Set maximum number of charakters.

#### SetReadOnly

#### Parameters

BOOL readOnly TRUE=enable, FALSE=disable readonly-mose

#### Remarks

Enable/disable readonly-mode.

#### ShowFirstChar

#### Parameters

SHORT firstChar the first char which will be displayed

#### Remarks

Select the first char to display

This document was generated by Jens von Pilgrim's Autodoc