home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 1140
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 2235
- LinkTopic = "Form1"
- ScaleHeight = 1140
- ScaleWidth = 2235
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command1
- Caption = "Click Here"
- Height = 495
- Left = 240
- TabIndex = 0
- Top = 240
- Width = 1695
- End
- Begin VB.Label Label1
- Caption = "Double Click Above!!"
- Height = 255
- Left = 360
- TabIndex = 1
- Top = 840
- Width = 1695
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- PopupMenu Form2.file
- 'to make a popup menu, without affecting the border,
- 'first, you need to make a new form, then create a normal
- 'menu on it <see form2> then,
- 'in form1 <or whatever> double click the object you want the object to pop out
- 'of <like you did to view this> and put in
- ' PopupMenu form2.file
- 'in the click <such as "Command1_click"
- 'where it says form2, put the name of the form that you put the menu on,
- 'where is says file, put the name of the main menu <the first layer>
- 'you don't neccasarily have to put the code into the click event, you can also put it in the
- 'Mouse Up, Mouse down, or whatever you want...
- 'ok, so you know what to do, i'll walk you through it...
- 'first of all, on form1, where you clicked "click here" twice,
- 'make a new button.
- 'the name should automatically be command2 - that's fine.
- 'now, double click the button you just made, so you come up to the code.
- 'then, where it says
- 'Private Sub Command2_Click ()
- 'End Sub
- 'put in "PopupMenu form2.edit
- 'there is already a menu made in form2 called edit, so that's why you just had to say edit..
- 'blah... now run the program thing, and click on "Command2" and Delete and Remove should popup.
- 'then, just go on from there...
- 'by kr0q
- 'email me if you don't understand, or need more info - worldfamouskr0q@phreaker.net
- 'AIM SN: worldfamouskr0q@phreaker.net
- ' Website - http://eleventeen.net
- End Sub
-