Vcl.DBCtrls.TFieldDataLink.Edit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Edit: Boolean;

C++

HIDESBASE bool __fastcall Edit();

Properties

Type Visibility Source Unit Parent
function public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TFieldDataLink

Description

Attempts to drive the DataSource into an editing state if it is not already in one.

Use Edit to try to ensure that the contents of the field can be modified. A return value of true indicates that the field was already in an editing state, or that the DataSource was successfully changed to allow editing. A return value of false indicates that the DataSource could not be changed to allow editing. For example, if the CanModify property is false, Edit fails, and returns false.

See Also