[Gambas-user] how to add have array of textbox (or other obje

gcastro at ...452... gcastro at ...452...
Thu May 6 16:59:01 CEST 2004


Roberto:

  I think you may be interested in writing a VB form parser that can extract
the left and top values of the objects from that forms you have and generate
gambas code to create them properly...
  That's the way I will do it.

Saludos,
     Gustavo Castro Puig.
     E-Mail: gcastro at ...452...
     G.C.P. Software - Informática Inteligente.
     Web: http://www.gcp.com.uy

LPI Level-1 Certified (https://www.lpi.org/es/verify.html
LPID:LPI000042304 Verification Code: hp6re8w5qg )
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/ED dx s-:- a? C(+++)$ UL++++*$ P+ L++++(++)$ E--- W+++$ N+ o?
K- w O M V-- PS PE++(-) Y-(+) PGP+ t(++) 5+ X++ R tv+ b++(++++) DI+++
D++ G++ e++ h--- r y+++
------END GEEK CODE BLOCK------
Registered Linux User #69342

>
>>Roberto:
>>
>>  Try creating instances of the textbox object with "new". There are
>>examples in the gambas documentation. You must create object arrays
>>with code.
>>Saludos,
>>     Gustavo Castro Puig.
>
> Hi gustavo, thanks for ansver.
>
> Create object with code?! do you mean at run time?!?
>
> Excuse me, but I need a lot of objects, members of different arrays.
>
> They are array of texboxs, buttons and forms.
> I have to create them and place onto my form BEFORE run time.
>
> I cannot create an array of 25 textboxs, an array on 48 buttons
> at fith the code: where they will be placed? If I create they at
> runtime, then I have also to place them (x,y position) at run time.
>
> I need them in fixed positions, so I must create ad Design time, and
> place them,
> I cant create and place at runtime.
>
> How to solve this my problem?
>
> Roberto
>
> This communication is intended solely for the use of the addressee and
> may contain information that is legally privileged, confidential or
> exempt from disclosure.  If you are not the intended recipient, please
> note that any  dissemination, distribution, or copying of this
> communication is strictly  prohibited.  Anyone who receives this
> message in error should notify the  sender immediately and delete it
> from his or her computer.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
> deliver higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> 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