| EditLinksAuto property |
Applies to
TIB_CustomGrid
Declaration
Property EditLinksAuto : boolean;
Description
When EditLinksAuto is true then edit link buttons will appear automatically
for all text blob columns.
ALSO, if you do NOT define an OnEditButtonClick event then the default IBO memo
edit dialog will be presented when the user clicks on the edit button of
a cell - this is true for both text blob columns AND and any other text
column defined in the EditLinks. This is useful to allow large VARCHAR
fields to be edited in the memo dialog, however this approach is NOT
recommended for fields which must consist of a single-line of text, since the
memo editor will obviously permit the insertion of multiple lines.
(So the solution is to NOT add single line fields to the EditLinks unless
you are going to define your own OnEditButtonClick handler.)
IMPORTANT: If you define your own OnEditButtonClick event then your code will
override the presentation of the IBO memo edit dialog, in which case you
must take over the function of presenting an edit interface for the user.
You can call the public ShowMemoEditor of the grid from your own handler
if/when appropriate.