Home > Software engineering >  VB how to implement this function, the great god give an idea
VB how to implement this function, the great god give an idea

Time:09-23

Few words said, directly above the


Picture above "Evaluate", "Dashboard", "Register Access", "GPO", "Loop filter" corresponding to a picture, such as the how to do it, for a long time didn't find on baidu

CodePudding user response:

1. Can use Microsoft Windows Common Controls, 6.0 the TabStrip control (SP6),
However, this control is not as "container" of other controls, you want to decorate in the "each TAB" other controls, then with a PictureBox or
Frame control to "layout", put controls in among them, the control "container" it is better to control array, it is easy to use the Index and TabStrip TAB
Corresponding, of course, the control window is set to flat, best show style without borders, so that "looks like control directly on the TabStrip",
Control container, original all is "invisible" in the Click event, according to the SelectedItem. The Index value to determine the currently selected "which is" TAB, "
Then hide before control container, show the current TAB with the corresponding control container,

2. If there is a kind of call "SSTab" control, this can be directly put controls in its different "TAB,"
This I didn't use, you can download to try,

CodePudding user response:

Above 1. "of course the control of Windows the best are to be set into a plane... "
The window should be "container"

CodePudding user response:

6.0 SSTab, corresponding to the Microsoft Tabbed Dialog Control

CodePudding user response:

Thank you for the two solutions, while using VB, before have a lot of functionality or don't know, will continue to learn

CodePudding user response:

The
reference 3 floor hpygzhx520 response:
SSTab, corresponding to the Microsoft Tabbed Dialog Control 6.0


Correct answer, but wants to set up some style ah of what, is not convenient,
Is recommended to use third-party mature controls,
For example: Codejock. SuitePro. ActiveX

CodePudding user response:

reference 5 floor vansoft reply:
Quote: refer to the third floor hpygzhx520 response:

SSTab, corresponding to the Microsoft Tabbed Dialog Control 6.0


Correct answer, but wants to set up some style ah of what, is not convenient,
Is recommended to use third-party mature controls,
For example: Codejock. SuitePro. ActiveX

To late,

CodePudding user response:

Add components:



On the left after SSTAB to form

CodePudding user response:

I remember the VB in the new project, there is a enter type selection process, can be directly generated effect you need,

CodePudding user response:

Using SSTab controls, set up seven TAB, each TAB placed a Frame1 controls (I) array, a total of seven, the INDEX of 0 to 6, as shown in figure:

The key code is as follows:
 Private Sub Form_Load () 
For I=0 To 6
Frame1 (I). The BorderStyle=0
Next I
SSTab1. Tab=0 'effective, set up the first Tab Tab 0 operation code, Frame1 (0) container internal control initialization
End Sub

Private Sub SSTab1_Click (PreviousTab As Integer)
PreviousTab=SSTab1. Tab
The Select Case PreviousTab
Case 0
'TAB 0 operation code, Frame1 (0) container internal control initialization
Case 1
'TAB 1 operation code, Frame1 (1) the container internal control initialization
Case 2
'TAB 2 operation code, Frame1 (2) the container internal control initialization
Case 3
'TAB 3 operation code, Frame1 (3) the container internal control initialization
Case 4
'TAB 4 operation code, Frame1 (4) the container internal control initialization
Case 5
'TAB 5 operation code, Frame1 (5) the container internal control initialization
Case 6
'TAB 6 operation code, Frame1 (6) the container internal control initialization
End the Select
End Sub

Should be relatively simple

CodePudding user response:

With control execution efficiency, some slow, my personal choice "since the draw control", and then on top form mouse_down event, determine whether the trigger relevant "light control" event,

CodePudding user response:

The present computer can install VB6? My computer installed directly VB.net 2010 VB6

CodePudding user response:

Haven't finished ah, hard

CodePudding user response:

Where images show? If it's control, do the images load not line?
  • Related