🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.lang.visualbasic
2 messages
2 total messages Started by Inoue Wed, 25 Mar 1998 00:00
ツールボックス作成
#390
Author: Inoue
Date: Wed, 25 Mar 1998 00:00
13 lines
1033 bytes
こんにちは
ツールボックスの作り方を知りたいのですが、ふつうはどのように作るのでしょうか
?
フォームでボーダースタイルをツールにすればいいのでしょうか?
ツールボックスはメインをクリックしても表示したままで、
メインを隠したときにはツールボックスも隠すというようにしたいのですがどうした
ら
いいでしょうか?(MDIの子ウィンドウでメインの外に出せるようなやつ)
教えてください。お願いします。
ではでは(^.^)/~~~

井上
Re: ツールボックス作成
#325
Author: Sugi
Date: Sun, 29 Mar 1998 00:00
17 lines
1094 bytes
はじめまして。Sugiです。
これが正しい方法かどうかはわかりませんが、
私は以下のようにやっています。
ツールウィンドウを作成し、名前をForm2とします。
で、親ウィンドウ(Form1)のジェネラルに
Dim frmsub As Form
を定義し、
Form1のロードイベントに
Private Sub Form_Load()
    Set frmsub = New Form2
    frmsub.Show modeless, Me
End Sub
と記述しています。
この場合Form1を閉じると、Form2も同時に閉じてくれます。

では。
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