Can I add a Custom Dialog to my toolbar?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can I add a Custom Dialog to my toolbar?

sergio_da_silva
Good morning list!

I created a custom dialog with which I'm pretty happy. Now I'd like to add it to my toolbar in order to access it with a single left mouse click (I like this more than going through the actual menu). However, I seem unable to add it to my toolbar: when I start editing the toolbar, the menu under which the dialog resides disappears.

Precisely, my own custom dialogs are under "Custom", which resides between "Graphs" and "Utilities" in the data editor window. However, in the toolbar editor there's nothing between these two menu items. (Please see this screenshot: https://dl.dropbox.com/u/116120595/toolbar_editor_trouble.jpg.)

I do have "User Defined" at the end but this does not contain the custom dialog I'm looking for.

Is there any way I can access my custom dialog with a single mouseclick from my toolbar? What am I doing wrong?
Reply | Threaded
Open this post in threaded view
|

Re: Can I add a Custom Dialog to my toolbar?

Albert-Jan Roskam
Hi!

Assume you're on Windows and you're using SPSS v21, you could modify try modifying this registry entry:
HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\21.0 0\ui\toolbars

I'd  create two .reg files: one before you've changed anything (call it unset_spss_gui.reg)
and one after you've manually carried out the desired changes (call it set_spss_gui.reg)

Regards,
Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a
fresh water system, and public health, what have the Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


----- Original Message -----

> From: sergio_da_silva <[hidden email]>
> To: [hidden email]
> Cc:
> Sent: Monday, February 18, 2013 12:24 PM
> Subject: [SPSSX-L] Can I add a Custom Dialog to my toolbar?
>
>G ood morning list!
>
> I created a custom dialog with which I'm pretty happy. Now I'd like to
> add
> it to my toolbar in order to access it with a single left mouse click (I
> like this more than going through the actual menu). However, I seem unable
> to add it to my toolbar: when I start editing the toolbar, the menu under
> which the dialog resides disappears.
>
> Precisely, my own custom dialogs are under "Custom", which resides
> between
> "Graphs" and "Utilities" in the data editor window. However,
> in the toolbar
> editor there's nothing between these two menu items. (Please see this
> screenshot: https://dl.dropbox.com/u/116120595/toolbar_editor_trouble.jpg.)
>
> I do have "User Defined" at the end but this does not contain the
> custom
> dialog I'm looking for.
>
> Is there any way I can access my custom dialog with a single mouseclick from
> my toolbar? What am I doing wrong?
>
>
>
> --
> View this message in context:
> http://spssx-discussion.1045642.n5.nabble.com/Can-I-add-a-Custom-Dialog-to-my-toolbar-tp5718112.html
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Can I add a Custom Dialog to my toolbar?

Jon K Peck
In reply to this post by sergio_da_silva
Sorry, custom dialogs do not work with the toolbar editing system.  I wish they did.  Hacking the Registry may work, but you are on your own for that.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        sergio_da_silva <[hidden email]>
To:        [hidden email],
Date:        02/18/2013 04:26 AM
Subject:        [SPSSX-L] Can I add a Custom Dialog to my toolbar?
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Good morning list!

I created a custom dialog with which I'm pretty happy. Now I'd like to add
it to my toolbar in order to access it with a single left mouse click (I
like this more than going through the actual menu). However, I seem unable
to add it to my toolbar: when I start editing the toolbar, the menu under
which the dialog resides disappears.

Precisely, my own custom dialogs are under "Custom", which resides between
"Graphs" and "Utilities" in the data editor window. However, in the toolbar
editor there's nothing between these two menu items. (Please see this
screenshot:
https://dl.dropbox.com/u/116120595/toolbar_editor_trouble.jpg.)

I do have "User Defined" at the end but this does not contain the custom
dialog I'm looking for.

Is there any way I can access my custom dialog with a single mouseclick from
my toolbar? What am I doing wrong?



--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/Can-I-add-a-Custom-Dialog-to-my-toolbar-tp5718112.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


Reply | Threaded
Open this post in threaded view
|

Re: Can I add a Custom Dialog to my toolbar?

sergio_da_silva
In reply to this post by Albert-Jan Roskam
@Albert-Jan: I'm on Windows XP (32 bit) and SPSS V20.0.0.2. Would that make any difference to your proposed hack? I'm kinda willing to go with it since my system is already pretty screwed anyway...

Amazing that you know such stuff!

@Jon: thanks for pointing out that this doesn't work naturally -> I won't waste any time trying it "natively".

It's not the end of the world if it just won't work but I am curious just to what extent I can optimize my SPSS installation. I think creating and fine tuning your own custom routines may save huge amounts of time in the long run. Hope that (partially) justifies me bothering this community all the time...

P.s. if any of you guys ever happens to come to Amsterdam (Netherlands), drop me a line and I'll buy us some coffee and pie.