Put same toolbar button in two place

Hi,
Is there a way to put a same toolbar button in two or more places?
Before version 4, I am able to put the 'Open a new tab' button in front of the bookmarks toolbar and still have the new tab button next to the last opened tab. But since the version 4 update, I notice the 'Open a new tab button' will only appear in one of these places.

Hi,
You can change the .skn file with notepad, but I'm not sure what will be retained in the output.
For all skin related questions, check Rick Stone's Skinny on Skins: http://www.robowizard.com/RoboWizard/NewProject.htm#Downloads/Skinny_on_Skins.htm
I don't know whether your questions are answered in skinny on skins, so post back if you don't find the solution in there.
Greet,
Willam

Similar Messages

  • TS3297 I have an iPhone and recently bought an iPod 4 touch what l am using the same apple ID for. The iPod won't let me download songs from iTunes it is asking me security questions which I don't think I have put answers to in the first place.

    I have an iPhone and recently bought an iPod 4 touch what l am using the same apple ID for. The iPod won't let me download songs from iTunes it is asking me security questions which I don't think I have put answers to in the first place, because of this it won't let me buy any songs on iTunes

    It's probably asking you to verify the security code found on the back of your credit card.
    Regards.

  • Toolbar button/hotkey for "show cover page in two page view" in Acrobat X?

    In Acrobat X, how about make a toolbar button/hotkey for "show cover page in two page view"?  I find toggling this option to be useful for changing up the order of adjacent pages in magazines/books in which a two page spread has to match for a full large picture.  Due to frequent toggling, I would like a button/hotkey for this for easier access.

    Hotkeys for existing menu items are not modifiable, but you can add a scripted button which toggles it with the following code:
    if (layout.substr(-5)=="Right") layout = layout.replace("Right","Left");
    else layout = layout.replace("Left","Right");
    For info on how to add a button with a folder-level script, see the Acrobat SDK documentation. Scripted buttons will appear in a new panel on the tools pane in Acrobat X, not on the tool bar.

  • How to drag and drop button between two toolbar?

    Hi,everybody :)
    i hava a problem :
    if i have two toolbar in a frame , and there are some button in each, how can i use dnd package to drag and drop button between two toolbar,such as drag one button in a toolbar to the other toolbar ,i write some sample code ,but find some difficult to finish
    can anyone give me some example code?
    Thanks!

    hi:)
    i have done it ,but there is another problem ,after i finish drag the button and drop it into the toolbar,if my mouse across the dragged button ,it will change the color ,can i setup any mathod to disappear the side_effect?
    thank u
    click open to show the other frame
    and the code is as follows:
    import java.awt.*;
    import java.awt.datatransfer.*;
    import java.awt.dnd.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    public class buttondrag implements DragGestureListener, DragSourceListener,
    DropTargetListener, Transferable{
    static JFrame source = new JFrame("Source Frame");
    static JFrame target = new JFrame("Target Frame");
    static final DataFlavor[] supportedFlavors = { null };
    static {
    try {
         supportedFlavors[0] = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType);
    catch (Exception ex) {
         ex.printStackTrace();
    } Object object; // Transferable methods.
    public Object getTransferData(DataFlavor flavor) {
    if (flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType)) return object;
    else{
    return null;
    public DataFlavor[] getTransferDataFlavors() {
         return supportedFlavors;
    public boolean isDataFlavorSupported(DataFlavor flavor) {
         return flavor.isMimeTypeEqual(DataFlavor.javaJVMLocalObjectMimeType);
    } // DragGestureListener method.
    public void dragGestureRecognized(DragGestureEvent ev) {
    ev.startDrag(null, this, this);
    } // DragSourceListener methods.
    public void dragDropEnd(DragSourceDropEvent ev) { }
    public void dragEnter(DragSourceDragEvent ev) { }
    public void dragExit(DragSourceEvent ev) { }
    public void dragOver(DragSourceDragEvent ev) {
         object = ev.getSource();
    public void dropActionChanged(DragSourceDragEvent ev) { } // DropTargetListener methods.
    public void dragEnter(DropTargetDragEvent ev) { }
    public void dragExit(DropTargetEvent ev) { }
    public void dragOver(DropTargetDragEvent ev) { dropTargetDrag(ev); }
    public void dropActionChanged(DropTargetDragEvent ev) { dropTargetDrag(ev); }
    void dropTargetDrag(DropTargetDragEvent ev) { ev.acceptDrag(ev.getDropAction()); }
    public void drop(DropTargetDropEvent ev) {
         ev.acceptDrop(ev.getDropAction());
         try {
         Object target = ev.getSource();
         Object source = ev.getTransferable().getTransferData(supportedFlavors[0]);
         Component component = ((DragSourceContext) source).getComponent();
         Container oldContainer = component.getParent();
         Container container = (Container) ((DropTarget) target).getComponent();
         container.add(component);
         oldContainer.validate();
         oldContainer.repaint();
         container.validate();
         container.repaint();
         catch (Exception ex) {
              ex.printStackTrace();
              ev.dropComplete(true);
    public static void main(String[] arg) {
    JButton button = new JButton("Drag this button");
    JToolBar sbar = new JToolBar();
    JToolBar dbar = new JToolBar();
    JButton open_button = new JButton("Open");
    source.getContentPane().setLayout(null);
    source.setSize(new Dimension(400, 300));
    sbar.add(button);
    sbar.setBounds(new Rectangle(0, 0, 400, 31));
    sbar.add(open_button);
    open_button.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    target.setVisible(true);
    source.getContentPane() .add(sbar);
    target.getContentPane().setLayout(null);
    target.setSize(new Dimension(400, 300));
    target.getContentPane().add(dbar);
    dbar.setBounds(new Rectangle(0, 0, 400, 31));
    dbar.add(new JButton("button1"));
    buttondrag dndListener = new buttondrag();
    DragSource dragSource = new DragSource();
    DropTarget dropTarget1 = new DropTarget(sbar, DnDConstants.ACTION_MOVE, dndListener);
    DropTarget dropTarget2 = new DropTarget(dbar, DnDConstants.ACTION_MOVE, dndListener);
    DragGestureRecognizer dragRecognizer1 = dragSource.createDefaultDragGestureRecognizer(button, DnDConstants.ACTION_MOVE, dndListener);
    source.setBounds(0, 200, 200, 200);
    target.setVisible(false);
    target.setBounds(220, 200, 200, 200);
    source.show();
    }

  • Assign same Section Code to two Business Place

    Hi
    We have a scenario, where in there are two Plants in the same state and the same legal entity and one TAN Number. we would need a single Section Code for the TAN Number. However, for evey plant there should be only one Business Place. Can we assign the same section code to two Business Places. What would be the effect on the returns?
    Regards
    Sanil Bhandari

    HI Sanil
    What i understood that you have created two business place and some are coming under one section code,actually this is normal scenario there will not be any effect on return as well as certificate printing also coz you have to run the return program on section code basis not on the business places.
    Hope it will help you.
    Regards
    Dipak

  • Trying to create two toolbar buttons. Need codes.

    I am trying to use the Custom Buttons addon to create the following two toolbar buttons. Bu I need the codes and I didn't get aid at the Custom Buttons official forum. Hope someone here could help.
    (1) Force links to open in new background tabs
    Click on this button and then everytime you open a link, it opens in a new background tab. Click on it again and then the original setting is restored.
    (2) After the current tab is closed, open the right tab
    Click on this button and then everytime you close a tab, the tab next to it on the right will be opened. Click on this button again and then the original setting is restored.
    Thank you in advance.

    ''FredMcD [[#answer-681024|said]]''
    <blockquote>
    I've called the big guys to help you. Good luck.
    </blockquote>
    Thank you for your assistance.

  • Two PCs on two places, both with iTunes using same AppleId. Streaming videos for iPad

    Hi everybody.
    I'm living in two places, both of them equiped with PCs, one running Windows 7 and the other Windows XP (nobody's perfect !). They run last version of iTunes with same Apple Id.
    As one is the backup of the other, both of them have all the videos I'd like to broadcast on may iPad (not enough place, so no download). Some of them are TV shows I bougth, other one are personnal videos.
    All was perfect on the first PC (the one running Windows 7) until I activate the same setups on the second one. Now I can broadcast personnal videos from that PC, but I can't anymore on the first one : when I open Videos (the application) on iPad, the only thing I see on the menu is "TV show", witch allow me to download (not broadcast) from Internet the show I'd like to see, but I don't see the "shared library" I used to see before.
    Anyone has an idea ?
    Thank's 

    Hi everybody.
    I'm living in two places, both of them equiped with PCs, one running Windows 7 and the other Windows XP (nobody's perfect !). They run last version of iTunes with same Apple Id.
    As one is the backup of the other, both of them have all the videos I'd like to broadcast on may iPad (not enough place, so no download). Some of them are TV shows I bougth, other one are personnal videos.
    All was perfect on the first PC (the one running Windows 7) until I activate the same setups on the second one. Now I can broadcast personnal videos from that PC, but I can't anymore on the first one : when I open Videos (the application) on iPad, the only thing I see on the menu is "TV show", witch allow me to download (not broadcast) from Internet the show I'd like to see, but I don't see the "shared library" I used to see before.
    Anyone has an idea ?
    Thank's 

  • Please help me to merge two places.sqlite to get my old and New history at the same time, every time i rename my two places.sqlite to see my old and new history

    every time i rename my new places.sqlite to see my old history and come back rename old places.sqlite to see my new history, i tired and i found No Way to merge two places.sqlite :( but it's must be found this way for The PPL to see their old and new history :(
    Thank You all in Advance

    You can't merge history otherwise then using Sync to store the history and bookmarks of one places.sqlite on the Sync server and then disconnect.<br />
    Copy the second places.sqlite file to your Firefox profile folder with Firefox closed.
    Then setup Sync once again using that account and merge the content on the Sync server with your computer.
    * Merge this device's data with my Sync data

  • Problems with getting a custom toolbar button to work...

    Hi all,
    I'm using the 7.0.1 eval version of GroupWise, patched to 7.0.2 HP 6/6/2007.
    The server is the same version.
    I'm trying to put a new button on the toolbar in C# (with the
    GW.CLIENT.WINDOW.BROWSER context) - the button shows up as expected. It also
    gets validate events - quite frequently and my code always returns 0 from
    Validate() and the button is always enabled. However, no matter what I do, I
    never get an Exectute() call on the command object I create for this button
    when I click it. I also tried the GW.CLIENT context, in which case the
    button shows up in the same place (main GW client toolbar), and it behaves
    the same.
    If I try to create the button with the GW.MESSAGE.MAIL context and I
    double-click emails, the button shows up on the toolbar of the message
    window. When I click this button, I properly get Execute() calls. I also
    have no problem getting context menu items working.
    Is there anything special I need to do to get callbacks for buttons on the
    main toolbar?
    Thanks,
    Gyorgy Bozoki

    These instructions from Mediacom differ slightly from what you have:
    http://mediacomcable.com/CustomerSupport/troubleshooting/email%20getting%20started/HowdoIsetupmyAndroidSmartphonetouseMediacome-mail.html

  • Change the position of toolbar buttons in RoboHelp 9 (WebHelp)

    Hi,
    I have been trying to create a custom skin for my webhelp output. I am able to specify the toolbar background image. However, the text in the image is being hidden by the toolbar buttons (Contents, Index, Serach, etc buttons). Is there any way to alter the position of the toolbar buttons (for example, lowering these buttons) so that the text in the image is displayed clearly?
    I would be glad to know of any work-around to this problem.
    Thanks!

    Hello again
    After I replied I noticed you had replied to two other threads. Really old threads. You basically asked the same question twice about how to resize images.
    As you are new here you likely don't understand the "rules of the road" so to speak. So it would be helpful to you to take a few moments and read through the thread I'm linking below. We put it together to help new folks.
    Click here to view
    As for how to change those button images, you do that using another application that manipulates images. SnagIt, PhotoShop, Windows Paint, GIMP,  Paint Shop Pro, Etc.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • When will sync support toolbar buttons/ordering?

    I've noticed that, while both old and new Firefox sync systems can put the same add-ons into each copy of the browser, their toolbar icons are always in different places. This doesn't help me to use Firefox as each time I sit at another machine with the same sync profile, I have to hunt the toolbar buttons!
    I read in another question from 2011 that sync didn't then do anything about toolbars; is this feature still coming?

    HI iainhallam,
    I have not heard any announcements on this feature yet. I currently do not have an available date for this feature either. Apologies for the inconvenience.
    Add ons are currently synced and should be the same unless the profile is different on each computer. It would be if it is "defined by whitelisted prefs"

  • Create a toolbar/button in Acrobat 8.0

    I am sorry for my rather simple title, but at this stage I do not know what I am looking for.
    I want to give the possibility for someone using Adobe Acrobat 8.0 pro to be able to save a pdf document they currently have open into a database.
    For example in Office this is simple, I created an addin that got the document or email as an object and I sent the object to my MS Access database.  MS Access then saves the file somewhere and I upload the file with the known path.
    But maybe there is a simple way maybe I can create a button that saves the pdf in a special place and then signals either the MS Access database or even a small .dll/exe I have that this button has been clicked and then this .dll/exe can wake up the MSAccess databae and tell it to do some work.
    Any help would be greatl appreciated.

    Ok so spoon feeding is not an option in this forum.
    So could someone humour me with at least the "yes" word or "no" word.
    I can create a toolbar button which will automatically load when Acrobat loads by making a Plug-in?
    If my Target "Acrobat" family member is Acrobat Standard 8.1.5 (note not pro) I need to get the 8.0/8.1 SDK to help me?
    My Plug-in is going to be written in Visual Studio 2005/2008?
    I must learn/use C/C++ for my plugin language?
    I will compile the .dll and then make it an .api file extension?
    To give my .api to someone else I need only put it into the ...\Adobe\Acrobat\plug_ins?
    This .api does not need to be registered (regsvr32) or something like that in the Windows registry?
    I am sure that might lead to further questions but it is a good start so I know what to google to find out how to do it, and then get some sample code.

  • Documentviewer new toolbar button HorizontalAlignment="Right" has no effect?

    Hi all,
    I added a button to the documentviewer toolbar after extracting a copy of the template in Blend. I added a button (closeButton) with an "X" as its content. It works but I want the button to be at the right side of the toolbar. I tried the
    horizontalAlignment property but is has no effect. If I add margin="500,0,0,0" it works. But I don't want to fix it that way. What Am I missing?
    Thanks
    <Style x:Key="myDocumentViewerStyle" BasedOn="{x:Null}" TargetType="{x:Type DocumentViewer}">
    <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"/>
    <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
    <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
    <Setter Property="ContextMenu" Value="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerContextMenu, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type DocumentViewer}">
    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Focusable="False">
    <Grid Background="{TemplateBinding Background}" KeyboardNavigation.TabNavigation="Local">
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="*"/>
    <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <ContentControl Grid.Column="0" Focusable="{TemplateBinding Focusable}" Grid.Row="0" Style="{DynamicResource myContentControlStyle}" TabIndex="0"/>
    <ScrollViewer x:Name="PART_ContentHost" CanContentScroll="true" Grid.Column="0" Focusable="{TemplateBinding Focusable}" HorizontalScrollBarVisibility="Auto" IsTabStop="true" Grid.Row="1" TabIndex="1"/>
    <DockPanel Grid.Row="1">
    <FrameworkElement DockPanel.Dock="Right" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
    <Rectangle Height="10" Visibility="Visible" VerticalAlignment="top">
    <Rectangle.Fill>
    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
    <LinearGradientBrush.GradientStops>
    <GradientStopCollection>
    <GradientStop Color="#66000000" Offset="0"/>
    <GradientStop Color="Transparent" Offset="1"/>
    </GradientStopCollection>
    </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    </Rectangle.Fill>
    </Rectangle>
    </DockPanel>
    <ContentControl x:Name="PART_FindToolBarHost" Grid.Column="0" Focusable="{TemplateBinding Focusable}" Grid.Row="2" TabIndex="2"/>
    </Grid>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    <Style x:Key="myContentControlStyle" TargetType="{x:Type ContentControl}">
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type ContentControl}">
    <ToolBar Focusable="{TemplateBinding Focusable}" ToolBarTray.IsLocked="True" Language="en-us" KeyboardNavigation.TabNavigation="Continue" Uid="ToolBar_2">
    <Button x:Name="PrintButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerPrintButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="ApplicationCommands.Print" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="0" ToolTip="Print (Ctrl+P)" Uid="Button_14" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="CopyButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerCopyButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="ApplicationCommands.Copy" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="1" ToolTip="Copy (Ctrl+C)" Uid="Button_15" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_110"/>
    <Button x:Name="ZoomInButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerZoomInButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="NavigationCommands.IncreaseZoom" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="3" ToolTip="Increase the size of the content (Ctrl +)" Uid="Button_16" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="ZoomOutButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerZoomOutButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="NavigationCommands.DecreaseZoom" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="4" ToolTip="Decrease the size of the content (Ctrl -)" Uid="Button_17" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_111"/>
    <Button x:Name="ActualSizeButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerActualSizeButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="100.0" Command="NavigationCommands.Zoom" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="5" ToolTip="100% (Ctrl+1)" Uid="Button_18" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="PageWidthButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerPageWidthButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="DocumentViewer.FitToWidthCommand" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="6" ToolTip="Page Width (Ctrl+2)" Uid="Button_19" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="WholePageButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerWholePageButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="1" Command="DocumentViewer.FitToMaxPagesAcrossCommand" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="7" ToolTip="Whole Page (Ctrl+3)" Uid="Button_20" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="TwoPagesButton" Background="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerTwoPagesButton, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="2" Command="DocumentViewer.FitToMaxPagesAcrossCommand" IsTabStop="True" Margin="2" Padding="2" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerButtonStyle, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" ToolTipService.ShowOnDisabled="True" TabIndex="8" ToolTip="Two Pages (Ctrl+4)" Uid="Button_21" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_111"/>
    <Button x:Name="closeButton" Width="20" Content="X" ToolTip="Close" HorizontalAlignment="Right" VerticalAlignment="Center" Click="closeButton_Click"/>
    </ToolBar>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>

    Hi DSP1024,
    >>I tried the horizontalAlignment property but is has no effect. If I add margin="500,0,0,0" it works
    Yes, the HorizontalAlignment property has no effect for the items inside the ToolBar control, as a workaround, we can move your "closeButton" out of ToolBar content, like this:
    <Style x:Key="myContentControlStyle" TargetType="{x:Type ContentControl}">
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type ContentControl}">
    <Grid>
    <ToolBar Focusable="{TemplateBinding Focusable}" ToolBarTray.IsLocked="True" Language="en-us" KeyboardNavigation.TabNavigation="Continue" Uid="ToolBar_2">
    <Button x:Name="PrintButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="ApplicationCommands.Print" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="0" ToolTip="Print (Ctrl+P)" Uid="Button_14" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="CopyButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="ApplicationCommands.Copy" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="1" ToolTip="Copy (Ctrl+C)" Uid="Button_15" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_110"/>
    <Button x:Name="ZoomInButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="NavigationCommands.IncreaseZoom" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="3" ToolTip="Increase the size of the content (Ctrl +)" Uid="Button_16" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="ZoomOutButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="NavigationCommands.DecreaseZoom" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="4" ToolTip="Decrease the size of the content (Ctrl -)" Uid="Button_17" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_111"/>
    <Button x:Name="ActualSizeButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="100.0" Command="NavigationCommands.Zoom" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="5" ToolTip="100% (Ctrl+1)" Uid="Button_18" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="PageWidthButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" Command="DocumentViewer.FitToWidthCommand" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="6" ToolTip="Page Width (Ctrl+2)" Uid="Button_19" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="WholePageButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="1" Command="DocumentViewer.FitToMaxPagesAcrossCommand" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="7" ToolTip="Whole Page (Ctrl+3)" Uid="Button_20" VerticalAlignment="Center" Width="24"/>
    <Button x:Name="TwoPagesButton" Background="Blue" CommandTarget="{Binding TemplatedParent, RelativeSource={RelativeSource TemplatedParent}}" CommandParameter="2" Command="DocumentViewer.FitToMaxPagesAcrossCommand" IsTabStop="True" Margin="2" Padding="2" ToolTipService.ShowOnDisabled="True" TabIndex="8" ToolTip="Two Pages (Ctrl+4)" Uid="Button_21" VerticalAlignment="Center" Width="24"/>
    <Separator Uid="Separator_111"/>
    </ToolBar>
    <Button x:Name="closeButton" Width="20" Content="X" ToolTip="Close" Margin="0,0,18,0" HorizontalAlignment="Right" VerticalAlignment="Center" />
    </Grid>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    Screenshot:
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I add custom toolbar buttons to load different TOCs?

    In my WebHelp output, I want to have custom buttons on the toolbar that when clicked load a specific TOC in the left navigation pane. For example, when the user clicks the PC button, the PC TOC loads in the left pane. When the user clicks the VM button, the VM TOC loads in the left pane. All of the help files are managed in one project and some files will appear in both TOCs.
    I think this should be possible but not sure how to make it happen. Is there some JavaScript that I should add to the custom toolbar item to load the TOC on click? How do I specify the TOC that I want to show for each button?
    BTW - I'm using RoboHelp 8 (8.0.2) to generate WebHelp output. Thanks in advance for your help!

    Hi there
    If you were to upgrade to RoboHelp 9 it would simplify your issue. Version 9 offers a new feature called Dynamic User-Centric Content (DUCC) and provides a nifty little drop-down selector in the Navigation Mini-toolbar.
    As you are on version 8 the only way I can fathom you would manage this is by generating two different outputs. Each output would use its respective TOC. The Toolbar button in each project could be configured to open the other project.
    You might first decry having to manage two outputs and all the files. But if you pick apart DUCC and the way it is configured by Adobe, it works in much the same manner. It's just hidden from your initial view.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Exception in two places of insert statment

    Hi All,
    I want to insert exception in two places in pl sql. I am getting the error.Is there a way to implement exception in two places in insert statement.
    Thanks,
    uday
    Begin
    Declare
    V_Code Number;
    V_Errm Varchar2(64);
    V_Code1 Number;
    V_Errm1 Varchar2(64);
    INSERT INTO Raise
    Select Employee_Id, Salary*1.1 From Employees
    Where Commission_Pct > .2;
    EXCEPTION
    When Others Then
    V_Code := Sqlcode;
    V_Errm := Substr(Sqlerrm, 1, 64);
    Dbms_Output.Put_Line ('Error code ' || V_Code || ': ' || V_Errm);
    Insert Into Scap_Fact_Loading_Errors Values (V_Code, V_Errm, Systimestamp);
    INSERT INTO Raise
    Select Employee_Id, Salary*1.1 From Employees
    Where Commission_Pct > .1;
    EXCEPTION
    When Others Then V_Code1 := Sqlcode;
    V_Errm1 := Substr(Sqlerrm, 1, 64);
    Dbms_Output.Put_Line ('Error code ' || V_Code1 || ': ' || V_Errm1);
    INSERT INTO Scap_Fact_Loading_Errors VALUES (v_code1, v_errm1, SYSTIMESTAMP);
    END;
    Edited by: 929521 on Jan 7, 2013 10:15 AM

    >
    I want to insert exception in two places in pl sql. I am getting the error.Is there a way to implement exception in two places in insert statement.
    >
    Sure - use two different blocks. The code you posted doesn't have any BEGIN.
    The proper structure is:
    BEGIN
    . . . put your first code here
    EXCEPTION
    . . . put your first exception handling here
    END;
    BEGIN
    . . . put your second code here
    EXCEPTION
    . . . put your second exception handling here
    END;If you need your code to quit after an exception in one of the blocks issue a RAISE in the exception handler for that block.
    Depending on what each block does and what you want to save or rollback it is also common to use SAVEPOINTs for the blocks.
    See SAVEPOINT in the SQL Language doc.
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_10001.htm
    >
    savepoint
    Specify the name of the savepoint to be created.
    Savepoint names must be distinct within a given transaction. If you create a second savepoint with the same identifier as an earlier savepoint, then the earlier savepoint is erased. After a savepoint has been created, you can either continue processing, commit your work, roll back the entire transaction, or roll back to the savepoint.
    Example
    Creating Savepoints: Example To update the salary for Banda and Greene in the sample table hr.employees, check that the total department salary does not exceed 314,000, then reenter the salary for Greene:
    UPDATE employees
    SET salary = 7000
    WHERE last_name = 'Banda';
    SAVEPOINT banda_sal;
    UPDATE employees
    SET salary = 12000
    WHERE last_name = 'Greene';
    SAVEPOINT greene_sal;
    SELECT SUM(salary) FROM employees;
    ROLLBACK TO SAVEPOINT banda_sal;
    UPDATE employees
    SET salary = 11000
    WHERE last_name = 'Greene';
    COMMIT;
    >
    For your use case you could create a SAVEPOINT before each of the blocks and then in the exception handlers issue a ROLLBACK to the appropriate SAVEPOINT before you exit the procedure.

Maybe you are looking for

  • Create Hyperlink in Footer

    I found where to create a footer and add text. But, how do you create text with a hyperlink in the footer. I don't see that option. Thank you.

  • How do I stop the addition of a tag in the file "...might be blocked to help protect computer."?

    Firefox 8.0 I used the Google search to look for pictures. When I find what I am looking for, I download them to my local hard drive. At a later time when I try to view the picture, I get a dialog that asks me if I would like to open this file (as it

  • Strange screen display

    Strange screen and system freezes overnight - new iMac 27" with Lion Twice now have found the following on screen in morning. System  also unresponsive when this happens and requires powering down and restarting. Otherwise system working fine. These

  • Identify Old pricing conditions

    Hello, Can any one help. How to identify old conditions (Non Active) which are not using from last 3 years? I executed Table KONV in background also to find active conditions but its giving dump due to memory. is there anyway to find this?

  • How do I fix a javascript error when opening Dreamweaver?

    DW CS6 recently started having 2 JavaScript errors while opening the application and at least 1 additional JavaScript error when using the Insert Image command.  Can someone provide some advice on fixing this issue?