When this action is assigned to a client's action property (e.g. tbutton.action or tmenuitem.action), the client's caption, imagelist, imagenr, imagecheckedoffset, colorglyph, color, hint, shortcut, tag, group and onexecute, as well as the as_disabled, as_invisible, as_checked and as_default members of state, are kept synchronized with this action
Source position: mseact.pas line 266
public property tcustomaction.caption : captionty |
When this action is assigned to a client's action property (e.g. tbutton.action or tmenuitem.action), the client's caption, imagelist, imagenr, imagecheckedoffset, colorglyph, color, hint, shortcut, tag, group and onexecute, as well as the as_disabled, as_invisible, as_checked and as_default members of state, are kept synchronized with this action — as long as the corresponding as_local* member of the client's own state is False. Editing one of those properties directly on the client sets its as_local* member to True automatically, detaching it from the action for that property; setting it back to False restores the action's value.