Alignment  Altitude

Chapter 3: Property Descriptions and Usage

AllowEdit

Applies to

DropDownListBox controls

Description

When AllowEdit is enabled, the user can edit the selection in the text box of a drop-down list.

If AllowEdit is not enabled, the user can only make a selection from the list and cannot edit the selection.

Usage


In a painter

StepsTo allow editing:

  1. On the General page of the control’s Properties view, select the AllowEdit check box.


In scripts

The AllowEdit property takes a boolean value.

This example sets AllowEdit for a DropDownListBox.

ddlb_1.AllowEdit = TRUE





Copyright © 2004. Sybase Inc. All rights reserved. Altitude

View this book as PDF