Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Function Index(StringArray, bool) of an array

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Function Index(StringArray, bool) of an array
#2427
Posted by: 2003-07-31 20:48:56
Hello
I am working with arrays for a wxGrid table:
WX_DECLARE_OBJARRAY(wxString, StringArray);
WX_DECLARE_OBJARRAY(StringArray, StringGrid);

StringGrid my_data; //my_data is an array of arrays of wxString objects.

So my variable member my_data contains all the data of the wxGrid. I want to make a search using the function: int Index(StringArray, bool bFromEnd = FALSE);
But the function returns me wxNOT_FOUND. I have tried passing one StringArray of one column and also with all column (so a complete line) but no match were found.

- Where am I wrong?
- And can I search for just one cell value at a time or for a full row?

Thanks
toot
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2023-1-27  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0