Your post might be somewhat confusing and hence no replies. I am not certain what your intent for 'pop-up' is; however, here is some advice:
The inherent VB controls need not be used for only their intended purposes
Here is an example - Assume I wanted a multi-line help file to appear next to a control only when the right mouse button is pressed (similar to a tooltip). How would I do this?
Just imagining rather quick, I might make a frame and within the frame place a label. The label would fill the entire frame, then I could code:
Private Sub lblTest_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Select Case Button
Case 2: fraMain.Move lblTest.Left, (lblTest.Top + _
lblTest.Height + 50): fraMain.Visible = True:
lblMain.Caption = "This is a test"
Case Else: fraMain.Visible = False
End Select
End Sub
In this fashion you might make a popup with various colours, fonts and so on. By using a frame, you have better control over the Z-order so the 'pop-up' is not hidden behind another control by accident.
- Nick