combobox in grid

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
tomtagaris
Posts: 117
Joined: Tue Aug 23, 2016 2:43 pm

combobox in grid

Post by tomtagaris »

i have e combobox in the grind how can i take the selection from combobox and add it to a file
Tom Tagaris
Thanks
Attachments
Εικόνα1.png
Εικόνα1.png (296.39 KiB) Viewed 704 times
User avatar
serge_girard
Posts: 3420
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: combobox in grid

Post by serge_girard »

Tom,

You will have a numeric result, which corresponds with combox array.
So you wille to use that array again in order to get character value, if that's what you want!
Something like this:

Form_1.Grid_1.Item (a) [1]) // a = 1 to Form_1.Grid_1.ItemCount

Serge
There's nothing you can do that can't be done...
User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: combobox in grid

Post by mol »

You can use DisplayItem (i) instead of reference to array
User avatar
tomtagaris
Posts: 117
Joined: Tue Aug 23, 2016 2:43 pm

Re: combobox in grid

Post by tomtagaris »

there is a sample;
Post Reply