| EditLinkAutoClicked property |
Applies to
TIB_CustomGrid
Declaration
Property EditLinkAutoClicked : boolean;
Description
Check the state of this read-only flag in the OnEditButtonClick event
to see if the event was caused by automatic processing due to having
enabled the gnOnEditDoEditClick (in NavigateOptions). If the flag
is false then the event was generated by the normal user action of clicking
on the displayed edit button, or pressing Alt+Down (or Ctrl+Enter) while the
inplace editor was already active.
You may use this when most of your editlinks are for memos that you
want automatically enabled (so you set gnOnEditDoEditClick=true), but perhaps
you have one column which would normally be edited directly by the
inplace editor that also has an optional edit button. In the instance
of that column you could use the EditLinkAutoClicked flag to prevent
the simulated click of the edit button.