My application is sort of a mini-datamanager where the end user determine which tables/fields they need/want to access. The application generates the datasources and dataviews at run time. Each table is displayed in its own tab of a Tabstrip /(small screen shot attached)/. There are two tables in the DB that hold the parameters for the run-time tabs.

My OOP competency level is marginal :-[
I am actually amazed that I have made as much progress with this as I have.

*Correct me if I am wrong: *
The event handler would have to be created at design time.
Thus I would need to create a new control class that inherits dataview.

Lewis

On 01/10/2015 07:08 AM, Benoît Minisini wrote:
The DataView control (normally) raises a Data event for each cell it draws.

In the event handler, you can use the DataView.Data property to modifiy
the contents of the cell just before it is drawn, exactly like the Data
event of the TableView control.

Then you can change how the cell value is drawn, the alignment, the
colors...

Regards,


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to