[Gambas-user] TableView Problem
Charlie Reinl
na2492 at ...9...
Tue Nov 1 20:47:00 CET 2005
Salut,
here an example, which works on gambas1, never tested on gambas2.
Try it, it doesn't work with a Database, but you can see how the columns
are filled.
Amicalment
Charlie
>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 -------
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by:
>Tame your development challenges with Apache's Geronimo App Server.
Download
>it for free - -and be entered to win a 42" plasma tv or your very own
>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XTableView-0.0.12.tar.gz
Type: application/x-tgz
Size: 30178 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051101/fd0a0a0a/attachment.bin>
More information about the User
mailing list