473,398 Members | 2,212 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,398 software developers and data experts.

Toolbar DropDownMenu From Array

I want to Make DropDownMenu for toolbar(just like Back or forward buttons of
browser) takes its menuitems from Contextmenu filled with array of menuItems
I could not handle the event of clicking the menuItems because it is not
available to declare array withevents
can any one help to find alternative solution
Nov 21 '05 #1
3 1235
Meghezel.

The only way AFAIK to use the toolbar is with buttons. However it fits very
good what you told just to use the toolbar.

Keep in mind that the toolbar is a special way of control, that has its
buttons inside it, which you only can handle with a case select inside the
events from the toolbar.

In my opinion is the simplest way to get the toolbar to drag a toolbar to
your form, open the properties and than choose for the Buttons, which is a
collection inside those properties. Than a special form opens to set your
buttons.

I hope this helps,

Cor
Nov 21 '05 #2
Dear Cor
I already did what u mentioned
I inserted buttons of type dropDown
and choosed Contextmenu to represent the dropdown list
and I filled the Contextmenu from collection of menuItems
these menu items represents the history of browsed pages
Untill now it is ok , if the menuitems is separate variables,
It could be handled through the event menuitem.click
but i need the history to catch more than 20 Pages so
I made array of MenuItems to fill the contextmenu
and I want to handle the event when user click down the toolbarbutton and
choose item from the dropdown list appeared
walied

"Cor Ligthert" wrote:
Meghezel.

The only way AFAIK to use the toolbar is with buttons. However it fits very
good what you told just to use the toolbar.

Keep in mind that the toolbar is a special way of control, that has its
buttons inside it, which you only can handle with a case select inside the
events from the toolbar.

In my opinion is the simplest way to get the toolbar to drag a toolbar to
your form, open the properties and than choose for the Buttons, which is a
collection inside those properties. Than a special form opens to set your
buttons.

I hope this helps,

Cor

Nov 21 '05 #3
Meghezel.

It seems that you are creating a special application. Normally I would
expect for browser history a combobox set to dropdownlist.

Can you show a piece of code what you do?

Cor
Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: archway | last post by:
Is it possible to have the height of the DropDownMenu on a toolbar control to be that of the text within it? Whenever I set the text property to any string, the DropDownMenu resizes to about twice...
4
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following...
102
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
1
by: Curtis | last post by:
Somehow I'm just missing something. I don't know how to catch when a user clicks on an item in a dropdown list for a dropdown style button on a toolbar. I create a new app. Form1. Add a...
6
by: Juan Pedro Gonzalez | last post by:
I wanted to add a Combobox to a toolbar... Kind of the look you get on VisualStudio's toolbar. I've been able to find some VB 6 samples, but the placeholder option is no longer available for...
3
by: Sakharam Phapale | last post by:
Hi All, I am working on a project, where maximum operations carried out on Files and multi-dimensional arrays. Since array data is huge application takes too much memory. My problem is, after...
1
by: Alfredo Barrientos | last post by:
Hi, I have a little trouble trying to assign a Toolbar control to another toolbar variable control. I am getting my forms controls with this: for (int j = 0; j <= frmChild.Controls.Count -...
16
by: Lorum | last post by:
Hi, Is it possible for me to, when I choose an option eg. 'Iveco', to let the text/input field disappear? So basically, if you choose a car in the first dropdownmenu, the text/input field has to...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.