sitelogo
セレクションボックスWidget (SelectionBox Widget)
MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

セレクションボックスwidgetは、リストからアイテムを選択するためのコンポジットwidgetです。セレクションボックスwidgetを生成するには、クラスxmSelectionBoxWidgetClassを使わなければなりません。

xmSelectionBoxWidgetClassはxmBulletinBoardWidgetClassのサブクラスなので、xmBulletinBoardWidgetClassで書かれたすべてのリソースは、xmSelectionBoxWidgetClassでも有効です。

リソ−ス Prolog表現 Acc デフォルト 説明

applyLabelString *1    CSG 'Apply' アプライボタンのテキスト cancelLabelString *1    CSG 'Cancel' キャンセルボタンのテキスト dialogType アトム *2 CG *3 生成されたwidgetを決定する helpLabelString *1    CSG 'Help' ヘルプボタンのテキスト listItemCount 整数  CSG 0 listItemsの数 listItems *4    CSG none リスト中のアイテム listLabelString *1    CSG none リストの上のテキスト listVisibleItemCount 整数  CSG 8 リスト中の可視アイテムの数 minimizeButtons アトム *5 CSG false ボタンの幅/高さを調整しない mustMatch アトム *5 CSG false ユーザのテキスト入力をチェック する okLabelString *1    CSG 'OK' okボタンのテキスト selectionLabelString *1    CSG 'Selection' 編集フィールドラベルのテキスト textAccelerators アトム *6 CSG *7 テキストwidgetのアクセラレータ textColumns 整数  CSG 20 テキストwidgetのカラム数 textString *1    CSG '' 編集フィールド中のテキスト

*1 アトムあるいはリスト、正しいXmString *2 dialog_prompt, dialog_selection, dialog_work_areaのいずれか *3 動的:親がダイアログ・シェルの場合にはdialog_selection、 その他の場合にはdialog_work_area *4 アトムあるいはリスト、正しいXmStringTable *5 boolean: true,false,on,off, ... *6 トランスレーション *7 '#override \n\ Ctrl osfBeginLine: SelectionBoxUpOrDown(2)\n\ Ctrl osfEndLine: SelectionBoxUpOrDown(3)\n\ Shift Ctrl osfInsert: SelectionBoxRestore()\n\ osfUp: SelectionBoxUpOrDown(0)\n\ osfDown: SelectionBoxUpOrDown(1)'

コ−ルバックのリスト名 CallData型 説明

applyCallback apply *1 アプライボタンが活性化された cancelCallback cancel *1 キャンセルボタンが活性化された noMatchCallback no_match *1 ユーザの入力に一致しない okCallback ok *1 okボタンが活性化された

*1 正しいコールバックのコンポーネント: value, length


xmSelectionBoxGetChild/3

Darueber read on...
scroll to top managed with ubiCMS