Show ComboForm Dropdown list << Back



The windows message CB_SHOWDROPDOWN will do the trick

Use Windows

Object oMain is a ModalPanel
	Set Size to 120 120
	Object oCombo is a ComboForm
		Set Size to 15 100
		Procedure Combo_Fill_List
			Send Combo_Add_Item "ABC"
			Send Combo_Add_Item "DEF"
		End_Procedure
	End_Object
	Object oButton is a Button
		Set Location to 60 0
		Procedure OnClick
			Send Activate of oCombo
			Send Windows_Message of oCombo CB_SHOWDROPDOWN 1 0 // <--------
		end_Procedure
	End_Object
End_Object

Send Popup of oMain
Free Web Hosting