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 » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » How to access other classes variables?
Re: How to access other classes variables? [message #9647 is a reply to message #9645] Wed, 23 May 2007 18:48 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
It's pretty difficult to guess whats wrong becuase the there are many ways in which you could have configured the control. However, my best guess is that you are calling the wrong function.

In the simplest case I believe calling ArrayCtrl::Get(x) will return the contents of Column x on the current cursor row. If there is no cursor row you will get nothing.

I think you probably want to use either GetLine(row), which returns an array of values from a row, or Get(row, column) to get the value of a particular field.

James.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Constructor with parameter
Next Topic: How to use string array with functions?
Goto Forum:
  


Current Time: Wed May 08 01:54:10 CEST 2024

Total time taken to generate the page: 0.03255 seconds