/ Published in: Visual Basic
URL: http://hanatyan.sakura.ne.jp/patio/read.cgi?no=66
Expand |
Embed | Plain Text
----------------------------------------------------------------- Re: ã�³ã�³ã��ã�ã�¼ã�«ã�®è�ªå��ä½�æ�� - ã�¨ã�� 2004/03/22-16:52 No.8466 ----------------------------------------------------------------- VB6 以å��ã�ªã��ã�°æ¬¡ã�®ã��ã��ã�ªæ��ã��ã�� Text1, Text2, Command1 ã��ã��ã�©ã�¼ã� ä¸�ã�«é��ç½®ã��ã�¦ã�� ä¸�ã�®ã�³ã�¼ã��ã��å®�è¡�ã��ã�¦ä¸�ã��ã��ã�� # ã��ã�¶ã�¤ã�³æ��ã�« Text2 ã�® Index ã�¯ 0 ã�«ã��ã�¦ã��ã��ã�¦ä¸�ã��ã��ã�� Text1 ã�«æ�°å�¤ï¼�質å��ã�®å ´å��ã��ã�¬ã�³ã�¼ã��æ�°ï¼�ã��å�¥å��ã��ã�¦ã��ã��ã�¿ã�³ã��æ�¼ã��ã�¨ ã��ã�®æ�°ã� ã�� Text2 ã��ä½�æ��ã��ã��ã�¾ã��ã�� '---------------------------------------- Option Explicit Private Sub Command1_Click() Dim i As Integer For i = 1 To Text2.UBound Unload Text2(i) Next i For i = 1 To CInt(Text1.Text) Load Text2(i) With Text2(i) .Top = (Text2(0).Height + 30) * i .Visible = True End With Next i End Sub Private Sub Form_Load() Text2(0).Visible = False Text1.Text = "10" End Sub
You need to login to post a comment.
