|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to dynamically add controls into a frame?Hello, guys,
Just wonder how to dynamically add controls into a frame, any reference paper, sample source code? Thanks. On Thu, 2 Feb 2006 08:41:42 -0800, =?Utf-8?B?QW5kcmV3?=
<And***@discussions.microsoft.com> wrote: >Hello, guys, If you use Control Arrays then :-> >Just wonder how to dynamically add controls into a frame, any reference >paper, sample source code? Thanks. Option Explicit ' Add 1 Textbox ' Set its Index property = 1 ' Stick a Frame and ' Commandbutton on the Form Private Sub Command1_Click() Dim L9&, V& V = 300 For L9 = 1 To 5 Load Text1(L9) Set Text1(L9).Container = Frame1 Text1(L9).Top = V V = V + Text1(L9).Height Text1(L9).Visible = True Next End Sub
USB-Memorystick - serial number
Hpw to make a VB6 form appears and gets focus every 15 seconds Writing to .TXT file question Best way to extract a word from a sentence Thesaurus & internationalisation Does this serial port device exist? Text box - Change/Lost Focus use VB6 Book for web dev with VS2005? Installing VB5 Application Causing Hardware Problems? color format |
|||||||||||||||||||||||