TStringList ValueFromIndex property not available?

I'm using a Tstringlist and when I try to use the property ValueFromIndex I get the error "Undeclared Identifier". This works fine in Delphi. I need to store 2 values in the list for example the list is named cars, I add 'car=BMW' and then access just the "BMW" portion which I can typically do by Cars.ValueFromIndex. I guess I could more awkwardly do this using 2 stringlists but was hoping this would work.

thanks

Comments

  • gpigpi
    edited 3:40AM
    You may add ValueFromIndex support in the fs_iclassesrtti.pas

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.