Geeting Value from a Combo Box using Index

cesaroll

Member
Hi everyone,

How can I get a specific value from a combo box using an index number?

I mean, supose we have this string in a Combo Box:

combo:List-Items = "10,20,30".


Supose I would like to do this:

Do i =1 to combo:Num-Items:

Message combo:Get-value(i) view-as alert-box.

End.

How ca I accomplish this: combo:get-something(i)??

Thanks!
 
I believe that you are looking for ENTRY.

Code:
    DO i = 1 TO combo:NUM-ITEMS:
        MESSAGE combo:ENTRY(i) VIEW-AS ALERT-BOX.
    END.

HTH

Anne
 
Back
Top