[Gambas-devel] Gambas.report component

Fabien Bodard gambasfr at ...4...
Fri Nov 4 23:52:03 CET 2005


> J'ai trouvé! I found the bug. The IDE didn't analyze the the .info file by
> following the inheritance tree. Now it should be fixed. Here is a patch...
>
> Tell me the result...

It work very well now !

So ... it not come from me !  ;-) 

(c'est ce qu'on appelle essuyer les plâtres)

Now i can begin to do the editor interface. The ReportField work now.

It work this way :

ReportField.Command = "My Comand"

My command is a string that define an info to found the data...

When i do a report.render (or draw), when the engine draw the field it raise 
an event data.

sub Report_Data(command)
	'set the field data
	select case command
		case "My Command"
			report.data = "My Data"
	endselect
end


The event data is dependant of the program that use the report component.
So the report component do nothing to get the data.

It work like the TableView

I join now the last tarball of my alpha component... If the gambas communauty 
and you can tell me theire feel about that.

At this time just try it as a simple project . I'll try to do an external 
sample project this weekend.

Regards,
Fabien Bodard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb.report-0.0.5.tar.gz
Type: application/x-tgz
Size: 247013 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20051104/9e803304/attachment.bin>


More information about the Devel mailing list