You are not logged in.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

1

Tuesday, June 7th 2011, 1:59pm

Replace Combobox first item by an icon

Hi, I'm playing with the new combobox fir iphone/ipad, and I was wondering if there is a way to display an icon instead of the first item of the list, and open/close the list by clicking on the icon ?

I tried the openList() and closeList() function but it doesn't work ?

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
	<plugin name="settings" url="icons/settings.png"
	 align="lefttop" x="10" y="10"
	 onclick="plugin[combobox].openList();"
	 />
	 
	<plugin name="combobox" url="../plugins/combobox.swf" alturl="../plugins/combobox.js"
    	align="leftbottom" x="10" y="10"

    	>
	<item name="item1" caption="Item 1" onclick="..." />
	<item name="item2" caption="Item 2" onclick="..." />
	<item name="item3" caption="Item 3" onclick="..." />

</plugin>

2

Tuesday, June 7th 2011, 10:59pm

Hi,

yes, in the next release - there the openlist and closelist actions will work on iPhone/iPad,

best regards,
Klaus