On Wed, 30 Oct 2013 23:41:16 +0200 FreeMan <[email protected]> wrote:
> Hello, > I'm not sure is this bug? can some one test please? and if its but I'll > make new issue. > I have a TComboBox, I add 2 strings. I wanna do, if TmpStr is in the > items, do it selected. > > I := EDT_User.Items.IndexOfName(TmpStr); When you press F1 for help you get: http://lazarus-ccr.sourceforge.net/docs/rtl/classes/tstrings.indexofname.html Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
