如何在VB6中打开表单(模态) [英] How to open a form (modal) in VB6

查看:126
本文介绍了如何在VB6中打开表单(模态)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们



我试着解释一下我的问题:



我有一个名为的主表格frmMain,以及其他名为frmOne和frmTwo的形式。

形式frmMain打开frmOne。 FrmOne打开frmTwo。

我想要的是:当frmOne打开frmTwo时,我不应该点击frmOne表单(所以我必须打开这个表单frmTwo模式)但我应该是能够点击表格frmMain。



请只发布有用的解决方案,我厌倦了所有这些问题,例如为什么你使用vb6?或者你问谷歌吗?等等...谢谢。





v_tigra

Hey guys

I try to explain my problem:

I have a main form named frmMain, and other forms named frmOne and frmTwo.
The form frmMain opens frmOne. FrmOne opens frmTwo.
What I would like to have: when frmOne opens frmTwo, I should not be able to click on the form frmOne (so I have to open this form frmTwo modal) but I should be able to click on the form frmMain.

Please do only post helpful solutions, I am sick of all these questions like "why do you work with vb6?" or "have you asked google?" and so on...Thank you.


v_tigra

推荐答案

我厌倦了所有这些问题,比如你为什么使用vb6?或你问谷歌吗?等等......谢谢。



好​​吧,也许如果你按照他们的建议尝试使用Google,你就不会厌恶它们:我花了一个非常非常简单的谷歌来找到你想要的信息:打开一个模式形式VB6 [ ^ ]



在那里找到表格非常容易:第四个链接解释了你需要知道的一切,并向你展示要做到这一点: http://visualbasic.freetutes.com/learn-vb6/lesson14.html [ ^ ]



所以当人们告诉你使用谷歌时,不要再烦恼了:这是一个有价值的研究工具,但是如果你不打算使用它,或者学习如何有效地使用它,你就会浪费你的很多时间(以及其他人)试图在几秒钟内找到答案......
"I am sick of all these questions like "why do you work with vb6?" or "have you asked google?" and so on...Thank you."

Well, perhaps if you had followed their advice and tried using Google you wouldn;t be sick of them: it took me one very, very simple Google to find the information you want: "open a modal form VB6"[^]

It's pretty easy to find form there: the fourth link explains everything you need to know and shows you how to do it: http://visualbasic.freetutes.com/learn-vb6/lesson14.html[^]

So stop getting annoyed when people tell you to use Google: it's a valuable research tool, but if you don't bother to use it, or learn how to use it effectively, you are going to waste a lot of your time (and other peoples) trying to get answers you could have found in seconds...


这篇关于如何在VB6中打开表单(模态)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆