Page History
[ |../../index.htm#lansa/l4wdev03_0285.htm]
現在地:
...
フィールド名
VOLUME(Signed2,0)
説明
フィールドをフォーム上にトラック・バーとして表示します。
VOLUMEという、長さが2の符号つき数値フィールドを作成します。フィールド・コンポーネントのソースから、PRIM_EVEFビジュアライゼーションを削除し、代わりにトラック・バー・ビジュアライゼーションを追加してください。いったんフィールドを保存し、ビジュアライゼーションを使用します。
フィールドのソース
Begin_Com Role(*EXTENDS #PRIM_OBJT)
Begin_Com RoleCom Role(*Visual #PRIMVisual #PRIM_EVTB) NameName(#VisualTrackBar) DefaultvisualDefaultvisual(True) HeightHeight(19) WidthWidth(209)
End_Com
End_Com
フォームのソース
Function Options(*DIRECT)
Begin_Com RoleCom Role(*EXTENDS #PRIMEXTENDS #PRIM_FORM) ClientheightClientheight(108) ClientwidthClientwidth(492) HeightHeight(135) LeftLeft(304) TopTop(155)
Define_Com ClassCom Class(#VOLUME.Visual) NameName(#VOLUME) DisplaypositionDisplayposition(1) HeightHeight(57) LabelhoralignmentLabelhoralignment(Center) LabelpositionLabelposition(Top) LeftLeft(112) MarginleftMarginleft(0) MargintopMargintop(19) ParentParent(#COM_OWNER) TabpositionTabposition(1) TopTop(16) WidthWidth(233)
End_Com
外観
[ |../../index.htm#lansa/l4wdev03_0285.htm]
