| |

VerySource

 Forgot password?
 Register
Search
View: 845|Reply: 2

What is the difference between mdiform and form, in VB6

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-16 19:00:01
| Show all posts |Read mode
It's better to be specific, I can't find it on the Internet, I got an MDIFORM, and I couldn't put the text box !!!
Reply

Use magic Report

0

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-1-25 10:18:02
| Show all posts
See NSDN
grammar

MDIForm

Description

You can create an MDIForm object by selecting Add MDI Form from the Insert menu.

An application can have only one MDIForm object, but it can have multiple MDI child forms. If the MDI child form has a menu, then when the MDI child form is the active form, the menu bar of the child form automatically replaces the menu bar of the MDIForm object. The minimized MDI child form appears as an icon in the MDIForm.

The MDIForm object contains only Menu and PictureBox controls and custom controls with an Align property. In order to put other controls in the MDIForm, you can draw a picture box on the form, and then draw other controls on the picture box. You can use the Print method to display text in a picture box of an MDIForm, but you cannot use this method to display text in the MDIForm itself.

MDIForm objects cannot be modal.

The design of MDI child forms is independent of MDIForm, but is always included in MDIForm at runtime.

You can use the Controls collection in MDIForm to access the controls collection. For example, use the following code to hide all controls in MDIForm:

For Each Control in MDIForm1.Controls
   Control.Visible = False
Next Control

The Count property of MDIForm indicates the number of controls in the Controls collection.
Reply

Use magic Report

0

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-25 10:36:01
| Show all posts
It's just a container, your text box should be added to the MDI child form
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list