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 » Help needed to program an array ctrl.
Re: Help needed to program an array ctrl. [message #28467 is a reply to message #28465] Thu, 02 September 2010 17:44 Go to previous messageGo to previous message
281264 is currently offline  281264
Messages: 272
Registered: June 2010
Location: Spain
Experienced Member
Your example is quite fine.

I have some queries regarding Ctrls:

1.- for example, how do you know what control has been updated?. To me that is a kind of an enigma. From your example, after an event on a ctrl, all the rows are read and written to l.

2.- What is DUMP(1)?;what is its role in the destructor?

I am enclosing what I have done. I am afraid that there are much better ways to do it (basically I dismissed Ctrls and opted for SetCtrl; I have created several Arrays of controls and then I have to update all the Arrays every time a layer is added or removed: it looks convoluted; am I overcomplicating this?).

So, the question lingers: if you want to fine control the array’s content (i.e. to modify the content of a cell after a click or execute some code after and in accordance with the click’s outcome) is it possible to do it with Ctrls and/or widgetfactories?.

Cheers,

Javier

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Several options: what to use?
Next Topic: Problems in growing up from newbie
Goto Forum:
  


Current Time: Sun Aug 24 12:10:51 CEST 2025

Total time taken to generate the page: 0.07042 seconds