3 Topics

Member Avatar for
Member Avatar for uamahmood

I have found this code for using control array in VB.net, but this only works when I place text boxes on form, whereas in my case within tab control i have created group boxes and within group boxes there are a number of text boxes which i have used for …

Member Avatar for Reverend Jim
0
352
Member Avatar for MarkHolm

This seems to work well until I try to create the 11th button. Any suggestions? [CODE] procedure TForm1.FormClick(Sender: TObject); var nb: TButton; begin Inc(n); nb := TButton.Create(Self); nb.OnClick := ButtonClick; SetLength(ca, n); ca[n] := nb; ca[n].Left := 8; ca[n].Top := (((n - 1) * nb.Height) + 8); ca[n].ParentWindow := Form1.Handle; …

Member Avatar for Wolfgan
0
394
Member Avatar for killbill07

I was just trying to create a control array but I can't do it. What can I do? There's another sintax or it's just there's no control arrays in VB.NET????

Member Avatar for codeorder
0
332

The End.