Selected item on combobox? ( Solved! )

Selected item on combobox? ( Solved! )

Postby JC » Tue Jan 13, 2009 12:32 pm

How I can get the selected item at combobox?

oCombo:nAt or something else?
Last edited by JC on Tue Jan 13, 2009 2:42 pm, edited 1 time in total.
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Re: Selected item on combobox?

Postby StefanHaupt » Tue Jan 13, 2009 12:45 pm

oCombo:aItems[oCombo:nAt]

or more simple

REDEFINE COMBOBOX cCombo ID 100 ITEMS aItems OF oDlg
cCombo holds the value
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Selected item on combobox?

Postby JC » Tue Jan 13, 2009 12:54 pm

StefanHaupt wrote:oCombo:aItems[oCombo:nAt]

or more simple

REDEFINE COMBOBOX cCombo ID 100 ITEMS aItems OF oDlg
cCombo holds the value


Stefan,

Thank you!
I do like the second sample. But, with your explanation, now I confirms my doubt to get the index position of a element.
With nAt value!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests