code to retrieve index of a item from a listbox

code to retrieve index of a item from a listbox

Postby sajith » Tue Feb 24, 2009 10:09 am

can somebody share the code with me.

i have a problem for retrieving index of a item from a listbox

thanks in advance.
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: code to retrieve index of a item from a listbox

Postby anserkk » Tue Feb 24, 2009 11:19 am

Are you using array or DBF or RecordSet ?

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: code to retrieve index of a item from a listbox

Postby sajith » Tue Feb 24, 2009 11:32 am

iam loading data frm DBF into lbox
thanks
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: code to retrieve index of a item from a listbox

Postby anserkk » Tue Feb 24, 2009 11:33 am

Try oLbx:GetPos()

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: code to retrieve index of a item from a listbox

Postby sajith » Tue Feb 24, 2009 11:38 am

i saw that function:in the FWHClasses and tried but error.
thanks sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests