Escapement  FaceName

Chapter 3: Property Descriptions and Usage

ExtendedSelect

Applies to

ListBox and ListView controls

Description

ExtendedSelect specifies whether users can select more than one item in a ListBox or ListView at one time. When ExtendedSelect is enabled, users can select multiple items by clicking on an item and dragging the mouse up or down to select items, using Click or Shift+Click to select a sequential group of items, or using Control+Click on multiple items. When ExtendedSelect is not enabled, users cannot select multiple items.

NotePocketBuilder applications When ExtendedSelect is enabled, PocketBuilder applications users can select multiple items with the stylus while pressing the Shift or Control keys on the SIP.

NoteUsage note If both MultiSelect and ExtendedSelect are enabled, then the behavior of ExtendedSelect takes precedence.

Usage


In a painter

StepsTo enable extended select:

  1. Select the Extended Select check box on the General page of the control’s property page


In scripts

The ExtendedSelect property takes a boolean value. The following example lets the user select multiple items using extended selection techniques for a ListBox lb_1:

lb_1.ExtendedSelect = TRUE





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

View this book as PDF