Hi,
Are you talking about it not locking on one?
if so, i have a work around of sorts, using the fact that you can specify a start index.
basically it watches where it is every cycle and removes and replaces it every x cycles.
works better on device with touch than mouse.
my picker only has one column, but i guess you could apply the same theory to each.
i included my picker generation just in case i missed something-like the fact that i pass the position to the function(tabpos)
-----------------------------------------------------
--create picker function
-----------------------------------------------------
local columnData = {}
local function refpicker(tabpos)
local index = tabpos
widget.setTheme( "enqapp.theme\_ios" )
-- create table to hold all column data
--local columnData = {}
-- create column
columnData[1] = { "AD - Academic Department", "AS - Academic Support", "BMG - BioMed Grid",
"CD - Collections Development", "CS - Customer Support", "CORP - Corporate Support", "DA - Digital Access",
"DILT", "DS - Data Services", "EMT - Extended Management Team", "Enq - Enquiries Support", "Env - Environment",
"Fac - Facilities","HR - Human Resources","ITS - IT Services","LG -Learning Grid","MRC -Modern Records Centre",
"Proc - Procurement","RD - Research Exchange","TG - Teaching Grid","WRAP","Other" }
columnData[1].alignment = "left"
columnData[1].width = 430
columnData[1].startIndex = index
-- create the actual picker widget with column data
picker = widget.newPickerWheel{
id="myPicker",
font="Helvetica-Bold",
width = 420,
glassWidth = 450,
totalWidth = 550,
left = centre-275,
top=328,
columns=columnData
}
end--end of picker function
-----------------------------------------------------
--------------------------------------------------------
--picker fix
--------------------------------------------------------
local p = 1
local offset = 30
function testerss(event)
if p == offset then
local selectedRows = picker:getValues()
for f = 1,#columnData[1] do
if selectedRows[1].value == columnData[1][f] then
--print("actual value ",columnData[1][f])
picker:removeSelf()
picker = nil
refpicker(f)
--print("memcheck ",system.getInfo("textureMemoryUsed")/1000000)
end
end
offset = offset+30
end
if p == 300 then p = 0;offset = 30 end
p = p + 1
end
Runtime:addEventListener( "enterFrame", testerss )
--------------------------------------------------------
--end of picker fix
--------------------------------------------------------
Rob [import]uid: 2131 topic_id: 20011 reply_id: 78042[/import]