Jump to content

combobox items and value


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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...