FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour code to retrieve index of a item from a listbox
Posts: 110
Joined: Wed Feb 18, 2009 09:58 AM
code to retrieve index of a item from a listbox
Posted: 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.

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: code to retrieve index of a item from a listbox
Posted: Tue Feb 24, 2009 11:19 AM

Are you using array or DBF or RecordSet ?

Regards

Anser

Posts: 110
Joined: Wed Feb 18, 2009 09:58 AM
Re: code to retrieve index of a item from a listbox
Posted: Tue Feb 24, 2009 11:32 AM

iam loading data frm DBF into lbox
thanks

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: code to retrieve index of a item from a listbox
Posted: Tue Feb 24, 2009 11:33 AM

Try oLbx:GetPos()

Regards

Anser

Posts: 110
Joined: Wed Feb 18, 2009 09:58 AM
Re: code to retrieve index of a item from a listbox
Posted: Tue Feb 24, 2009 11:38 AM

i saw that function:in the FWHClasses and tried but error.
thanks sajith

Continue the discussion