-
My team leader is having a laugh :rolleyes:
Check this one out...
We (He) wants to create picture boxes at runtime, as part of a control array (i.e. add/append them to the control array at runtime) Either this is very easy, or i'm going to be ObjPtr'ing my towards a Vtable somewhere in CopyMemory land, (if that makes any sense) Could someone put me out of my misery and tell me if this is possible or not?
Thanks in Advance
-
This works for winsocks . Put 1 control on the form and set it's index to 0 then
Code:
Maxsocks%
MaxWinsock% = MaxWinsock% + 1
Load frm_Main.Winsock1(MaxWinsock%)
[]P
-
Create a picturebox (picMyPicture) and set it<font color="#007F00">'s index property to 0.
</font><font color="#00007F">Now</font> you can do something like this.
Code:
Load picMyPicture(<font color="#00007F">UBound</font>(picMyPicture()) + 1)
-