I'm not going to write the code for you, as you need to learn how to do it yourself, but I
will explain how to do it.
Firstly, you need to draw your menu...
You can either do this in a paint program and then load it into DB as an image, or you can just make one using the Box and Line commands in DB.
Next, you need to know where the buttons are on the screen...
The way you do this will depend on how you set up the menu visually in step 1.
Either way, you will create an array to store the positions of the buttons for ease of access. The array will be set up as;
Dim buttons(maxbuttons,4)
Where maxbuttons is the amount of buttons you have in the menu, and 1 -> 4 are the left, top, right, and bottom positions of the buttons respectively. ( We will use the 0 index later on as a check )
If you created the menu in a paint program, just open it up, move the cursor to the left side of the first button, and look at what the pixel position is, and this then becomes the value of buttons(1,1) then look at the top position, and this becomes the valeu of butons(1,2) and so on.
If you use this method of creation of the menu, you mut take into account the position you will put the image on-screen. Ie, if you load the image in, and position it at 20,100 then all of the left and right positions will be out by -20 pixels, and the top and bottom ones will be out by -100 pixels. To remidy this, simply adjust all the array values acordingly.
If you create the menu in DB using Box's etc, then the left, top, right, and bottom positions are simply the positions you used to create the box's in the first place.
Next, you need to do a Mouse Position check...
To do this, you simply get the mouse position, using MouseX() and MouseY() and check that against the array values for each button.
If the mouse is over the button, then set the value of buttons(butnum,0) to 1. Then you can use this check when checking if the mouse has been clicked.
If the mouse isn't over the button, and the value of buttons(butnum,0) = 1 Then set it back to 0.
Finally, you have to check if the mouse is clicked...
Use the MouseClick() command to check this.
Then, if the mouse has been clicked, use a For...Next loop to loop through the array values checking buttons(butnum,0). If it is equal to 1, then the mouse is over the button, and the button has been clicked, so you act accordingly.
Hopefully this will get you off to a start, and you can learn some more code in the process.
Hope I Helped...
Jess.

Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy