Oh, if you want just the punch line, there is also a TL;DR version of this:

Oh, if you want just the punch line, there is also a TL;DR version of this:

http://softwareonastring.com/2014/10/18/tldr-version-of-name-value-pairs-in-comboboxes-and-kinfolk
http://softwareonastring.com/2014/10/18/name-value-pairs-in-comboboxes-and-kinfolk

Comments

  1. My favorite way is to use a method called AddItem .
    it allow you to add a pair of item .
    eg: 
     ComboBox1.AddItem('Jansen', TObject(100));
     
     { Reading data }
      Value := Integer(ComboBox1.Items.Objects[ComboBox1.ItemIndex]);

    ReplyDelete
  2. Mahdi Safsafi But don't use it in NEXTGEN

    ReplyDelete

Post a Comment