[Gambas-user] buttons at runtine, but then..
Ron
ron at ...1740...
Tue Aug 26 20:50:47 CEST 2008
Hi,
I have to create number of buttons at runtime, (from a database) this
works with this for example:
hButton = NEW Button(FControl)
WITH hButton
.X = 200
.Y = iYy
.Text = rDevice!name
.height = 40
.width = 130
END WITH
But how can I create the corresponding click events at runtime?
The events needs to call a subroutine with an parameter also from the
database.
Do I need to create objects,and then add a string to a button name to
create unique names?
Someone has a pointer?
Regards,
Ron_2nd
More information about the User
mailing list