🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
2 messages
2 total messages Started by ���� Wed, 11 Mar 1998 00:00
������һ������������:
#1952
Author: ����
Date: Wed, 11 Mar 1998 00:00
15 lines
820 bytes

����ѧVB���,
��ͨ��һ����Ŧ���������ı���(TextBox)
�����¾Ͳ�����ı���,
���Dz�֪������ʲô����,�����˰����create,
add,load�����İ���,���һ�����...

����ָ��,лл��!!!...


����

--
�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Re: ������һ������������:
#1955
Author: Henry Jia
Date: Thu, 12 Mar 1998 00:00
43 lines
1680 bytes
First add a command button and a textbox to the form , then set the
textbox's index to 0 this tell vb you will create a control array. Then add
the code as following:

Option Explicit
Dim mnIndex As Integer

Private Sub Command1_Click()
    '- Create one text box
    Load Text1(mnIndex)
    '- Set its properties
    With Text1(mnIndex)
        '- move to a new position
        .Left = Text1(mnIndex - 1).Left + Text1(mnIndex - 1).Width + 100
        '- This must be added, because when load it's visible is false
        .Visible = True
    End With
    mnIndex = mnIndex + 1
End Sub

Private Sub Form_Load()
    mnIndex = 1
End Sub


Hope this help and good luck!

���� wrote in message <980311.yCiE1$PBBS@bbs.ustc.edu.cn>...
>
>����ѧVB���,
>��ͨ��һ����Ŧ���������ı���(TextBox)
>�����¾Ͳ�����ı���,
>���Dz�֪������ʲô����,�����˰����create,
>add,load�����İ���,���һ�����...
>
>����ָ��,лл��!!!...
>
>
>����
>
>--
>�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads