[Gambas-user] howto use datacombo

Fabien Bodard gambas.fr at ...626...
Wed Jan 2 18:46:00 CET 2008


Le Wednesday 02 January 2008 18:07:06 John Dizaro, vous avez écrit :
> Please can someone show me how to use "datacombo" in gambas?
>
> Thanks for all.

create a Module MMain.module wich is the Main

In it put :


Private hCon as New Connection
Public sub Main()

hCon.type="mysql"
hCon.Host="localhost"
hCon.Login = "Root"
hCon.PassWord=""

MyForm.Show

END

in MyForm, just configure the properties of the Datacombo..






More information about the User mailing list