OBJECT Get actionコマンドは、object引数で指定したオブジェクトに設定された標準アクションのコードを返します。
オブジェクトに対する標準アクションは、デザインモードにおいてプロパティリストで設定するか( Design Reference マニュアルの 標準アクション を参照して下さい)、 OBJECT SET ACTION コマンドという新しいコマンドを使用することによって設定できます。
このコマンドはオブジェクトに関連付けられた標準アクションのコードを格納した文字列を返します。返された値と対応する定数は"関連付けられた標準アクションのテキスト値" テーマ内にあります。以下の通りです:
| 定数 |
型 |
値 |
| Object Accept action |
文字列 |
2 |
| Object Add subrecord action |
文字列 |
14 |
| Object Automatic splitter action |
文字列 |
16 |
| Object Cancel action |
文字列 |
1 |
| Object Clear action |
文字列 |
21 |
| Object Copy action |
文字列 |
19 |
| Object Cut action |
文字列 |
18 |
| Object Database Settings action |
文字列 |
32 |
| Object Delete record action |
文字列 |
7 |
| Object Delete subrecord action |
文字列 |
13 |
| Object Edit subrecord action |
文字列 |
12 |
| Object First page action |
文字列 |
10 |
| Object First record action |
文字列 |
5 |
| Object Goto page action |
文字列 |
15 |
| Object Last page action |
文字列 |
11 |
| Object Last record action |
文字列 |
6 |
| Object MSC action |
文字列 |
36 |
| Object Next page action |
文字列 |
8 |
| Object Next record action |
文字列 |
3 |
| Object No standard action |
文字列 |
0 |
| Object Open back URL action |
文字列 |
37 |
| Object Open next URL action |
文字列 |
38 |
| Object Paste action |
文字列 |
20 |
| Object Previous page action |
文字列 |
9 |
| Object Previous record action |
文字列 |
4 |
| Object Quit action |
文字列 |
27 |
| Object Redo action |
文字列 |
31 |
| Object Refresh current URL action |
文字列 |
39 |
| Object Return to Design mode action |
文字列 |
35 |
| Object Select all action |
文字列 |
22 |
| Object Show Clipboard action |
文字列 |
23 |
| Object Stop loading URL action |
文字列 |
40 |
| Object Test Application action |
文字列 |
26 |
| Object Undo action |
文字列 |
17 |
フォーム内にあるオブジェクトのうち、まだ何もアクションが関連付けされてないものに関して全て「キャンセル」 のアクションを関連付けたい場合: