Article ID: 145731
Article Last Modified on 12/9/2003
AniPushButton MAPIMessages Slider CommonDialog MAPISession SpinButton CrystalReport MaskEdBox SSCheck DBCombo MhState SSCommand DBGrid MMControl SSOption DBList MSComm SSRibbon Graph MSRDC StatusBar Grid Outline TreeView ImageList PictureClip ListView ProgressBarNOTE: The OLE container control is a lightweight control in Visual Basic 4.0.
------------------------------
| -------- -------- -------- |
||Command1||Command3||Command5||
| -------- -------- -------- |
| -------- -------- -------- |
||Command2||Command4||Command6||
| -------- -------- -------- |
| -------------- |
| |Label1 | |
| | --------------- |
| | |Picture1 | |
| | -------| | |
| | |Grid1 | | |
| --| | | |
| | --------------- |
| | | |
| ---------------- |
------------------------------
Private Sub Form_Load()
Command1.Caption = "Bring to Front - Label1"
Command2.Caption = "Send to Back - Label1"
Label1.BorderStyle = 1
Command3.Caption = "Bring to Front - Grid1"
Command4.Caption = "Send to Back - Grid1"
Command5.Caption = "Bring to Front - Picture1"
Command6.Caption = "Send to Back - Picture1"
End Sub
Private Sub Command1_Click()
Label1.ZOrder 0 'Bring to Front
End Sub
Private Sub Command2_Click()
Label1.ZOrder 1 'Send to Back
End Sub
Private Sub Command3_Click()
Grid1.ZOrder 0 'Bring to Front
End Sub
Private Sub Command4_Click()
Grid1.ZOrder 1 'Send to Back
End Sub
Private Sub Command5_Click()
Picture1.ZOrder 0 'Bring to Front
End Sub
Private Sub Command6_Click()
Picture1.ZOrder 1 'Send to Back
End Sub
Additional query words: 4.00 vb4win vb4all above buglist4.00
Keywords: kbbug KB145731