ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is it possible to embed a dialog in a Form? (https://www.excelbanter.com/excel-programming/349768-possible-embed-dialog-form.html)

Ed Ferrero

Is it possible to embed a dialog in a Form?
 
I am currently using
Application.Dialogs(xlDialogEditColor).Show
to show the built-in dialog colour picker.

Is this available as a component that I can embed in a form?
Would there be any licencing issues?

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com



Tom Ogilvy

Is it possible to embed a dialog in a Form?
 
It isn't a component. It also doesn't operate as a component, so you can
not query it for the users selection, even when called independently. It
fuctions as if the menu item associated with it were picked.

--
Regards,
Tom Ogilvy


"Ed Ferrero" wrote in message
...
I am currently using
Application.Dialogs(xlDialogEditColor).Show
to show the built-in dialog colour picker.

Is this available as a component that I can embed in a form?
Would there be any licencing issues?

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com





Ed Ferrero

Is it possible to embed a dialog in a Form?
 
Thanks Tom,

That's saved me from wasting time looking. I might just build my own colour
wheel and be done with it.

Ed

It isn't a component. It also doesn't operate as a component, so you can
not query it for the users selection, even when called independently. It
fuctions as if the menu item associated with it were picked.

--
Regards,
Tom Ogilvy


"Ed Ferrero" wrote in message
...
I am currently using
Application.Dialogs(xlDialogEditColor).Show
to show the built-in dialog colour picker.

Is this available as a component that I can embed in a form?
Would there be any licencing issues?

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com







Tom Ogilvy

Is it possible to embed a dialog in a Form?
 
If you mean with a userform, John Walkenbach has one:

http://j-walk.com/ss/excel/tips/tip49.htm

if you are using the API, the common dialog control has a color picker mode.

--
Regards,
Tom Ogilvy


"Ed Ferrero" wrote in message
...
Thanks Tom,

That's saved me from wasting time looking. I might just build my own

colour
wheel and be done with it.

Ed

It isn't a component. It also doesn't operate as a component, so you

can
not query it for the users selection, even when called independently.

It
fuctions as if the menu item associated with it were picked.

--
Regards,
Tom Ogilvy


"Ed Ferrero" wrote in message
...
I am currently using
Application.Dialogs(xlDialogEditColor).Show
to show the built-in dialog colour picker.

Is this available as a component that I can embed in a form?
Would there be any licencing issues?

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com










All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com