Skinning the "browseForOpen" dialog

Skinning is really simple and straight forward in Flex.
However, is it possible to skin the browseForOpen dialog?
If so, please provide a simple example.
Best regards, Stefan

Here's some basic ActionScript code:
if (NativeWindow.supportsMenu) {
var root:NativeMenu = new NativeMenu();
stage.nativeWindow.menu = root;
var helpMenu:NativeMenu = new NativeMenu();
var aboutCommand:NativeMenuItem = new
NativeMenuItem("About");
aboutCommand.addEventListener(Event.SELECT, aboutSelected);
helpMenu.addItem(aboutCommand);
root.addSubmenu(helpMenu, "Help");
function aboutSelected(event:Event):void {
var windowInitOptions:NativeWindowInitOptions = new
NativeWindowInitOptions();
var aboutHTML:HTMLLoader =
HTMLLoader.createRootWindow(false);
aboutHTML.loadString("<h1>My Application
Name</h1><p>(c)2009 My Company, Inc</p>");
var aboutWindow:NativeWindow = aboutHTML.stage.nativeWindow
as NativeWindow;
aboutWindow.bounds = new Rectangle(200, 200, 400, 200);
aboutWindow.visible = true;

Similar Messages

  • Can't print and only displays the Fax Dialog when trying to print

    HP Office Jet 4500 All in one
    When we setup our new printer it worked fine until now when I try and print any Word, Web, or Picture the Fax Dialog comes up instead to send a fax. I don't recall changing any settings. How can I resolve this?
    There are 2 printer types showing in Printers and Devices. I have tried changing the deault printer, but nothing seems to work.
    HP Office Jetg510g-m &
    HP Office Jetg510g-m fax

    Remember, this is an Apple user to user help site, so few us may be experts with HP printers. OSX automatically installs the right printer software, you really don't have to go to HP to do that. In fact, I trust Apple to get it right more than HP.
    That being said, the very first thing you need to do is to make absolutely certain that the printer is linked into your WiFi network. Again, we're not HP experts here, so you'll have to do that one yourself, by reading the instructions. Once your printer is connected to the network, then go to your iMac's System Preferences>Print&Scan. On the left hand side is a +. Click on that, and it should find your printer, if it your iMac and your HP printer are on the same exact WiFi network.

  • MS Word: This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box.

    This is not a question. I believe I've found a new issue and the fix for it.
    The situation:
    A brand new iMac 27" running Yosemite 10.10.1
    MacMini server running 10.8.5 server.
    The issue:
    Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
    The issue is unique to this computer in an office of 10 client computers and three servers.
    Attempted fixes:
    Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
    Repaired permissions on the client and the network share.
    Definitive fix:
    By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
    I hope this helps someone else.
    Rob

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

  • Printing a report and using the print dialog for it

    i already have the print dialog vi from NI. I am using the normal report generation toolkit for printing reports. But I want to give the user an option to choose the number of pages and landscape/portrait options. But how do I integrate the 2 so that before printing the user can select these features.

    There is an activeX control that will set these settings. It is called IAS Helper COM Component 1.0 Type Library. It operates the Windows printer configuration program. Since another company wrote the code, I do not have the resources to help you use the control, but the attached example program should get you started.
    Jeremy Braden
    National Instruments
    Attachments:
    Print_Window_Example_v61.llb ‏59 KB
    Print_Window_Example.llb ‏59 KB

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Show the print dialog when running a report from an Oracle form.

    I would like to be able to print an Oracle report from an Oracle form but
    in addition show the print dialog. My PL/SQL code is shown at the bottom of this post.
    I have set the 'printjob' system parameter to 'YES' in the
    report and I can bring up a print dialog using the reports runtime.
    However, as soon as I run it from my form I lose this capability. Setting
    'printjob' to 'YES' in the code has no apparent effect.
    Many thanks,
    Ben
    -- Launch a report
    DECLARE
      v_pl_Id   paramlist; -- parameter list
    BEGIN
      -- add the parameters to the list.
      v_pl_id := CREATE_PARAMETER_LIST ('summary');
      ADD_PARAMETER (v_pl_id, 'destype', text_parameter, 'PRINTER');
      ADD_PARAMETER (v_pl_id, 'printjob', text_parameter, 'YES');
      -- run the report
      RUN_PRODUCT (
        reports
      , 'C:\Test Reports\Test.rep'
      , synchronous
      , runtime
      , filesystem
      , v_pl_id
      , NULL
    END;

    At 10g not 9i using a bean area on my canvas implementing the following class ...
    import java.awt.Frame;
    import java.awt.JobAttributes;
    import java.awt.PrintJob;
    import java.awt.Toolkit;
    import javax.swing.JPanel;
    import java.io.*;
    import oracle.forms.ui.VBean;
    public class Select_Printer extends VBean {
    public Select_Printer()
         super();
    public String getPrinterName()
    String PrinterName=null;
              JobAttributes jobAttributes;
              try{
                   jobAttributes = new JobAttributes();
                   jobAttributes.setDialog(JobAttributes.DialogType.NATIVE);
                   Frame dummyFrame = new Frame();
                   PrintJob pJobDialog = Toolkit.getDefaultToolkit().getPrintJob(
                   dummyFrame, "Printtest", jobAttributes, null);
                   PrinterName = jobAttributes.getPrinter();
              } catch (Exception e) {
                   System.out.println("Printer error!");
              return PrinterName;
    public static void main(String[] args)
    Select_Printer select_Printer = new Select_Printer();
    System.out.println(select_Printer.getPrinterName() );
    }

  • How to modify the "To Print" Steps in the Print the Report Dialog box

    From the Crystal Reports Viewer Toolbar, when selecting the Print option,
    a 'Print the Report' Dialog box opens. Is it possible to modify the 'To Print' steps?
    We tried modifying  (commenting-out the To Print steps) in strings_en.js and export.js, but
    when running, the changes do not show up.
    We are using Crystal Reports for Visual Studio 2008, Crystal Reports Viewer Version=10.5.3700.0
    Thank you.

    A warning 1st. Modifying the export.js file is not supported and may lead to all kinds of issues. Also, as soon as somebody else installs an app on that machine, the js files will get overwritten and thus removing your changes.
    Second, I do not think the print dialog is defined in a JS file. In CR 10 I think we built our own print dialog and there is no control over it (e.g.; no exposed APIs).
    I think your best bet will be to create a printer dialog as per your requirements and  launch it from your our own print button.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Is there a way to create a link label on the export dialog

    Hello,
    Is there a way to create a link label on the export dialog?
    For example : Click here for more info
    I would like to have the "here" as a link label to open a html page
    Thanks

    Take a look at this post ("LrView: static_text like web links?"):
    http://forums.adobe.com/thread/359789?tstart=60
    The method described there works for me!
    -Don

  • How to type selected pages in the Print dialog box

    Hello,
    I am using ID5 with Windows 7.
    I need to provide sample pages on my web site of a book I wrote.
    I pressed Ctrl-E, named the file, chose Adobe .pdf (Print), and then typed in all the pages:
    Sec.1:1, ii-vii, Sec2:1, Sec2:20-23, Sec2:51, Sec2:72, Sec2:92, Sec2:100, Sec2:102, Sec2:116, Sec2:121, Sec2:150-156
    These are an EXACT match to what's in the Pages panel, yet ID will not make the .pdf!  I have tried typing the pages both with and without spaces in between, but am getting nowhere.
    NOTE: The first entry correctly includes a period, unlike any of the other entries.  The second entry correctly omits a section number, and the last page is indeed 156.
    Can anyone see what I've done wrong?
    I noticed today that site visitors are looking for this .pdf, which wasn't stored in my Media area as I thought, so I've got to get this done pronto because I'm losing sales!
    Thank you!

    You can also set your General Preferences' Page Numbering View to Absolute and then you can enter absolute page numbers in the export dialog, which might be easier with complicated sections and prefixes.
    The sections and prefixes are still there but for exporting and printing the pages become:

  • How do I force the print dialog to default to Print All?

    Hi all,
    I've searched the forums for this and found several similar requests but no answers so I am posting this as a fresh post.
    I have a requirement to have the print dialog appear when printing from javascript and have it always default to Print All.  From my research, it appears that there are only two API methods to do this:
    1) Print()
    2) PrintWithDialog()
    Neither take paramters.  Both have the same description in the documentation (which seems odd in of itself).
    From our research, PrintWithDialog() appears immediately when called (even if the PDF is not yet fully loaded) but always defaults to, "Print 1 of x" unless the PDF is only 1 page.  In that case, it defaults to Print All.
    The Print() method defaults to Print All.  However, if you call it before the PDF is fully loaded, it does not show.  I have searched these forums and found many other people running into this issue.  One thread suggested to put in a timer to make sure the PDF is loaded and then call print.  This works for small PDFs but our customers could be printing thousands of pages so there is no way to know how long to make the delay.
    I tried paying for Support to answer this question and was told there were NO PAID OPTIONS for getting support on the Acrobat SDK and to come post the question here.  The Support Engineer I spoke with assured me developers read and respond to these forums.
    This is a critical issue for an important customer so any feedback is much appreciated.
    An Adobe employee (Irosenth) mentioned something about a bug being reopened in this thread (http://forums.adobe.com/message/2601148#2601148) but no bug number was ever given.  If it truly is a bug, please provide the number, description and ETA for fix.
    If there is no solution, can I get a response from Adobe that supports my research as posted above?  In other words, confirm that both the API are working as expected?
    Finally, given that it seems many people want this functionality, how do I submit an enhancement request?
    Best Regards,
    Brian

    I downloaded Reader X and the problem is still occurrring, as was reported by the originator of this thread back in November.
    Are there any parameters that need to be set for this to work?  My customer is getting very impatient with this.
    Also, since downloading Reader X the toolbar does not appear by default. It pops up when you hover over the top of the window.   How do I get the toolbar to appear by default?  (this is not nearly as important as defaulting the print dialog to Print All on mulitple page docs when using printwithdialog).

  • Feature request: make the "transform" dialogs non-modal

    Currently, the transformation dialogs accessible at Object>Transform are modal. I'm talking about "Move…", "Rotate…", "Reflect…", and so forth. These dialogs, when open, lock the user out of any interaction with the artboard other than the "preview" button, until the dialog is closed.
    Even more problematically, they lock the scroll and zoom factor of the current user view, so that there's no way to inspect how a precise numeric adjustment affects a part of the layout outside the current window (or within the current window but very small inside it) without committing the change, inspecting it, and then later undoing if necessary. This creates cycles of tedious user adjustments (especially on small monitors) that really should be possible in one user step, by toggling the preview button on and off, and zooming/scrolling.
    This is contrary to most modern UI design principles, which suggest avoiding modes unless they are truly and meaningfully necessary. I don't think this is one of those cases. Photoshop made dialogs for adjustment layers non-modal with CS4, and while there are issues with the newer interface (see John Nack's Configurator workaround), I think it's a win overall. Illustrator needs to catch up in this regard. I realize there is some pretty serious refactoring involved to do this, but it has to be do-able.
    In the words of Larry Tesler's immortal Subaru license plate: "NO MODES"!

    ...make the "transform" dialogs non-modal...
    What, and bring Illustrator out of the 1980s?! Are you mad, man?
    Just so you know you're not alone; I've been complaining about AI's archaic dependency upon modal dialogs for many years.
    ...I'm fully aware of the Transform panel...observing that there's another way to do it...doesn't really address any of my points here...
    But it's not "another way to do it," because the functionality is not the same. The modal dialogs include crucial functionality that cannot be done in the Transform palette. For example, moving something in terms of distance and direction (diagonally), instead of merely by lame X and Y factors. Or transforming about an off-object center of transformation, rather than merely by the 9-point proxy.
    ...the "preview" isn't updated on keyboard entry, and the "preview" checkbox need to be manually toggled on and off...
    But the preview does refresh (and does not have to be toggled) in response to keyboard entry if that keyboard entry is by the arrow keys. For example: Select something, doubleClick the Scale tool, click your cursor in the Uniform value field, and tap the up/down arrow keys (or press and hold them). The value will increment and the preview will update with each key tap. (Be sure to teach that to your students.)
    That does not, of course, negate the complaint, but it does ameleorate it somewhat. The increments are preset; there are no preference settings for them. (Don't even get me started on preferences that should be doc-specific settings, and vice-versa).
    Nor does the valid point that problematic dialogs abound beyond just those associated with the transform tools, but I do agree with it. For just one of many examples, it's nothing short of idiotic that the Scale fields of Transform Each do not have a uniform scaling lock, and that only percentage fields are provided and no explicit dimension fields. Illustrator is quite saturated with such inconsistencies and half-baked implementations.
    But...you're often arguing with the emotionally attached Illustrator devoted here. So I wouldn't recommend holding your breath. It would probably be more effective teaching Illustrator's shortcomings to your beginning students. Probably one of the easiest ways to explain the problem of modal dialogs is to point out that you can't change the current selection with the dialog open.
    JET

  • Current View option in  the Print dialog box

    I have a PDF file, approximately 55 pages that is comrpised of 50+ .jpg images that were combined into a single PDF file. The images are various size screenshots from Facebook.
    I need to be able to print the entire file at 75% magnification in order for every page to be readable.  Only way in Adobe’s print dialog box that I can find to do so is select one page at a time, select “Current View” and then print. 
    When "All" is selected under Print Range in the Print Dialog box, the pages print at different magnifications, most below 10% and unreadable.
    Is there a way to get the entire document to print in the “Current View” setting or at a specified magnification?
    I’m using Adobe Acrobat 9 Pro.
    Any help would be greatly appreciated.
    Thanks

    duh...
    Figured out I had to tweak it in the "copies and Pages"

  • I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Can't see printer name in the print dialog box as the printer name is too long

    This is actually causing siginificant pain as I am using a tablet and moving around a number of floors/buildings needing to be able to print from where I am.
    When printing from Acrobat reader, the print dialog box that comes up does not have a horizontal scroll bar and does not fit in the names of the printers in my organisation. We are unable to change the printer name, so it basically means that when using Acrobat, we can't select a printer.
    All other windows applications show more characters and also have a horizontal scroll bar in the print dialog box so you can scroll across to see the rest of a long printer name. Why is acrobat not using the standard windows print dialog?
    Has anyone come across this? Help!

    This is the Acrobat forum, not the Reader forum. In the future you should check there. I am not sure why you can not change the printer name, unless you do not have administrator rights. The name of the printer has nothing to do with where the print copy is sent. It is just for the purpose you mentioned of identifying the printer to print to. If you are not the administrator, ask your IT folks to change the name for you and explain why.

  • How do I get rid of the characters dialog box?

    Concise problem statement: Clicking "Special Characters..." in the Edit menu does nothing at the time of click, but now the "Characters" dialog, with nothing in it, will not go away!
    Steps to reproduce problem:
    1.Open Adobe Reader
    2.Click "Edit"
    3.Click "Special Characters..."
    Results: Nothing at the time, but every time I click in any other application, and even in Reader, the "Characters" dialog pops up briefly, with no close button and nothing in it but a title, and disappears again. Then I have to wait a second for my cursor to appear in the application I was trying to access. If I click away from this text box, it will come up.  If I click back in the text box, it will come up and I have to wait for the cursor before I can start typing.  I have closed Adobe Reader, but the dialog still pops up.  Shut down and restarted, but it still shows up. Uninstalled Reader and restarted, reinstalled Reader and restarted, opened and closed Reader and restarted, even tried to click to same menu item in the hopes that something I could DEAL with would open, and restarted AGAIN.  Still the dialog pops up even when I have just restarted and haven't opened Reader.  Reader is not in my "Start Up" apps.
    I cannot use my computer with this dialog interrupting every action!

    What is your operating system?  Reader version?
    I cannot see any "Special Characters..." option in my Reader version (11.0.6) on Windows:

Maybe you are looking for

  • My ipod touch 5 is not working. I bought it about 9 months ago, is there anyway i can exchange it for a new one?

    I bought my ipod touch 5 about 9 months ago it is no longer working right there are vertical colored stripes on half the screen and it automatically is clicking things that i didn't want opened. Does anyone know if i can exchange my ipod for a new on

  • ITunes 11.1.3 constantly crashing on Macbook

    I'm having major challenges with iTunes 11.1.3 on my Macbook with OS X 10.6.8 iTunes will constantly crash on startup. However, if I turn wifi or Airport off then I can at least play some music. I've followed the advice in posts with similarly report

  • Goods Receipt indicator  in PO ( SRM 7.0 )

    Hi Experts, Where is going Goods Receipt indicator (Goods Receipt / Confirmation of Performance of Service) in PO item from? from Vendor master-data or it depends on the Account Assignment Category? Thank you.

  • Error occured while installing urm on content server

    we are trying to install urm version '10.1.3.5.0 (Build 07_06_2009)' on content server '10.1.3.3.3 (080807)' error occurs with the server output log: helperservice: service exception in INDEXERSTATE.INITIALIZE_SUB[11] -32 loadFieldInfoFromMetadata -3

  • JSF 1.2 Session Timeout Issue

    I am using using: JSF- Sun RI (1.2) Websphere (6.1) Facelets (1.?) RichFaces (3.3.2) I am having an issue with session timeouts that shows up in two different ways: Scenario 1) the client makes an ajax call after the session has timed out Scenario 2)