473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Button help

soramaster
Using the cammond button how do make a combo box appear? Like in the menu if you click File a box under it will show up with commcands how do I do the same for a command button?
Like the start button in windows

thanks
Jun 8 '07 #1
5 1053
debasisdas
8,127 Expert 4TB
Do u want to do it on a form or on a toolbar ?
Jun 9 '07 #2
pureenhanoi
175 100+
Using the cammond button how do make a combo box appear? Like in the menu if you click File a box under it will show up with commcands how do I do the same for a command button?
Like the start button in windows

thanks
in the Form contains that Command Button, create a menu with at least two levels
Expand|Select|Wrap|Line Numbers
  1. Menu Name         Caption                      Visibled
  2. mnuFile             &File                          False
  3. ...mnuNew         &New                              True
  4. ...mnuOpen       &Open                                True
  5.  
Insert following code into ur Form
Expand|Select|Wrap|Line Numbers
  1. Private Sub Command1_Click()
  2.          PopupMenu mnuFile,,Command1.Left,Command1.Top+Command1.Height
  3. End Sub
  4.  
Jun 9 '07 #3
And how do I add an image next to it? Like for New there whould be a picture next to it




Also how do I make it where something disabled untill you put some kind of code in, S/N?

Also how do I make it password protecterd where before the program starts it will need a username and pass? I been looking and can't find it.
Jun 12 '07 #4
So how can I do all of that? I've been looking around on this board and on google.com.
Jun 12 '07 #5
pureenhanoi
175 100+
And how do I add an image next to it? Like for New there whould be a picture next to it




Also how do I make it where something disabled untill you put some kind of code in, S/N?

Also how do I make it password protecterd where before the program starts it will need a username and pass? I been looking and can't find it.
To add image next to menu Item, u can read following article:How To Associate a Graphic with a Menu Item
Jun 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: TrvlOrm | last post by:
Can any one please help me...I am new to JavaScript and I have been struggling with this code for days now and can't figure it out. I would like to get the Buttons to correspond with the action...
6
by: Sujan | last post by:
Hello all, Help me! -------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script language="JavaScript"> <!--
7
by: MgGuigg | last post by:
Hello all, This is my first time posting a question to this forum, so here is hoping I am following protocol. I am scraping the rust off my old Basic programming skills, and have just recently...
3
by: NateDawg | last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if anyone has some input it would sure help me out. Ok, I’ve noticed a few gridview problems floating around the forum....
0
by: David | last post by:
Hello all. I am trying to implement my first server control and have run into two problems that I cannot solve. I need the assistance of someone with more experience. My goal was to create an...
3
by: Kannan | last post by:
Hi, I am trying to created Outloook Add-in Com in outlook using C#. I have seen this URL for developing this sample http://support.microsoft.com/?kbid=302901 When I executed this program it...
8
by: Richard Maher | last post by:
Hi, I am in a mouseup event for button A and I'd like to disable=false button B before starting some work. Is there anyway that an event for button B can then fire before my event processing for...
4
by: glbdev | last post by:
Hi, I posted this question yesterday but didn't get the answer I needed. I am DESPERATE to get this working so I'm re-posting it because I don't think I worded it correctly. I have a GridView...
3
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hi all, i betcha here's a question never asked before ;) i have a simple web form with a gridview and a button. the button doesn't do anything but a postback. i load up the gridview from the...
23
by: shashi shekhar singh | last post by:
Dear sir, I have a word document file contains text and images, now i have saved it as a web page and wants to display it on browser , using , string str=directory.getfiles("");...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.