Re: [Gambas-user] Dynamic Objects

2009-04-01 Thread Doriano Blengino
Rodney Rundstrom ha scritto: Thanks for that I'll work thought over the next few day. One last question on dynamic object (I think) how do we delete them and release the memory? This is a matter unclear to me, anyway: an object is freed when no reference to it are in effect. When you

Re: [Gambas-user] Dynamic Objects

2009-03-31 Thread Doriano Blengino
Rodney Rundstrom ha scritto: Thanks using last.text works in this case, can you clarify how I would access using parent/child can a form itself be the container or my I use another although a similar arrangement is available in VB I am not really sure how to use it? The following routine

Re: [Gambas-user] Dynamic Objects

2009-03-30 Thread Doriano Blengino
Rodney Rundstrom ha scritto: Thanks to some of the member I can now create objects dynamically. If I create a number of buttons I can position and label them differently. I can also name them differently However I can have a number of objects with the same name on a form? I can access an

Re: [Gambas-user] Dynamic Objects

2009-03-30 Thread Rodney Rundstrom
: Doriano Blengino [mailto:doriano.bleng...@fastwebnet.it] Sent: Monday, 30 March 2009 9:52 p.m. To: mailing list for gambas users Subject: Re: [Gambas-user] Dynamic Objects Rodney Rundstrom ha scritto: Thanks to some of the member I can now create objects dynamically. If I create a number

[Gambas-user] Dynamic objects

2009-03-24 Thread Rodney Rundstrom
I wish to create objects in code. For example I wish to create a textbox and populate it from a mysql table. Repositioning it in code each time. The number of instances would depend on the Number of records in the table. I then need to index through the items to reset the names from time to

Re: [Gambas-user] Dynamic objects

2009-03-24 Thread M0E Lnx
I have no experience with mysql at all, but you can easily create this textbox PUBLIC SUB Read_DBASE() DIM sList as string DIM sResults as String[] DIM tb as TextBox DIM sItem as String DIM i as integer dim y as integer ' This is where you get your values from mysql and let's assume you put them