Vcl.DBCtrls.TDBListBox.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read GetReadOnly write SetReadOnly default False;

C++

__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBListBox

Description

Determines if the user can change the field value using the listbox.

Set ReadOnly to specify whether the listbox should be used for display purposes only. If ReadOnly is true, the listbox can only be used to display the value of the field on the current record. If ReadOnly is false, the user can use the listbox to change the field's value to one of the values in the Items list.

See Also