Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » ArrayMap<String,TabCtrl::Item> - check if String exists..
Re: ArrayMap<String,TabCtrl::Item> - check if String exists.. [message #34356 is a reply to message #34354] Fri, 18 November 2011 12:13 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1792
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Wolfgang,

Find() returns position of the element in the container, or ńegative number if it doesn't exist. So you should use something like
if (tabNames.Find("first")>=0) PromptOK("OK");


All these little detail can be found in documentation Wink

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: New and GUI Problem with TabCtrl
Next Topic: What Type to give a Layout as parameter?
Goto Forum:
  


Current Time: Sun Aug 24 20:34:35 CEST 2025

Total time taken to generate the page: 0.07935 seconds