Jump to content

combobox items and value


erdal
 Share

Recommended Posts

New combobox, items + value

 

ValCombobox1.AddX('Turkey','006'); // ValComboBox1.ItemIndex:=0;

ValCombobox1.clearX; // items and values clear..

ValCombobox1.SavetoFileEx('C:\test.txt'); // Save to file...

ValCombobox1.LoadFromFileEx('C:\test.txt');//Load from file..

ValCombobox1.GetSelectedValue; // Returns the value to the value of the selected records...

ShowMessage(ValComboBox1.GetSelectedValue); // value shown on the display value

mycombobox.rar

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...