[Gambas-user] TableView Problem

nando nando_f at ...951...
Tue Nov 1 19:51:35 CET 2005


Benoit,

After much investigation, I have it appears that
TableView is not implemented correctly.
The example referred to originally (below) works, but
is not the correct way it is supposed to work.
The data in the table is 'deleted' every event '_data'
and an array is used to populate.
A control like this is supposed to hold data 'unchanged'
within the cells - even when scrolled or clicked.
5000 events while scrolling to repopulate is unreal and is unnecessary.
The control/class is supposed to maintain the data - even when scrolling.
It is wrong.
The number of rows/columns at design time cannot be specified.
I cannot code something like...
TableView1[4,4].Text = "This is 4,4"
If TableView is the QT 'Table View' then it is incomplete

Please help me understand this problem.
-Fernando


---------- Original Message -----------
From: "nando" <nando_f at ...951...>
To: "Benoit" <gambas-user at lists.sourceforge.net>
Sent: Mon, 31 Oct 2005 17:49:31 -0500
Subject: [Gambas-user] TableView Question

> I looked at the 'HOW TO PUT VALUES IN A TABLEVIEW WIDGET'
> located at 'www.gambasforge.net/code.php?id=31#notes'
> 
> Can someone please inform me as to what makes
> SUB TableView1_Data  event fire?
> 
> It is not evident to me.
> 
> I single stepped through it - No code invokes it
> so it must be an event.
> 
> -Fernando
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 
> 2005 Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list