PageRenderTime 61ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/xml/lcl/actnlist.xml

http://github.com/graemeg/lazarus
XML | 1759 lines | 1448 code | 5 blank | 306 comment | 0 complexity | 3e80a2d856e5be9cce6820b7bc4f5bef MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, MPL-2.0-no-copyleft-exception
  1. <?xml version="1.0"?>
  2. <fpdoc-descriptions>
  3. <package name="lcl">
  4. <!--
  5. ====================================================================
  6. ActnList
  7. ====================================================================
  8. -->
  9. <module name="ActnList">
  10. <short>Defines classes for Actions and Lists of actions to be used with LCL components</short>
  11. <descr/>
  12. <!-- unresolved type reference Visibility: default -->
  13. <element name="Classes">
  14. <short/>
  15. <descr/>
  16. <seealso/>
  17. </element>
  18. <!-- unresolved type reference Visibility: default -->
  19. <element name="SysUtils">
  20. <short/>
  21. <descr/>
  22. <seealso/>
  23. </element>
  24. <!-- unresolved type reference Visibility: default -->
  25. <element name="LCLStrConsts">
  26. <short/>
  27. <descr/>
  28. <seealso/>
  29. </element>
  30. <!-- unresolved type reference Visibility: default -->
  31. <element name="LCLProc">
  32. <short/>
  33. <descr/>
  34. <seealso/>
  35. </element>
  36. <!-- unresolved type reference Visibility: default -->
  37. <element name="ImgList">
  38. <short/>
  39. <descr/>
  40. <seealso/>
  41. </element>
  42. <!-- unresolved type reference Visibility: default -->
  43. <element name="LCLClasses">
  44. <short/>
  45. <descr/>
  46. <seealso/>
  47. </element>
  48. <!-- object Visibility: default -->
  49. <element name="TContainedAction">
  50. <short>
  51. <var>TContainedAction</var> - parent class for <var>TCustomAction</var>; defines some properties especially relationships with parents</short>
  52. <descr/>
  53. <errors/>
  54. <seealso/>
  55. </element>
  56. <!-- variable Visibility: private -->
  57. <element name="TContainedAction.FCategory">
  58. <short/>
  59. <descr/>
  60. <seealso/>
  61. </element>
  62. <!-- variable Visibility: private -->
  63. <element name="TContainedAction.FActionList">
  64. <short/>
  65. <descr/>
  66. <seealso/>
  67. </element>
  68. <!-- function Visibility: private -->
  69. <element name="TContainedAction.GetIndex">
  70. <short/>
  71. <descr/>
  72. <errors/>
  73. <seealso/>
  74. </element>
  75. <!-- function result Visibility: default -->
  76. <element name="TContainedAction.GetIndex.Result">
  77. <short/>
  78. </element>
  79. <!-- function Visibility: private -->
  80. <element name="TContainedAction.IsCategoryStored">
  81. <short/>
  82. <descr/>
  83. <errors/>
  84. <seealso/>
  85. </element>
  86. <!-- function result Visibility: default -->
  87. <element name="TContainedAction.IsCategoryStored.Result">
  88. <short/>
  89. </element>
  90. <!-- procedure Visibility: private -->
  91. <element name="TContainedAction.SetCategory">
  92. <short/>
  93. <descr/>
  94. <errors/>
  95. <seealso/>
  96. </element>
  97. <!-- argument Visibility: default -->
  98. <element name="TContainedAction.SetCategory.Value">
  99. <short/>
  100. </element>
  101. <!-- procedure Visibility: private -->
  102. <element name="TContainedAction.SetIndex">
  103. <short/>
  104. <descr/>
  105. <errors/>
  106. <seealso/>
  107. </element>
  108. <!-- argument Visibility: default -->
  109. <element name="TContainedAction.SetIndex.Value">
  110. <short/>
  111. </element>
  112. <!-- procedure Visibility: private -->
  113. <element name="TContainedAction.SetActionList">
  114. <short/>
  115. <descr/>
  116. <errors/>
  117. <seealso/>
  118. </element>
  119. <!-- argument Visibility: default -->
  120. <element name="TContainedAction.SetActionList.AActionList">
  121. <short/>
  122. </element>
  123. <!-- procedure Visibility: protected -->
  124. <element name="TContainedAction.ReadState" link="#rtl.Classes.TComponent.ReadState">
  125. <short/>
  126. <descr/>
  127. <errors/>
  128. <seealso/>
  129. </element>
  130. <!-- argument Visibility: default -->
  131. <element name="TContainedAction.ReadState.Reader">
  132. <short/>
  133. </element>
  134. <!-- procedure Visibility: protected -->
  135. <element name="TContainedAction.SetParentComponent" link="#rtl.Classes.TComponent.SetParentComponent">
  136. <short/>
  137. <descr/>
  138. <errors/>
  139. <seealso/>
  140. </element>
  141. <!-- argument Visibility: default -->
  142. <element name="TContainedAction.SetParentComponent.AParent">
  143. <short/>
  144. </element>
  145. <!-- procedure Visibility: protected -->
  146. <element name="TContainedAction.Change">
  147. <short/>
  148. <descr/>
  149. <errors/>
  150. <seealso/>
  151. </element>
  152. <!-- destructor Visibility: public -->
  153. <element name="TContainedAction.Destroy" link="#rtl.Classes.TBasicAction.Destroy">
  154. <descr>If you call Destroy for an object witch hasn´t being initialized yet it will generate an error. Always use the Free method to deallocate objects, because it verifies if object variable doesn´t contain the value nil.
  155. Take the following precautions when creating your own Destroy method:
  156. * Declare Destroy with the override directive, because it is a virtual method.
  157. * Always call 'inherited Destroy;' as the last thing on the destructor code.
  158. * An exception may be raised on the constructor in case there is not enought memory to create an object, or something else goes wrong. If the exception is not handled inside the constructor, the object will be only partially built. In this case Destroy will be called, so your destructor must check if the resources were really allocated before disposing of them.
  159. * Remember to call Free for all objects created on the constructor.
  160. </descr>
  161. <errors/>
  162. <seealso/>
  163. </element>
  164. <!-- function Visibility: public -->
  165. <element name="TContainedAction.Execute" link="#rtl.Classes.TBasicAction.Execute">
  166. <short/>
  167. <descr/>
  168. <errors/>
  169. <seealso/>
  170. </element>
  171. <!-- function result Visibility: default -->
  172. <element name="TContainedAction.Execute.Result">
  173. <short/>
  174. </element>
  175. <!-- function Visibility: public -->
  176. <element name="TContainedAction.GetParentComponent" link="#rtl.Classes.TComponent.GetParentComponent">
  177. <short/>
  178. <descr/>
  179. <errors/>
  180. <seealso/>
  181. </element>
  182. <!-- function result Visibility: default -->
  183. <element name="TContainedAction.GetParentComponent.Result">
  184. <short/>
  185. </element>
  186. <!-- function Visibility: public -->
  187. <element name="TContainedAction.HasParent" link="#rtl.Classes.TComponent.HasParent">
  188. <short/>
  189. <descr/>
  190. <errors/>
  191. <seealso/>
  192. </element>
  193. <!-- function result Visibility: default -->
  194. <element name="TContainedAction.HasParent.Result">
  195. <short/>
  196. </element>
  197. <!-- function Visibility: public -->
  198. <element name="TContainedAction.Update" link="#rtl.Classes.TBasicAction.Update">
  199. <short/>
  200. <descr/>
  201. <errors/>
  202. <seealso/>
  203. </element>
  204. <!-- function result Visibility: default -->
  205. <element name="TContainedAction.Update.Result">
  206. <short/>
  207. </element>
  208. <!-- property Visibility: public -->
  209. <element name="TContainedAction.ActionList">
  210. <short>The <var>ActionList</var> in which this action is contained</short>
  211. <descr/>
  212. <seealso/>
  213. </element>
  214. <!-- property Visibility: public -->
  215. <element name="TContainedAction.Index">
  216. <short>The <var>Index</var> of this action in the list of actions</short>
  217. <descr/>
  218. <seealso/>
  219. </element>
  220. <!-- property Visibility: published -->
  221. <element name="TContainedAction.Category">
  222. <short>The <var>Category</var> of this action</short>
  223. <descr/>
  224. <seealso/>
  225. </element>
  226. <!-- "class of" type Visibility: default -->
  227. <element name="TContainedActionClass">
  228. <short/>
  229. <descr/>
  230. <seealso/>
  231. </element>
  232. <!-- procedure type Visibility: default -->
  233. <element name="TActionEvent">
  234. <short/>
  235. <descr/>
  236. <seealso/>
  237. </element>
  238. <!-- argument Visibility: default -->
  239. <element name="TActionEvent.Action">
  240. <short/>
  241. </element>
  242. <!-- argument Visibility: default -->
  243. <element name="TActionEvent.Handled">
  244. <short/>
  245. </element>
  246. <!-- enumeration type Visibility: default -->
  247. <element name="TActionListState">
  248. <short/>
  249. <descr/>
  250. <seealso/>
  251. </element>
  252. <!-- enumeration value Visibility: default -->
  253. <element name="TActionListState.asNormal">
  254. <short/>
  255. </element>
  256. <!-- enumeration value Visibility: default -->
  257. <element name="TActionListState.asSuspended">
  258. <short/>
  259. </element>
  260. <!-- enumeration value Visibility: default -->
  261. <element name="TActionListState.asSuspendedEnabled">
  262. <short/>
  263. </element>
  264. <!-- object Visibility: default -->
  265. <element name="TCustomActionList">
  266. <short>
  267. <var>TCustomActionList</var> - the ancestor class for <var>TActionList</var>
  268. </short>
  269. <descr>
  270. <p>
  271. <var>TCustomActionList</var> - the ancestor class for <var>TActionList</var>. If you want to define your own action list class, you should derive it from this class.</p>
  272. <p>
  273. <var>TActionList</var>, <var>TAction</var>, <var>TActionLink</var> and <var>TContainedAction</var> are used to centralize
  274. the implementation of user commands, and can then be linked to the appropriate button, menu or another component. This is an Object-Oriented programming strategy
  275. to reuse the code, as opposed to the Event-Oriented approach of writing an OnClick event for each component.</p>
  276. </descr>
  277. <seealso>
  278. <link id="TActionList"/>
  279. </seealso>
  280. </element>
  281. <!-- variable Visibility: private -->
  282. <element name="TCustomActionList.FActions">
  283. <short/>
  284. <descr/>
  285. <seealso/>
  286. </element>
  287. <!-- variable Visibility: private -->
  288. <element name="TCustomActionList.FImageChangeLink">
  289. <short/>
  290. <descr/>
  291. <seealso/>
  292. </element>
  293. <!-- variable Visibility: private -->
  294. <element name="TCustomActionList.FImages">
  295. <short/>
  296. <descr/>
  297. <seealso/>
  298. </element>
  299. <!-- variable Visibility: private -->
  300. <element name="TCustomActionList.FOnChange">
  301. <short/>
  302. <descr/>
  303. <seealso/>
  304. </element>
  305. <!-- variable Visibility: private -->
  306. <element name="TCustomActionList.FOnExecute">
  307. <short/>
  308. <descr/>
  309. <seealso/>
  310. </element>
  311. <!-- variable Visibility: private -->
  312. <element name="TCustomActionList.FOnUpdate">
  313. <short/>
  314. <descr/>
  315. <seealso/>
  316. </element>
  317. <!-- variable Visibility: private -->
  318. <element name="TCustomActionList.FState">
  319. <short/>
  320. <descr/>
  321. <seealso/>
  322. </element>
  323. <!-- function Visibility: private -->
  324. <element name="TCustomActionList.GetAction">
  325. <short/>
  326. <descr/>
  327. <errors/>
  328. <seealso/>
  329. </element>
  330. <!-- function result Visibility: default -->
  331. <element name="TCustomActionList.GetAction.Result">
  332. <short/>
  333. </element>
  334. <!-- argument Visibility: default -->
  335. <element name="TCustomActionList.GetAction.Index">
  336. <short/>
  337. </element>
  338. <!-- function Visibility: private -->
  339. <element name="TCustomActionList.GetActionCount">
  340. <short/>
  341. <descr/>
  342. <errors/>
  343. <seealso/>
  344. </element>
  345. <!-- function result Visibility: default -->
  346. <element name="TCustomActionList.GetActionCount.Result">
  347. <short/>
  348. </element>
  349. <!-- procedure Visibility: private -->
  350. <element name="TCustomActionList.ImageListChange">
  351. <short/>
  352. <descr/>
  353. <errors/>
  354. <seealso/>
  355. </element>
  356. <!-- argument Visibility: default -->
  357. <element name="TCustomActionList.ImageListChange.Sender">
  358. <short/>
  359. </element>
  360. <!-- procedure Visibility: private -->
  361. <element name="TCustomActionList.SetAction">
  362. <short/>
  363. <descr/>
  364. <errors/>
  365. <seealso/>
  366. </element>
  367. <!-- argument Visibility: default -->
  368. <element name="TCustomActionList.SetAction.Index">
  369. <short/>
  370. </element>
  371. <!-- argument Visibility: default -->
  372. <element name="TCustomActionList.SetAction.Value">
  373. <short/>
  374. </element>
  375. <!-- procedure Visibility: private -->
  376. <element name="TCustomActionList.SetState">
  377. <short/>
  378. <descr/>
  379. <errors/>
  380. <seealso/>
  381. </element>
  382. <!-- argument Visibility: default -->
  383. <element name="TCustomActionList.SetState.Value">
  384. <short/>
  385. </element>
  386. <!-- procedure Visibility: protected -->
  387. <element name="TCustomActionList.AddAction">
  388. <short>
  389. <var>AddAction</var> - adds an action to the list</short>
  390. <descr/>
  391. <errors/>
  392. <seealso/>
  393. </element>
  394. <!-- argument Visibility: default -->
  395. <element name="TCustomActionList.AddAction.Action">
  396. <short/>
  397. </element>
  398. <!-- procedure Visibility: protected -->
  399. <element name="TCustomActionList.RemoveAction">
  400. <short>
  401. <var>RemoveAction</var> - removes an action from the list</short>
  402. <descr/>
  403. <errors/>
  404. <seealso/>
  405. </element>
  406. <!-- argument Visibility: default -->
  407. <element name="TCustomActionList.RemoveAction.Action">
  408. <short/>
  409. </element>
  410. <!-- procedure Visibility: protected -->
  411. <element name="TCustomActionList.Change">
  412. <short>
  413. <var>Change</var> the action</short>
  414. <descr/>
  415. <errors/>
  416. <seealso/>
  417. </element>
  418. <!-- procedure Visibility: protected -->
  419. <element name="TCustomActionList.GetChildren" link="#rtl.Classes.TComponent.GetChildren">
  420. <short/>
  421. <descr/>
  422. <errors/>
  423. <seealso/>
  424. </element>
  425. <!-- argument Visibility: default -->
  426. <element name="TCustomActionList.GetChildren.Proc">
  427. <short/>
  428. </element>
  429. <!-- argument Visibility: default -->
  430. <element name="TCustomActionList.GetChildren.Root">
  431. <short/>
  432. </element>
  433. <!-- procedure Visibility: protected -->
  434. <element name="TCustomActionList.Notification" link="#rtl.Classes.TComponent.Notification">
  435. <short/>
  436. <descr/>
  437. <errors/>
  438. <seealso/>
  439. </element>
  440. <!-- argument Visibility: default -->
  441. <element name="TCustomActionList.Notification.AComponent">
  442. <short/>
  443. </element>
  444. <!-- argument Visibility: default -->
  445. <element name="TCustomActionList.Notification.Operation">
  446. <short/>
  447. </element>
  448. <!-- procedure Visibility: protected -->
  449. <element name="TCustomActionList.SetChildOrder" link="#rtl.Classes.TComponent.SetChildOrder">
  450. <short/>
  451. <descr/>
  452. <errors/>
  453. <seealso/>
  454. </element>
  455. <!-- argument Visibility: default -->
  456. <element name="TCustomActionList.SetChildOrder.Component">
  457. <short/>
  458. </element>
  459. <!-- argument Visibility: default -->
  460. <element name="TCustomActionList.SetChildOrder.Order">
  461. <short/>
  462. </element>
  463. <!-- procedure Visibility: protected -->
  464. <element name="TCustomActionList.SetImages">
  465. <short>
  466. <var>SetImages</var> - stores a list of images</short>
  467. <descr/>
  468. <errors/>
  469. <seealso/>
  470. </element>
  471. <!-- argument Visibility: default -->
  472. <element name="TCustomActionList.SetImages.Value">
  473. <short/>
  474. </element>
  475. <!-- property Visibility: protected -->
  476. <element name="TCustomActionList.OnChange">
  477. <short>
  478. <var>OnChange</var> - event handler for a change in the action</short>
  479. <descr/>
  480. <seealso/>
  481. </element>
  482. <!-- property Visibility: protected -->
  483. <element name="TCustomActionList.OnExecute">
  484. <short>
  485. <var>OnExecute</var> - event handler for execution of the action</short>
  486. <descr/>
  487. <seealso/>
  488. </element>
  489. <!-- property Visibility: protected -->
  490. <element name="TCustomActionList.OnUpdate">
  491. <short>
  492. <var>OnUpdate</var> - event handler for updating the action</short>
  493. <descr/>
  494. <seealso/>
  495. </element>
  496. <!-- constructor Visibility: public -->
  497. <element name="TCustomActionList.Create">
  498. <short>
  499. <var>Create</var> - constructor for <var>TCustomActionList</var>: calls inherited <var>Create</var> then initialises some local variables</short>
  500. <seealso>
  501. <link id="#rtl.Classes.TComponent.Create"/>
  502. </seealso>
  503. </element>
  504. <!-- argument Visibility: default -->
  505. <element name="TCustomActionList.Create.AOwner">
  506. <short/>
  507. </element>
  508. <!-- destructor Visibility: public -->
  509. <element name="TCustomActionList.Destroy">
  510. <descr>
  511. <var>Destroy</var> sends a <var>opRemove</var> notification to all components
  512. in the free-notification list. After that, all owned components are
  513. destroyed by calling <link id="#rtl.Classes.TComponent.DestroyComponents">DestroyComponents</link>
  514. (and hence removed from the list of owned components). When this
  515. is done, the component removes itself from its owner's child component list.
  516. After that, the parent's destroy method is called.
  517. </descr>
  518. <short>
  519. <var>Destroy</var> - destructor for <var>TCustomActionList</var>: frees various links then calls inherited <var>Destroy</var>
  520. </short>
  521. <seealso>
  522. <link id="#rtl.Classes.TComponent.Destroy"/>
  523. </seealso>
  524. </element>
  525. <!-- function Visibility: public -->
  526. <element name="TCustomActionList.ExecuteAction" link="#rtl.Classes.TComponent.ExecuteAction">
  527. <descr>
  528. <var>ExecuteAction</var> checks whether <var>Action</var> handles the
  529. current component, and if yes, calls the <var>ExecuteAction</var> method,
  530. passing itself as a parameter. The function returns <var>True</var> if the
  531. action handles the current component.
  532. </descr>
  533. <errors/>
  534. <seealso/>
  535. </element>
  536. <!-- function result Visibility: default -->
  537. <element name="TCustomActionList.ExecuteAction.Result">
  538. <short/>
  539. </element>
  540. <!-- argument Visibility: default -->
  541. <element name="TCustomActionList.ExecuteAction.Action">
  542. <short/>
  543. </element>
  544. <!-- function Visibility: public -->
  545. <element name="TCustomActionList.UpdateAction" link="#rtl.Classes.TComponent.UpdateAction">
  546. <descr>
  547. <var>UpdateAction</var> checks whether <var>Action</var> handles the
  548. current component, and if yes, calls the <var>UpdateTarget</var> method,
  549. passing itself as a parameter. The function returns <var>True</var> if the
  550. action handles the current component.
  551. </descr>
  552. <errors/>
  553. <seealso/>
  554. </element>
  555. <!-- function result Visibility: default -->
  556. <element name="TCustomActionList.UpdateAction.Result">
  557. <short/>
  558. </element>
  559. <!-- argument Visibility: default -->
  560. <element name="TCustomActionList.UpdateAction.Action">
  561. <short/>
  562. </element>
  563. <!-- function Visibility: public -->
  564. <element name="TCustomActionList.IndexOfName">
  565. <short>The Index value of the name of this action in the ActionList</short>
  566. <descr/>
  567. <errors/>
  568. <seealso/>
  569. </element>
  570. <!-- function result Visibility: default -->
  571. <element name="TCustomActionList.IndexOfName.Result">
  572. <short/>
  573. </element>
  574. <!-- argument Visibility: default -->
  575. <element name="TCustomActionList.IndexOfName.ActionName">
  576. <short/>
  577. </element>
  578. <!-- function Visibility: public -->
  579. <element name="TCustomActionList.ActionByName">
  580. <short>Returns an action identified by its name (as a string)</short>
  581. <descr/>
  582. <errors/>
  583. <seealso/>
  584. </element>
  585. <!-- function result Visibility: default -->
  586. <element name="TCustomActionList.ActionByName.Result">
  587. <short/>
  588. </element>
  589. <!-- argument Visibility: default -->
  590. <element name="TCustomActionList.ActionByName.ActionName">
  591. <short/>
  592. </element>
  593. <!-- property Visibility: public -->
  594. <element name="TCustomActionList.Actions">
  595. <short>The indexed list of actions</short>
  596. <descr/>
  597. <seealso/>
  598. </element>
  599. <!-- argument Visibility: default -->
  600. <element name="TCustomActionList.Actions.Index">
  601. <short/>
  602. </element>
  603. <!-- property Visibility: public -->
  604. <element name="TCustomActionList.ActionCount">
  605. <short>The total number of actions in the actionlist</short>
  606. <descr/>
  607. <seealso/>
  608. </element>
  609. <!-- property Visibility: public -->
  610. <element name="TCustomActionList.Images">
  611. <short>The <var>Images</var> from an <var>ImageList</var> to be associated with the actions, eg in a Menu display</short>
  612. </element>
  613. <!-- property Visibility: public -->
  614. <element name="TCustomActionList.State">
  615. <short>State of the action : Normal, Suspended or SuspendedEnabled</short>
  616. <descr/>
  617. <seealso/>
  618. </element>
  619. <!-- object Visibility: default -->
  620. <element name="TActionList">
  621. <short>
  622. <var>TActionList</var> - The basic actions list class</short>
  623. <descr>
  624. <p>
  625. <var>TActionList</var> - The basic actions list class</p>
  626. <p>
  627. <var>TActionList</var> is the last component on the "Standard" component pallete on the Lazarus IDE.</p>
  628. <p>To use an ActionList, click on the icon on the IDE Standard Components toolbar, then click anywhere on the main form and an ActionList icon will appear. It doesn't matter where you position it, because it is not visible at run-time. </p>
  629. <p>You can add, remove or modify actions on the list by right-clicking on the ActionList icon on the form editor and then choosing "Edit action list...", or by double-clicking on the icon with the left mouse button. This will open the "Action List Editor". </p>
  630. <p>You can now use the "+" and "-" buttons to add and remove actions. The ActionList editor menu allows you to select standard actions from a selection (option 'New Standard Action') or create a new action (option 'New Action'). To edit an action, click it and then open the object inspector. To add code to be executed when an action is triggered, double-click the action's name on the "Action List Editor".</p>
  631. <p>The <var>TActionList</var>
  632. Class introduces very few properties of its own, but inherits a lot from its ancestor, <link id="#lcl.ActnList.TCustomActionList">TCustomActionList</link>, and related components <link id="#lcl.ActnList.TAction">TAction</link>, <link id="#lcl.ActnList.TCustomAction">TCustomAction</link>, <link id="#lcl.ActnList.TContainedAction">TContainedAction</link> and <link id="#rtl.Classes.TBasicAction">TBasicAction</link>
  633. </p>
  634. <p>Each entry in the ActionList appears in the Object Inspector as an instance of <var>TAction</var>, and its properties are accessible and modifiable from the Object Inspector</p>
  635. </descr>
  636. </element>
  637. <!-- property Visibility: published -->
  638. <element name="TActionList.Images" link="#LCL.ActnList.TCustomActionList.Images">
  639. <descr/>
  640. <seealso/>
  641. </element>
  642. <!-- property Visibility: published -->
  643. <element name="TActionList.State" link="#LCL.ActnList.TCustomActionList.State">
  644. <descr/>
  645. <seealso/>
  646. </element>
  647. <!-- property Visibility: published -->
  648. <element name="TActionList.OnChange" link="#LCL.ActnList.TCustomActionList.OnChange">
  649. <descr/>
  650. <seealso/>
  651. </element>
  652. <!-- property Visibility: published -->
  653. <element name="TActionList.OnExecute" link="#LCL.ActnList.TCustomActionList.OnExecute">
  654. <descr/>
  655. <seealso/>
  656. </element>
  657. <!-- property Visibility: published -->
  658. <element name="TActionList.OnUpdate" link="#LCL.ActnList.TCustomActionList.OnUpdate">
  659. <descr/>
  660. <seealso/>
  661. </element>
  662. <!-- object Visibility: default -->
  663. <element name="TShortCutList">
  664. <short>TShortCutList - a list of shortcuts for actions in an ActionList</short>
  665. <descr/>
  666. <errors/>
  667. <seealso/>
  668. </element>
  669. <!-- function Visibility: private -->
  670. <element name="TShortCutList.GetShortCuts">
  671. <short/>
  672. <descr/>
  673. <errors/>
  674. <seealso/>
  675. </element>
  676. <!-- function result Visibility: default -->
  677. <element name="TShortCutList.GetShortCuts.Result">
  678. <short/>
  679. </element>
  680. <!-- argument Visibility: default -->
  681. <element name="TShortCutList.GetShortCuts.Index">
  682. <short/>
  683. </element>
  684. <!-- function Visibility: public -->
  685. <element name="TShortCutList.Add">
  686. <short>Add a shortcut to the list; implements the <link id="#rtl.classes.TStrings.Add"/> function</short>
  687. <descr/>
  688. <errors/>
  689. <seealso/>
  690. </element>
  691. <!-- function result Visibility: default -->
  692. <element name="TShortCutList.Add.Result">
  693. <short/>
  694. </element>
  695. <!-- argument Visibility: default -->
  696. <element name="TShortCutList.Add.S">
  697. <short/>
  698. </element>
  699. <!-- function Visibility: public -->
  700. <element name="TShortCutList.IndexOfShortCut">
  701. <short>The index number of the shortcut in the list</short>
  702. <descr/>
  703. <errors/>
  704. <seealso/>
  705. </element>
  706. <!-- function result Visibility: default -->
  707. <element name="TShortCutList.IndexOfShortCut.Result">
  708. <short/>
  709. </element>
  710. <!-- argument Visibility: default -->
  711. <element name="TShortCutList.IndexOfShortCut.Shortcut">
  712. <short/>
  713. </element>
  714. <!-- property Visibility: public -->
  715. <element name="TShortCutList.ShortCuts">
  716. <short>The indexed list of short cuts</short>
  717. <descr/>
  718. <seealso/>
  719. </element>
  720. <!-- argument Visibility: default -->
  721. <element name="TShortCutList.ShortCuts.Index">
  722. <short/>
  723. </element>
  724. <!-- procedure type Visibility: default -->
  725. <element name="THintEvent">
  726. <short/>
  727. <descr/>
  728. <seealso/>
  729. </element>
  730. <!-- argument Visibility: default -->
  731. <element name="THintEvent.HintStr">
  732. <short/>
  733. </element>
  734. <!-- argument Visibility: default -->
  735. <element name="THintEvent.CanShow">
  736. <short/>
  737. </element>
  738. <!-- object Visibility: default -->
  739. <element name="TCustomAction">
  740. <short>
  741. <var>TCustomAction</var> is the ancestor class for <var>TAction</var>
  742. </short>
  743. <descr>
  744. <p>
  745. <var>TCustomAction</var> is a generic class for all components that represent actions that can be be set on the user interface for buttons and other controls. <var>TCustomAction</var> is the ancestor for <var>TAction</var>. If you want to define your own action class, you should derive it from this class.</p>
  746. <p>You can assign a action to a component by using the Object Inspector.</p>
  747. </descr>
  748. <seealso>
  749. <link id="TAction"/>
  750. </seealso>
  751. </element>
  752. <!-- variable Visibility: private -->
  753. <element name="TCustomAction.FDisableIfNoHandler">
  754. <short/>
  755. <descr/>
  756. <seealso/>
  757. </element>
  758. <!-- variable Visibility: private -->
  759. <element name="TCustomAction.FCaption">
  760. <short/>
  761. <descr/>
  762. <seealso/>
  763. </element>
  764. <!-- variable Visibility: private -->
  765. <element name="TCustomAction.FChecking">
  766. <short/>
  767. <descr/>
  768. <seealso/>
  769. </element>
  770. <!-- variable Visibility: private -->
  771. <element name="TCustomAction.FChecked">
  772. <short/>
  773. <descr/>
  774. <seealso/>
  775. </element>
  776. <!-- variable Visibility: private -->
  777. <element name="TCustomAction.FEnabled">
  778. <short/>
  779. <descr/>
  780. <seealso/>
  781. </element>
  782. <!-- variable Visibility: private -->
  783. <element name="TCustomAction.FGroupIndex">
  784. <short/>
  785. <descr/>
  786. <seealso/>
  787. </element>
  788. <!-- variable Visibility: private -->
  789. <element name="TCustomAction.FHelpType">
  790. <short/>
  791. <descr/>
  792. <seealso/>
  793. </element>
  794. <!-- variable Visibility: private -->
  795. <element name="TCustomAction.FHelpContext">
  796. <short/>
  797. <descr/>
  798. <seealso/>
  799. </element>
  800. <!-- variable Visibility: private -->
  801. <element name="TCustomAction.FHelpKeyword">
  802. <short/>
  803. <descr/>
  804. <seealso/>
  805. </element>
  806. <!-- variable Visibility: private -->
  807. <element name="TCustomAction.FHint">
  808. <short/>
  809. <descr/>
  810. <seealso/>
  811. </element>
  812. <!-- variable Visibility: private -->
  813. <element name="TCustomAction.FImageIndex">
  814. <short/>
  815. <descr/>
  816. <seealso/>
  817. </element>
  818. <!-- variable Visibility: private -->
  819. <element name="TCustomAction.FShortCut">
  820. <short/>
  821. <descr/>
  822. <seealso/>
  823. </element>
  824. <!-- variable Visibility: private -->
  825. <element name="TCustomAction.FVisible">
  826. <short/>
  827. <descr/>
  828. <seealso/>
  829. </element>
  830. <!-- variable Visibility: private -->
  831. <element name="TCustomAction.FOnHint">
  832. <short/>
  833. <descr/>
  834. <seealso/>
  835. </element>
  836. <!-- variable Visibility: private -->
  837. <element name="TCustomAction.FSecondaryShortCuts">
  838. <short/>
  839. <descr/>
  840. <seealso/>
  841. </element>
  842. <!-- variable Visibility: private -->
  843. <element name="TCustomAction.FSavedEnabledState">
  844. <short/>
  845. <descr/>
  846. <seealso/>
  847. </element>
  848. <!-- variable Visibility: private -->
  849. <element name="TCustomAction.FAutoCheck">
  850. <short/>
  851. <descr/>
  852. <seealso/>
  853. </element>
  854. <!-- procedure Visibility: private -->
  855. <element name="TCustomAction.SetAutoCheck">
  856. <short/>
  857. <descr/>
  858. <errors/>
  859. <seealso/>
  860. </element>
  861. <!-- argument Visibility: default -->
  862. <element name="TCustomAction.SetAutoCheck.Value">
  863. <short/>
  864. </element>
  865. <!-- procedure Visibility: private -->
  866. <element name="TCustomAction.SetCaption">
  867. <short/>
  868. <descr/>
  869. <errors/>
  870. <seealso/>
  871. </element>
  872. <!-- argument Visibility: default -->
  873. <element name="TCustomAction.SetCaption.Value">
  874. <short/>
  875. </element>
  876. <!-- procedure Visibility: private -->
  877. <element name="TCustomAction.SetChecked">
  878. <short/>
  879. <descr/>
  880. <errors/>
  881. <seealso/>
  882. </element>
  883. <!-- argument Visibility: default -->
  884. <element name="TCustomAction.SetChecked.Value">
  885. <short/>
  886. </element>
  887. <!-- procedure Visibility: private -->
  888. <element name="TCustomAction.SetEnabled">
  889. <short/>
  890. <descr/>
  891. <errors/>
  892. <seealso/>
  893. </element>
  894. <!-- argument Visibility: default -->
  895. <element name="TCustomAction.SetEnabled.Value">
  896. <short/>
  897. </element>
  898. <!-- procedure Visibility: private -->
  899. <element name="TCustomAction.SetGroupIndex">
  900. <short/>
  901. <descr/>
  902. <errors/>
  903. <seealso/>
  904. </element>
  905. <!-- argument Visibility: default -->
  906. <element name="TCustomAction.SetGroupIndex.Value">
  907. <short/>
  908. </element>
  909. <!-- procedure Visibility: private -->
  910. <element name="TCustomAction.SetHelpContext">
  911. <short/>
  912. <descr/>
  913. <errors/>
  914. <seealso/>
  915. </element>
  916. <!-- argument Visibility: default -->
  917. <element name="TCustomAction.SetHelpContext.Value">
  918. <short/>
  919. </element>
  920. <!-- procedure Visibility: private -->
  921. <element name="TCustomAction.SetHelpKeyword">
  922. <short/>
  923. <descr/>
  924. <errors/>
  925. <seealso/>
  926. </element>
  927. <!-- argument Visibility: default -->
  928. <element name="TCustomAction.SetHelpKeyword.Value">
  929. <short/>
  930. </element>
  931. <!-- procedure Visibility: private -->
  932. <element name="TCustomAction.SetHelpType">
  933. <short/>
  934. <descr/>
  935. <errors/>
  936. <seealso/>
  937. </element>
  938. <!-- argument Visibility: default -->
  939. <element name="TCustomAction.SetHelpType.Value">
  940. <short/>
  941. </element>
  942. <!-- procedure Visibility: private -->
  943. <element name="TCustomAction.SetHint">
  944. <short/>
  945. <descr/>
  946. <errors/>
  947. <seealso/>
  948. </element>
  949. <!-- argument Visibility: default -->
  950. <element name="TCustomAction.SetHint.Value">
  951. <short/>
  952. </element>
  953. <!-- procedure Visibility: private -->
  954. <element name="TCustomAction.SetImageIndex">
  955. <short/>
  956. <descr/>
  957. <errors/>
  958. <seealso/>
  959. </element>
  960. <!-- argument Visibility: default -->
  961. <element name="TCustomAction.SetImageIndex.Value">
  962. <short/>
  963. </element>
  964. <!-- procedure Visibility: private -->
  965. <element name="TCustomAction.SetShortCut">
  966. <short/>
  967. <descr/>
  968. <errors/>
  969. <seealso/>
  970. </element>
  971. <!-- argument Visibility: default -->
  972. <element name="TCustomAction.SetShortCut.Value">
  973. <short/>
  974. </element>
  975. <!-- procedure Visibility: private -->
  976. <element name="TCustomAction.SetVisible">
  977. <short/>
  978. <descr/>
  979. <errors/>
  980. <seealso/>
  981. </element>
  982. <!-- argument Visibility: default -->
  983. <element name="TCustomAction.SetVisible.Value">
  984. <short/>
  985. </element>
  986. <!-- function Visibility: private -->
  987. <element name="TCustomAction.GetSecondaryShortCuts">
  988. <short/>
  989. <descr/>
  990. <errors/>
  991. <seealso/>
  992. </element>
  993. <!-- function result Visibility: default -->
  994. <element name="TCustomAction.GetSecondaryShortCuts.Result">
  995. <short/>
  996. </element>
  997. <!-- procedure Visibility: private -->
  998. <element name="TCustomAction.SetSecondaryShortCuts">
  999. <short/>
  1000. <descr/>
  1001. <errors/>
  1002. <seealso/>
  1003. </element>
  1004. <!-- argument Visibility: default -->
  1005. <element name="TCustomAction.SetSecondaryShortCuts.Value">
  1006. <short/>
  1007. </element>
  1008. <!-- function Visibility: private -->
  1009. <element name="TCustomAction.IsSecondaryShortCutsStored">
  1010. <short/>
  1011. <descr/>
  1012. <errors/>
  1013. <seealso/>
  1014. </element>
  1015. <!-- function result Visibility: default -->
  1016. <element name="TCustomAction.IsSecondaryShortCutsStored.Result">
  1017. <short/>
  1018. </element>
  1019. <!-- variable Visibility: protected -->
  1020. <element name="TCustomAction.FImage">
  1021. <short/>
  1022. <descr/>
  1023. <seealso/>
  1024. </element>
  1025. <!-- variable Visibility: protected -->
  1026. <element name="TCustomAction.FMask">
  1027. <short/>
  1028. <descr/>
  1029. <seealso/>
  1030. </element>
  1031. <!-- procedure Visibility: protected -->
  1032. <element name="TCustomAction.AssignTo" link="#rtl.Classes.TPersistent.AssignTo">
  1033. <descr>
  1034. <p>
  1035. <var>AssignTo</var> is the generic function to assign the class' contents to
  1036. another class. This method must be overridden by descendent classes to
  1037. actually assign the content of the source instance to the destination
  1038. instance.
  1039. </p>
  1040. <p>The <link id="TPersistent"/> implementation of <var>Assignto</var> raises
  1041. an <var>EConvertError</var> exception. This is done for the following
  1042. reason: If the source class doesn't know how to assign itself to the
  1043. destination class (using <var>AssignTo</var>), the destination class may
  1044. know how get the data from the source class (using <link id="TPersistent.Assign">Assign</link>). If all descendent methods are
  1045. implemented correctly, then if neither of the two classes knows how to
  1046. assign their contents to each other, execution will end up at <link id="TPersistent.Assign"/>, which will simply execute
  1047. </p>
  1048. <code>Dest.AssignTo(Self);
  1049. </code>
  1050. <p>If neither of the classes knows how to assign to/from each other, then
  1051. execution will end up at the <var>TPersistent</var> implementation of
  1052. <var>AssignTo</var>, and an exception will be raised.
  1053. </p>
  1054. </descr>
  1055. <errors/>
  1056. <seealso/>
  1057. </element>
  1058. <!-- argument Visibility: default -->
  1059. <element name="TCustomAction.AssignTo.Dest">
  1060. <short/>
  1061. </element>
  1062. <!-- procedure Visibility: protected -->
  1063. <element name="TCustomAction.SetName" link="#rtl.Classes.TComponent.SetName">
  1064. <short/>
  1065. <descr/>
  1066. <errors/>
  1067. <seealso/>
  1068. </element>
  1069. <!-- argument Visibility: default -->
  1070. <element name="TCustomAction.SetName.Value">
  1071. <short/>
  1072. </element>
  1073. <!-- function Visibility: protected -->
  1074. <element name="TCustomAction.HandleShortCut">
  1075. <short>
  1076. <var>HandleShortCut</var> - returns True if there is a short cut associated with the handle</short>
  1077. <descr/>
  1078. <errors/>
  1079. <seealso/>
  1080. </element>
  1081. <!-- function result Visibility: default -->
  1082. <element name="TCustomAction.HandleShortCut.Result">
  1083. <short/>
  1084. </element>
  1085. <!-- property Visibility: protected -->
  1086. <element name="TCustomAction.SavedEnabledState">
  1087. <short>
  1088. <var>SavedEnabledState</var> - if True, the Enabled state has been saved</short>
  1089. <descr/>
  1090. <seealso/>
  1091. </element>
  1092. <!-- constructor Visibility: public -->
  1093. <element name="TCustomAction.Create">
  1094. <short>
  1095. <var>Create</var> - constructor for <var>TCustomAction</var>: calls inherited <var>Create</var> then initialises some local variables</short>
  1096. <seealso>
  1097. <link id="#rtl.Classes.TBasicAction.Create"/>
  1098. </seealso>
  1099. </element>
  1100. <!-- argument Visibility: default -->
  1101. <element name="TCustomAction.Create.AOwner">
  1102. <short/>
  1103. </element>
  1104. <!-- destructor Visibility: public -->
  1105. <element name="TCustomAction.Destroy">
  1106. <short>
  1107. <var>Destroy</var> - destructor for <var>TCustomAction</var>: frees various lists and images, then calls inherited <var>Destroy</var>
  1108. </short>
  1109. <seealso>
  1110. <link id="#rtl.Classes.TBasicAction.Destroy"/>
  1111. </seealso>
  1112. </element>
  1113. <!-- function Visibility: public -->
  1114. <element name="TCustomAction.DoHint">
  1115. <short>
  1116. <var>DoHint</var> - method for displaying the hint contained in <var>HintStr</var> if True value is returned</short>
  1117. </element>
  1118. <!-- function result Visibility: default -->
  1119. <element name="TCustomAction.DoHint.Result">
  1120. <short>True if hint is to be displayed</short>
  1121. </element>
  1122. <!-- argument Visibility: default -->
  1123. <element name="TCustomAction.DoHint.HintStr">
  1124. <short>
  1125. <var>HintStr</var> - the text-string for display as a hint</short>
  1126. </element>
  1127. <!-- function Visibility: public -->
  1128. <element name="TCustomAction.Execute" link="#rtl.Classes.TBasicAction.Execute"/>
  1129. <!-- function result Visibility: default -->
  1130. <element name="TCustomAction.Execute.Result">
  1131. <short>True if action is to be performed</short>
  1132. </element>
  1133. <!-- property Visibility: public -->
  1134. <element name="TCustomAction.AutoCheck">
  1135. <short>
  1136. <var>AutoCheck</var> - whether the control (eg a CheckBox) is to be automatically checked</short>
  1137. </element>
  1138. <!-- property Visibility: public -->
  1139. <element name="TCustomAction.Caption">
  1140. <short>The <var>Caption</var> to be used if this action is associated with a visible component</short>
  1141. </element>
  1142. <!-- property Visibility: public -->
  1143. <element name="TCustomAction.Checked">
  1144. <short>Whether the CheckBox associated with the action is <var>Checked</var> (default False)</short>
  1145. </element>
  1146. <!-- property Visibility: public -->
  1147. <element name="TCustomAction.DisableIfNoHandler">
  1148. <short>
  1149. <var>DisableIfNoHandler </var>- don't use this action if no Handler has been provided</short>
  1150. </element>
  1151. <!-- property Visibility: public -->
  1152. <element name="TCustomAction.Enabled">
  1153. <short>
  1154. <var>Enabled</var> - whether this action is able to be used (default True)</short>
  1155. </element>
  1156. <!-- property Visibility: public -->
  1157. <element name="TCustomAction.GroupIndex">
  1158. <short>
  1159. <var>GroupIndex </var>- Index of the action within its group</short>
  1160. </element>
  1161. <!-- property Visibility: public -->
  1162. <element name="TCustomAction.HelpContext">
  1163. <short>
  1164. <var>HelpContext </var>- the index for a context-based help message</short>
  1165. </element>
  1166. <!-- property Visibility: public -->
  1167. <element name="TCustomAction.HelpKeyword">
  1168. <short>
  1169. <var>HelpKeyWord </var>- the keyword of a context-based help message</short>
  1170. </element>
  1171. <!-- property Visibility: public -->
  1172. <element name="TCustomAction.HelpType">
  1173. <short>
  1174. <var>HelpType</var> - the sort of help message to be offered: default Context-based</short>
  1175. </element>
  1176. <!-- property Visibility: public -->
  1177. <element name="TCustomAction.Hint">
  1178. <short>
  1179. <var>Hint</var> - a pop-up message that appears when the mouse hovers over an object</short>
  1180. </element>
  1181. <!-- property Visibility: public -->
  1182. <element name="TCustomAction.ImageIndex">
  1183. <short>
  1184. <var>ImageIndex </var>- the index number of the image to be associated with this action</short>
  1185. </element>
  1186. <!-- property Visibility: public -->
  1187. <element name="TCustomAction.ShortCut">
  1188. <short>
  1189. <var>ShortCut </var>- an index to a shortcut list</short>
  1190. </element>
  1191. <!-- property Visibility: public -->
  1192. <element name="TCustomAction.SecondaryShortCuts">
  1193. <short>
  1194. <var>SecondaryShortCuts</var> - a stringlist containing shortcuts</short>
  1195. </element>
  1196. <!-- property Visibility: public -->
  1197. <element name="TCustomAction.Visible">
  1198. <short>
  1199. <var>Visible</var> - is this action visible? (default True)</short>
  1200. </element>
  1201. <!-- property Visibility: public -->
  1202. <element name="TCustomAction.OnHint">
  1203. <short>
  1204. <var>OnHint</var> - action to be taken when a hint is required</short>
  1205. </element>
  1206. <!-- object Visibility: default -->
  1207. <element name="TAction">
  1208. <short>
  1209. <var>TAction</var> is the basic action object used on the LCL.</short>
  1210. <descr>
  1211. <p>
  1212. <var>TAction</var> is the basic action object used on the LCL.</p>
  1213. <p>It redeclares many properties inherited from TCustomAction on the public section, but does not add any new features. For more details look at the See Also section for TCustomAction.</p>
  1214. <p>The properties of each Action can be modified at design time in the Object Inspector</p>
  1215. </descr>
  1216. <seealso>
  1217. <link id="TCustomAction"/>
  1218. </seealso>
  1219. </element>
  1220. <!-- constructor Visibility: public -->
  1221. <element name="TAction.Create" link="#LCL.ActnList.TCustomAction.Create"/>
  1222. <!-- argument Visibility: default -->
  1223. <element name="TAction.Create.AOwner">
  1224. <short/>
  1225. </element>
  1226. <!-- property Visibility: published -->
  1227. <element name="TAction.AutoCheck" link="#LCL.ActnList.TCustomAction.AutoCheck">
  1228. <descr/>
  1229. <seealso/>
  1230. </element>
  1231. <!-- property Visibility: published -->
  1232. <element name="TAction.Caption" link="#LCL.ActnList.TCustomAction.Caption">
  1233. <descr/>
  1234. <seealso/>
  1235. </element>
  1236. <!-- property Visibility: published -->
  1237. <element name="TAction.Checked" link="#LCL.ActnList.TCustomAction.Checked">
  1238. <descr/>
  1239. <seealso/>
  1240. </element>
  1241. <!-- property Visibility: published -->
  1242. <element name="TAction.Enabled" link="#LCL.ActnList.TCustomAction.Enabled">
  1243. <descr/>
  1244. <seealso/>
  1245. </element>
  1246. <!-- property Visibility: published -->
  1247. <element name="TAction.GroupIndex" link="#LCL.ActnList.TCustomAction.GroupIndex">
  1248. <descr/>
  1249. <seealso/>
  1250. </element>
  1251. <!-- property Visibility: published -->
  1252. <element name="TAction.HelpContext" link="#LCL.ActnList.TCustomAction.HelpContext">
  1253. <descr/>
  1254. <seealso/>
  1255. </element>
  1256. <!-- property Visibility: published -->
  1257. <element name="TAction.HelpKeyword" link="#LCL.ActnList.TCustomAction.HelpKeyword">
  1258. <descr/>
  1259. <seealso/>
  1260. </element>
  1261. <!-- property Visibility: published -->
  1262. <element name="TAction.HelpType" link="#LCL.ActnList.TCustomAction.HelpType">
  1263. <descr/>
  1264. <seealso/>
  1265. </element>
  1266. <!-- property Visibility: published -->
  1267. <element name="TAction.Hint" link="#LCL.ActnList.TCustomAction.Hint">
  1268. <descr/>
  1269. <seealso/>
  1270. </element>
  1271. <!-- property Visibility: published -->
  1272. <element name="TAction.ImageIndex" link="#LCL.ActnList.TCustomAction.ImageIndex">
  1273. <descr/>
  1274. <seealso/>
  1275. </element>
  1276. <!-- property Visibility: published -->
  1277. <element name="TAction.OnExecute" link="#rtl.Classes.TBasicAction.OnExecute">
  1278. <descr><p><var>OnExecute</var> is the event triggered when the action is activated
  1279. (executed). The event is triggered e.g. when the user clicks e.g. on a menu
  1280. item or a button associated to the action. The application programmer
  1281. should provide a <var>OnExecute</var> event handler to execute whatever code
  1282. is necessary when the button is pressed or the menu item is chosen.
  1283. </p><p>Note that assigning an <var>OnExecute</var> handler will result in the
  1284. <link id="TBasicAction.Execute">Execute</link> method returning a
  1285. <var>True</var> value. Predefined actions (such as dataset actions)
  1286. will check the result of <var>Execute</var> and will not perform their
  1287. normal task if the <var>OnExecute</var> handler was called.
  1288. </p><p>Since version 1.1 setting OnExecute no longer sets the owner's OnClick. You can now specify an event for the action and a more specific OnClick for control and both are called. OnClick is called before OnExecute.
  1289. </p>
  1290. </descr>
  1291. <seealso/>
  1292. <short>Event called when action is executed</short>
  1293. </element>
  1294. <!-- property Visibility: published -->
  1295. <element name="TAction.OnHint" link="#LCL.ActnList.TCustomAction.OnHint">
  1296. <descr/>
  1297. <seealso/>
  1298. </element>
  1299. <!-- property Visibility: published -->
  1300. <element name="TAction.OnUpdate" link="#rtl.Classes.TBasicAction.OnUpdate">
  1301. <descr>
  1302. <var>OnUpdate</var> is the event triggered when the application is idle, and
  1303. the action is being updated. The <var>OnUpdate</var> event can be used to
  1304. set the state of the action, for instance disable it if the action cannot be
  1305. executed at this point in time.
  1306. </descr>
  1307. <seealso/>
  1308. </element>
  1309. <!-- property Visibility: published -->
  1310. <element name="TAction.SecondaryShortCuts" link="#LCL.ActnList.TCustomAction.SecondaryShortCuts">
  1311. <descr/>
  1312. <seealso/>
  1313. </element>
  1314. <!-- property Visibility: published -->
  1315. <element name="TAction.ShortCut" link="#LCL.ActnList.TCustomAction.ShortCut">
  1316. <short/>
  1317. <descr/>
  1318. <seealso/>
  1319. </element>
  1320. <!-- property Visibility: published -->
  1321. <element name="TAction.Visible" link="#LCL.ActnList.TCustomAction.Visible">
  1322. <descr/>
  1323. <seealso/>
  1324. </element>
  1325. <!-- object Visibility: default -->
  1326. <element name="TActionLink">
  1327. <short>A link between an action and a client class</short>
  1328. <descr>The class definition includes a number of protected procedures for setting properties for the action (as defined in <link id="TCustomAction"/>), and a number of public boolean functions to indicate which part of the action is linked to the client
  1329. </descr>
  1330. <errors/>
  1331. <seealso/>
  1332. </element>
  1333. <!-- procedure Visibility: protected -->
  1334. <element name="TActionLink.SetAutoCheck">
  1335. <short>
  1336. <var>SetAutoCheck</var> - specifies the value of AutoCheck, whether True or False</short>
  1337. <descr/>
  1338. <errors/>
  1339. <seealso/>
  1340. </element>
  1341. <!-- argument Visibility: default -->
  1342. <element name="TActionLink.SetAutoCheck.Value">
  1343. <short/>
  1344. </element>
  1345. <!-- procedure Visibility: protected -->
  1346. <element name="TActionLink.SetCaption">
  1347. <short>
  1348. <var>SetCaption</var> - specifies the string to be used as caption</short>
  1349. <descr/>
  1350. <errors/>
  1351. <seealso/>
  1352. </element>
  1353. <!-- argument Visibility: default -->
  1354. <element name="TActionLink.SetCaption.Value">
  1355. <short/>
  1356. </element>
  1357. <!-- procedure Visibility: protected -->
  1358. <element name="TActionLink.SetChecked">
  1359. <short>
  1360. <var>SetChecked</var> - specifies the value of the Checked property: True or False</short>
  1361. <descr/>
  1362. <errors/>
  1363. <seealso/>
  1364. </element>
  1365. <!-- argument Visibility: default -->
  1366. <element name="TActionLink.SetChecked.Value">
  1367. <short/>
  1368. </element>
  1369. <!-- procedure Visibility: protected -->
  1370. <element name="TActionLink.SetEnabled">
  1371. <short>
  1372. <var>SetEnabled</var> - specifies the value of the <var>Enabled</var> property: True or False</short>
  1373. <descr/>
  1374. <errors/>
  1375. <seealso/>
  1376. </element>
  1377. <!-- argument Visibility: default -->
  1378. <element name="TActionLink.SetEnabled.Value">
  1379. <short/>
  1380. </element>
  1381. <!-- procedure Visibility: protected -->
  1382. <element name="TActionLink.SetGroupIndex">
  1383. <short>
  1384. <var>SetGroupIndex</var> - specifies the value for the Group Index</short>
  1385. <descr/>
  1386. <errors/>
  1387. <seealso/>
  1388. </element>
  1389. <!-- argument Visibility: default -->
  1390. <element name="TActionLink.SetGroupIndex.Value">
  1391. <short/>
  1392. </element>
  1393. <!-- procedure Visibility: protected -->
  1394. <element name="TActionLink.SetHelpContext">
  1395. <short>
  1396. <var>SetHelpContext</var> - specifies the value to be used for context-sensitive Help</short>
  1397. <descr/>
  1398. <errors/>
  1399. <seealso/>
  1400. </element>
  1401. <!-- argument Visibility: default -->
  1402. <element name="TActionLink.SetHelpContext.Value">
  1403. <short/>
  1404. </element>
  1405. <!-- procedure Visibility: protected -->
  1406. <element name="TActionLink.SetHelpKeyword">
  1407. <short>
  1408. <var>SetHelpKeyword</var> - specifies the keyword to be used for Help</short>
  1409. <descr/>
  1410. <errors/>
  1411. <seealso/>
  1412. </element>
  1413. <!-- argument Visibility: default -->
  1414. <element name="TActionLink.SetHelpKeyword.Value">
  1415. <short/>
  1416. </element>
  1417. <!-- procedure Visibility: protected -->
  1418. <element name="TActionLink.SetHelpType">
  1419. <short>
  1420. <var>SetHelpType</var> - specifies the trpe of Help to be used</short>
  1421. <descr/>
  1422. <errors/>
  1423. <seealso/>
  1424. </element>
  1425. <!-- argument Visibility: default -->
  1426. <element name="TActionLink.SetHelpType.Value">
  1427. <short/>
  1428. </element>
  1429. <!-- procedure Visibility: protected -->
  1430. <element name="TActionLink.SetHint">
  1431. <short>
  1432. <var>SetHint</var> - specifies the string to be used for Hints</short>
  1433. <descr/>
  1434. <errors/>
  1435. <seealso/>
  1436. </element>
  1437. <!-- argument Visibility: default -->
  1438. <element name="TActionLink.SetHint.Value">
  1439. <short/>
  1440. </element>
  1441. <!-- procedure Visibility: protected -->
  1442. <element name="TActionLink.SetImageIndex">
  1443. <short>
  1444. <var>SetImageIndex</var> - specifies the index value for the image associated with the action</short>
  1445. <descr/>
  1446. <errors/>
  1447. <seealso/>
  1448. </element>
  1449. <!-- argument Visibility: default -->
  1450. <element name="TActionLink.SetImageIndex.Value">
  1451. <short/>
  1452. </element>
  1453. <!-- procedure Visibility: protected -->
  1454. <element name="TActionLink.SetShortCut">
  1455. <short>
  1456. <var>SetShortCut</var> - specifies the shortcut for the action</short>
  1457. <descr/>
  1458. <errors/>
  1459. <seealso/>
  1460. </element>
  1461. <!-- argument Visibility: default -->
  1462. <element name="TActionLink.SetShortCut.Value">
  1463. <short/>
  1464. </element>
  1465. <!-- procedure Visibility: protected -->
  1466. <element name="TActionLink.SetVisible">
  1467. <short>
  1468. <var>SetVisible</var> - specifies whether or not the control for the action is <var>Visible</var>
  1469. </short>
  1470. <descr/>
  1471. <errors/>
  1472. <seealso/>
  1473. </element>
  1474. <!-- argument Visibility: default -->
  1475. <element name="TActionLink.SetVisible.Value">
  1476. <short/>
  1477. </element>
  1478. <!-- function Visibility: public -->
  1479. <element name="TActionLink.IsCaptionLinked">
  1480. <short>Is the action's <var>Caption</var> linked to the client?</short>
  1481. <descr/>
  1482. <errors/>
  1483. <seealso/>
  1484. </element>
  1485. <!-- function result Visibility: default -->
  1486. <element name="TActionLink.IsCaptionLinked.Result">
  1487. <short/>
  1488. </element>
  1489. <!-- function Visibility: public -->
  1490. <element name="TActionLink.IsCheckedLinked">
  1491. <short>Is the action's <var>Checked</var> property linked to the client?</short>
  1492. <descr/>
  1493. <errors/>
  1494. <seealso/>
  1495. </element>
  1496. <!-- function result Visibility: default -->
  1497. <element name="TActionLink.IsCheckedLinked.Result">
  1498. <short/>
  1499. </element>
  1500. <!-- function Visibility: public -->
  1501. <element name="TActionLink.IsEnabledLinked">
  1502. <short>Is the action's <var>Enabled</var> property linked to the client?</short>
  1503. <descr/>
  1504. <errors/>
  1505. <seealso/>
  1506. </element>
  1507. <!-- function result Visibility: default -->
  1508. <element name="TActionLink.IsEnabledLinked.Result">
  1509. <short/>
  1510. </element>
  1511. <!-- function Visibility: public -->
  1512. <element name="TActionLink.IsGroupIndexLinked">
  1513. <short>Is the action's <var>GroupIndex</var> property linked to the client?</short>
  1514. <descr/>
  1515. <errors/>
  1516. <seealso/>
  1517. </element>
  1518. <!-- function result Visibility: default -->
  1519. <element name="TActionLink.IsGroupIndexLinked.Result">
  1520. <short/>
  1521. </element>
  1522. <!-- function Visibility: public -->
  1523. <element name="TActionLink.IsHelpContextLinked">
  1524. <short>Is the action's <var>HelpContext</var> property linked to the client?</short>
  1525. <descr/>
  1526. <errors/>
  1527. <seealso/>
  1528. </element>
  1529. <!-- function result Visibility: default -->
  1530. <element name="TActionLink.IsHelpContextLinked.Result">
  1531. <short/>
  1532. </element>
  1533. <!-- function Visibility: public -->
  1534. <element name="TActionLink.IsHelpLinked">
  1535. <short>Is the action's <var>Help</var> property linked to the client?</short>
  1536. <descr/>
  1537. <errors/>
  1538. <seealso/>
  1539. </element>
  1540. <!-- function result Visibility: default -->
  1541. <element name="TActionLink.IsHelpLinked.Result">
  1542. <short/>
  1543. </element>
  1544. <!-- function Visibility: public -->
  1545. <element name="TActionLink.IsHintLinked">
  1546. <short>Is the action's <var>Hint</var> property linked to the client?</short>
  1547. <descr/>
  1548. <errors/>
  1549. <seealso/>
  1550. </element>
  1551. <!-- function result Visibility: default -->
  1552. <element name="TActionLink.IsHintLinked.Result">
  1553. <short/>
  1554. </element>
  1555. <!-- function Visibility: public -->
  1556. <element name="TActionLink.IsImageIndexLinked">
  1557. <short>Is the action's <var>ImageIndex </var>property linked to the client?</short>
  1558. <descr/>
  1559. <errors/>
  1560. <seealso/>
  1561. </element>
  1562. <!-- function result Visibility: default -->
  1563. <element name="TActionLink.IsImageIndexLinked.Result">
  1564. <short/>
  1565. </element>
  1566. <!-- function Visibility: public -->
  1567. <element name="TActionLink.IsShortCutLinked">
  1568. <short>Is the action's <var>ShortCut</var> property linked to the client?</short>
  1569. <descr/>
  1570. <errors/>
  1571. <seealso/>
  1572. </element>
  1573. <!-- function result Visibility: default -->
  1574. <element name="TActionLink.IsShortCutLinked.Result">
  1575. <short/>
  1576. </element>
  1577. <!-- function Visibility: public -->
  1578. <element name="TActionLink.IsVisibleLinked">
  1579. <short>Is the action's <var>Visible</var> property linked to the client?</short>
  1580. <descr/>
  1581. <errors/>
  1582. <seealso/>
  1583. </element>
  1584. <!-- function result Visibility: default -->
  1585. <element name="TActionLink.IsVisibleLinked.Result">
  1586. <short/>
  1587. </element>
  1588. <!-- "class of" type Visibility: default -->
  1589. <element name="TActionLinkClass">
  1590. <short>
  1591. <var>TActionLinkClass</var> - class of <var>TActionLink</var>
  1592. </short>
  1593. <descr/>
  1594. <seealso/>
  1595. </element>
  1596. <!-- procedure type Visibility: default -->
  1597. <element name="TEnumActionProc">
  1598. <short/>
  1599. <descr/>
  1600. <seealso/>
  1601. </element>
  1602. <!-- argument Visibility: default -->
  1603. <element name="TEnumActionProc.Category">
  1604. <short/>
  1605. </element>
  1606. <!-- argument Visibility: default -->
  1607. <element name="TEnumActionProc.ActionClass">
  1608. <short/>
  1609. </element>
  1610. <!-- argument Visibility: default -->
  1611. <element name="TEnumActionProc.Info">
  1612. <short/>
  1613. </element>
  1614. <!-- procedure Visibility: default -->
  1615. <element name="RegisterActions">
  1616. <short/>
  1617. <descr/>
  1618. <errors/>
  1619. <seealso/>
  1620. </element>
  1621. <!-- argument Visibility: default -->
  1622. <element name="RegisterActions.CategoryName">
  1623. <short/>
  1624. </element>
  1625. <!-- argument Visibility: default -->
  1626. <element name="RegisterActions.AClasses">
  1627. <short/>
  1628. </element>
  1629. <!-- argument Visibility: default -->
  1630. <element name="RegisterActions.Resource">
  1631. <short/>
  1632. </element>
  1633. <!-- procedure Visibility: default -->
  1634. <element name="UnRegisterActions">
  1635. <short/>
  1636. <descr/>
  1637. <errors/>
  1638. <seealso/>
  1639. </element>
  1640. <!-- argument Visibility: default -->
  1641. <element name="UnRegisterActions.AClasses">
  1642. <short/>
  1643. </element>
  1644. <!-- procedure Visibility: default -->
  1645. <element name="EnumRegisteredActions">
  1646. <short/>
  1647. <descr/>
  1648. <errors/>
  1649. <seealso/>
  1650. </element>
  1651. <!-- argument Visibility: default -->
  1652. <element name="EnumRegisteredActions.Proc">
  1653. <short/>
  1654. </element>
  1655. <!-- argument Visibility: default -->
  1656. <element name="EnumRegisteredActions.Info">
  1657. <short/>
  1658. </element>
  1659. <!-- function Visibility: default -->
  1660. <element name="CreateAction">
  1661. <short/>
  1662. <descr/>
  1663. <errors/>
  1664. <seealso/>
  1665. </element>
  1666. <!-- function result Visibility: default -->
  1667. <element name="CreateAction.Result">
  1668. <short/>
  1669. </element>
  1670. <!-- argument Visibility: default -->
  1671. <element name="CreateAction.TheOwner">
  1672. <short/>
  1673. </element>
  1674. <!-- argument Visibility: default -->
  1675. <element name="CreateAction.ActionClass">
  1676. <short/>
  1677. </element>
  1678. <!-- constant Visibility: default -->
  1679. <element name="RegisterActionsProc">
  1680. <short/>
  1681. <descr/>
  1682. <seealso/>
  1683. </element>
  1684. <!-- argument Visibility: default -->
  1685. <element name="CategoryName">
  1686. <short/>
  1687. </element>
  1688. <!-- argument Visibility: default -->
  1689. <element name="Resource">
  1690. <short/>
  1691. </element>
  1692. <!-- constant Visibility: default -->
  1693. <element name="UnRegisterActionsProc">
  1694. <short/>
  1695. <descr/>
  1696. <seealso/>
  1697. </element>
  1698. <!-- argument Visibility: default -->
  1699. <element name="AClasses">
  1700. <short/>
  1701. </element>
  1702. <!-- constant Visibility: default -->
  1703. <element name="EnumRegisteredActionsProc">
  1704. <short/>
  1705. <descr/>
  1706. <seealso/>
  1707. </element>
  1708. <!-- argument Visibility: default -->
  1709. <element name="Proc">
  1710. <short/>
  1711. </element>
  1712. <!-- argument Visibility: default -->
  1713. <element name="Info">
  1714. <short/>
  1715. </element>
  1716. <!-- constant Visibility: default -->
  1717. <element name="CreateActionProc">
  1718. <short/>
  1719. <descr/>
  1720. <seealso/>
  1721. </element>
  1722. <!-- function result Visibility: default -->
  1723. <element name="Result">
  1724. <short/>
  1725. </element>
  1726. <!-- argument Visibility: default -->
  1727. <element name="TheOwner">
  1728. <short/>
  1729. </element>
  1730. <!-- argument Visibility: default -->
  1731. <element name="ActionClass">
  1732. <short/>
  1733. </element>
  1734. <!-- variable Visibility: default -->
  1735. <element name="ApplicationActionComponent">
  1736. <short/>
  1737. <descr/>
  1738. <seealso/>
  1739. </element>
  1740. <!-- procedure Visibility: default -->
  1741. <element name="Register">
  1742. <short/>
  1743. <descr/>
  1744. <errors/>
  1745. <seealso/>
  1746. </element>
  1747. <element name="TCustomActionList.IsShortCut">
  1748. <short>This action is associated with a shortcut</short>
  1749. </element>
  1750. <element name="TAction.DisableIfNoHandler" link="#LCL.ActnList.TCustomAction.DisableIfNoHandler"/>
  1751. </module>
  1752. <!-- ActnList -->
  1753. </package>
  1754. </fpdoc-descriptions>