[Gambas-user] DataControl

António Pereira ct1egh at ...626...
Wed Oct 24 18:59:32 CEST 2007


Hi list members,

Thanks for tips on gb.db.form but have the same problem: the
DataControl is not visible at run time (even after the Fabien Bodard
tip).
Did anybody experiment the same problem ? Or will it be that it keeps on
being my mistake ?

Regards,

	António Pereira

Em Mon, 22 Oct 2007 23:46:10
+0200 Fabien Bodard <gambas.fr at ...626...> escreveu:

> Le Monday 22 October 2007 23:14:43 António Pereira, vous avez écrit :
> > Hi list members,
> >
> > I put a DataControl inside a form and set the field name but nothing
> > appears at run time. Is that a bug or my mistake ?
> >
> > Regards,
> >
> 
> yes
> many
> 
> 
> first in a main module:
> 
> private hcon as new connection
> Public sub Main()
> 
> hcon.type="mysql"
> hcon.login="root"
> hcon.password=""
> hcon.host="localhost"
> hcont.name="mydb"
> 
> MyForm.show
> 
> End
> 
> 
> then in 'MyForm'
> 
> add a datasource component (it's a container)
> 
> set the 'table' property field
> 
> try to add a data browser( for the begining)
> set the fields concerned in properties
> 
> set the module as main,
> 
> run
> 
> 
> 
> 
> 
> > António Pereira
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
> > browser. Download your FREE copy of Splunk now >>
> > http://get.splunk.com/
> > _______________________________________________ Gambas-user mailing
> > list Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
> browser. Download your FREE copy of Splunk now >>
> http://get.splunk.com/ _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list