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 » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » desire: ArrayCtrl and GridCtrl: Find in the row
Re: desire: ArrayCtrl and GridCtrl: Find in the row [message #11937 is a reply to message #11936] Tue, 02 October 2007 23:17 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1213
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Tue, 02 October 2007 23:13

forlano wrote on Tue, 02 October 2007 17:10

unodgs wrote on Tue, 02 October 2007 23:01

Could you be more precise? What you mean by finding row (what criteria?)


Hi Daniel,

I mean to find some data, an integer or string for example, in a given row of the ctrl.

Luigi

I can provide
int Find(in)Row(int row, const Value& val)
It returns column number (or -1 if not found) which contain given value in row 'row'. Is that what you want?


Yes, just that.
I did it myself but I'm having problem to find the value when the background is colored. I'm afraid there is some interaction of the value with the background.
Thanks a lot,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AttrText() and content of the cell
Next Topic: getting and selecting cells in gridctrl
Goto Forum:
  


Current Time: Sat Aug 16 00:17:47 CEST 2025

Total time taken to generate the page: 0.10406 seconds