// // CPT operator / SondeerGame // This source file is (c) by Deltares. // - October 2014 // /// Also: jln - 27-08-2008 extended with a value property. class GeoComboBox extends moComboBox; #exec OBJ LOAD FILE=GeoGUIContent.utx function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); MyComboBox.MyListBox.List.Style = Controller.GetStyle("GeoComboListBox"); MyComboBox.MyListBox.List.SelectedImage = Material'GeoGUIContent.scalable.list_selection'; MyComboBox.Edit.Style = Controller.GetStyle("GeoComboEditBox"); MyComboBox.MyShowListBtn.Style = Controller.GetStyle("GeoCheckBox"); MyComboBox.MyShowListBtn.Graphic = Material'GeoGUIContent.Icons.arrow_down_combobox'; } defaultproperties { WinWidth=0.16 WinHeight=0.04 ComponentJustification=TXTA_Left CaptionWidth=0.0 bHeightFromComponent=false bReadOnly=true RenderWeight=1 }