ComponentOne Query 8.0
Editing Values

The EndEdit event occurs when the end user finishes editing a constant value. It gives the developer an opportunity to correct possible user errors and/or to specify what string will be shown in the query for this value (setting the ValueText argument) and what value will be used for this constant in SQL generation (setting the Value argument). Setting the EditedValue and EditedValueText properties also specifies the text and the value for the edited constant, and these properties can be set at any time during editing, not only in the EndEdit event.

The StartEdit method allows the programmer to initiate editing of the currently selected element (constant) programmatically. The ExitEdit method allows the programmer to programmatically finish the editing of a constant value.

The Editing Boolean property returns True if the end user is currently editing a constant value.

See more about customizing the process of editing constant values in Custom Editing and Lookup.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback