PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Heinz Grandjean on January 26, 2014, 11:51:22 PM

Title: Ubound of a control array
Post by: Heinz Grandjean on January 26, 2014, 11:51:22 PM
Hello,
is there any way to find out the Ubound of a FFL control array?
Thank you,

Heinz Grandjean
Title: Re: Ubound of a control array
Post by: Carl Oligny on January 27, 2014, 01:06:13 AM
I created a form with 3 labels named lbl in a control array.

This code worked:

   Local l As Long
   
   l =  UBound(HWND_FORM1_LBL())

Hope this helps.
Title: Re: Ubound of a control array
Post by: Heinz Grandjean on January 27, 2014, 02:17:25 AM
Thank you, Carl!

It does the job!

Heinz Grandjean