Obtener una matriz de componentes

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
luisvasquezcl
Posts: 1032
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 11 times
Been thanked: 14 times
Contact:

Obtener una matriz de componentes

Post by luisvasquezcl » Mon Aug 31, 2009 7:07 pm

Estimado Roberto,
sería posible implementar algún método que nos permita obtener todos los controles contenidos en una ventana en un array.
esto sería de utilidad ya que para asignar o leer datos por lote se podría recorrer con un bucle dicho array ahorrando una cantidad de lineas importante en la asignación o lectura de datos.

Saludos cordiales,
Luis Vasquez

Dear Robert,
would be possible to implement some method that allows us to obtain all
controls contained in a window in an array.
this would be helpful as to assign or read data batch could
travel array with a loop that saves a lot of lines
in the allocation or reading data.
Regards,
Luis Vasquez.

User avatar
Roberto Lopez
HMG Founder
Posts: 3900
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 136 times

Post by Roberto Lopez » Mon Aug 31, 2009 7:29 pm

luisvasquezcl wrote:Estimado Roberto,
sería posible implementar algún método que nos permita obtener todos los controles contenidos en una ventana en un array.
esto sería de utilidad ya que para asignar o leer datos por lote se podría recorrer con un bucle dicho array ahorrando una cantidad de lineas importante en la asignación o lectura de datos.

Saludos cordiales,
Luis Vasquez

Dear Robert,
would be possible to implement some method that allows us to obtain all
controls contained in a window in an array.
this would be helpful as to assign or read data batch could
travel array with a loop that saves a lot of lines
in the allocation or reading data.
Regards,
Luis Vasquez.
A couple of times, an user had mentioned this.

I guess that you are talking about a control array like in VB.

It could be done, but perhaps its a little outside of HMG scope, because is somewhat advanced and counter-intuitive concept.

Maybe, we could find a way to refer to a 'control group' in a more intuitive and easy way...

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply