Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default pull down menu on userform

This appears to be one of the common controls - don't these require a
license for design time operation - the mode Office operates in?

--
Regards,
Tom Ogilvy

"keepitcool" wrote in message
...
in the VBEditor

Rightclick the Control Toolbox
Select additional controls..
try to find Microsoft Toolbar control

add it to the toolbox then drag into form.
now open properties window..
select the custom property to open the properties bag.

check object browser for more/other properties
and methods of this control


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Jay" wrote:

I would like to know if it's possible to add a pull down
menu to a userform. I want to create a menu in my user
form and I don't want to add a custom menu to the
existing excel menu. I browsed the different controls
but I can't seem to find the one I need.

thinks for the help
Jay




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default pull down menu on userform

Tom ..

I honestly dont know.

On my machine they work...
Most people will have m ...
If you're not distributing but just using what's there...

i'd be interested to know though.


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Tom Ogilvy" wrote:

This appears to be one of the common controls - don't these require a
license for design time operation - the mode Office operates in?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default pull down menu on userform

I was referring to the Excel built in objects (commandbars).

Perhaps a thirdparty control can provide that functionality. In VB the
language, forms (which are not userforms) can have menus on them, so I was
really making a contrast to what can be done in VB vice VBA.

--
Regards,
Tom Ogilvy

"Jay" wrote in message
...
Thanks for your help guys; unfortunately I can find any
properties in the toolbar control or in any other
controls that could help me create a pull down menu.
It's quite possible that this particular object is not
supported in a userform as Tom pointed out.

Again thanks for the help
Jay.

-----Original Message-----
This appears to be one of the common controls - don't

these require a
license for design time operation - the mode Office

operates in?

--
Regards,
Tom Ogilvy

"keepitcool" wrote in message
.. .
in the VBEditor

Rightclick the Control Toolbox
Select additional controls..
try to find Microsoft Toolbar control

add it to the toolbox then drag into form.
now open properties window..
select the custom property to open the properties bag.

check object browser for more/other properties
and methods of this control


keepITcool




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default pull down menu on userform

In order to work around this issue I decided to use the
toolbar control with an imageList control in order to
have icon instead of just text on my buttons.

So basically what I did is insert a couple of icon
picture in my imageList using the custom properties in
the Image tab and associate each picture index with a
key.

Normally the only thing left to do would be associate the
toolbar with the imageList by going on the Toolbar
property window, and in the imageList drop down, select
the name of the imageList control ex:(myImageList). But
I have nothing on that list but "none" as if I didn't add
an imageList on my userform. I tried to see if I needed
to set other options in order to see myImageList object
in the list but I did find any.

This is quite frustrating and I would appreciate any
suggestion that would help me bypass the problem.

Thanks. Jay


-----Original Message-----
I was referring to the Excel built in objects
(commandbars).

Perhaps a thirdparty control can provide that
functionality. In VB the
language, forms (which are not userforms) can have menus
on them, so I was
really making a contrast to what can be done in VB vice
VBA.

--
Regards,
Tom Ogilvy

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default pull down menu on userform


no need to have an imagelist, you can set the picture property of any
button or frame or label on a userform with loadpicture
(stdole.stdfunctions)

btn.picture=loadpicture(filename, width,height)


Although I'm just discovering all those common controls I noted that
an imagelist by itself wont display on a form.

You can create it (also as a temp variable in code )

dim oImgList as NEW imageList

it seems to serve merely as a container for several other controls like
treeviews or listviews. ... or something...

but it DOES have the option to OVERLAY images.. which was really the
only functionality I was interested in at the time... didn't want to be
bothered by lots of api stuff and copying to the clipboard etc.



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Jay" wrote:

In order to work around this issue I decided to use the
toolbar control with an imageList control in order to
have icon instead of just text on my buttons.

So basically what I did is insert a couple of icon
picture in my imageList using the custom properties in
the Image tab and associate each picture index with a
key.

Normally the only thing left to do would be associate the
toolbar with the imageList by going on the Toolbar
property window, and in the imageList drop down, select
the name of the imageList control ex:(myImageList). But
I have nothing on that list but "none" as if I didn't add
an imageList on my userform. I tried to see if I needed
to set other options in order to see myImageList object
in the list but I did find any.

This is quite frustrating and I would appreciate any
suggestion that would help me bypass the problem.

Thanks. Jay


-----Original Message-----
I was referring to the Excel built in objects
(commandbars).

Perhaps a thirdparty control can provide that
functionality. In VB the
language, forms (which are not userforms) can have menus
on them, so I was
really making a contrast to what can be done in VB vice
VBA.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a pull down menu like Happy Excel Discussion (Misc queries) 1 November 27th 07 01:05 PM
Excel pull down menu kwf Excel Worksheet Functions 0 March 9th 06 04:17 PM
Pull Down Menu Bar JB in Kansas Excel Discussion (Misc queries) 2 May 30th 05 02:20 PM
What is a Conditional pull down menu? Neil Bhandar Excel Worksheet Functions 4 May 3rd 05 05:00 PM
What is a Conditional pull down menu? Neil Bhandar Excel Discussion (Misc queries) 2 May 3rd 05 02:55 PM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"