Need of TitleWindow close button to just do its thing

Hello everyone

I have a datagrid editable in a TitleWindow with a close button active.


If I hit the close button of a function, it does not allow me to change the DataGrid (and performs its function). How can I have the close button just do his thing (but which allows me to change my gata grid in the window? It acts as if I try to change the datagrid control. Its drivig me a little crazy. So I'll take a few asprins and hope some wise soul to help me

This is the code example:

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"> "
< mx:Script >
<! [CDATA]

Import mx.collections.ArrayCollection;
Import mx.events.DataGridEvent;

[Bindable]
private var jan: Number = 200;
private var feb:Number = 123;
private var mar: Number = 67;
private var apr:Number = 108;
private var may: Number = 126;
private var jun:Number = 199;
private var jul:Number = 199;
private var aug:Number = 199;
private var MS: Number = 199;
private var oct:Number = 199;
private var nov:Number = 199;
private var dec:Number = 199;
private var dataset:ArrayCollection = new ArrayCollection ([] collection
{Month: "January", data: jan},.
{Month: "February", data: feb},.
{Month: "March", data: mar}.
{Month: "April", data: Apr},.
{Month: "May", data: can},.
{Month: "June", data: jun},.
{Month: "July", data: jul},.
{Month: "Auguste", data: aug},.
{Month: "September", data: MS},.
{Month: "October", data: oct}.
{Month: "November", data: nov},.
([{Month: "December", data: dec}]) ;
[]] >
< / mx:Script >

< mx:ViewStack id = "viewstack1" width = "464.46967" height = "408.18182" = red "-12" horizontalCenter = "0" >
< mx:Canvas id = "Data" width = "100%" height = "100%" >
< mx:TitleWindow id = "DataUn" width = "450" height = "350" layout = "absolute" title = "Data" horizontalCenter = "0" showCloseButton "-10" = red = "true" >
< mx:DataGrid = "11" x = "10" width = "405.98486" height = "290" dataProvider = "{dataset}" editable = "true" >
< mx:columns >
< mx:DataGridColumn width = "200" headerText = "Month" dataField = "Month" editable = "false" sortable = "false" / >
< mx:DataGridColumn headerText = "Data" dataField = "Data" editable = "true" sortable = "false" / >
< / mx:columns >
< / mx:DataGrid >
< / mx:TitleWindow >
< mx:Button x = '7' y = "386" label = "Graph" click = "viewstack1.selectedChild = Graph; "/ >
< / mx:Canvas >
< mx:Canvas id = "Graph" width = "100%" height = "100%" >
< mx:TitleWindow id = "Graphed" width = "450" height = "350" 'absolute' page = set title = "Graph" horizontalCenter = "0" showCloseButton = red '-10 "="true"click =" viewstack1.selectedChild = Data; ' >
< mx:ColumnChart = "8" x = "8" id = "columnchart1" width = "412.12122" height = "290" dataProvider = "{dataset}" >

< mx:horizontalAxis >
< mx:CategoryAxis categoryField = "Month" / >
< / mx:horizontalAxis >
< mx:series >
< mx:ColumnSeries displayName = 'Series 1' xField = "Month" yField = "Data" / >
< / mx:series >
< / mx:ColumnChart >
< / mx:TitleWindow >
< / mx:Canvas >
< / mx:ViewStack >
< / mx:Application >

It is still not very clear what you want to do here.  Hear you want to be able to click on the close button (X) when you change a field in the DataGrid, but the field remains in edit mode?  I ran your example (less of trace components, I don't have at home, snowy out of the Flex Pro and work at the moment) and it seems to behave as "I think", but maybe I don't understand what your goal is.

Also - if you use the close (X) button for what anyone other that close a dialog box... I would not recommend doing so in a user interface design perspective.  Users will expect a "Close" button to behave as it does in other applications, to close the Panel/dialog/window (not the change of the display in a dialog box).  If you intend to use it to get out a secondary view I reconsidérerais.  You can try a TabNavigator (lazy human ViewStack but very effective if it fits your application) instead of a ViewStack.

Tags: Flex

Similar Questions

  • Need help on the button for the click count thing!

    Right now I have a button that whenever I click on it, it adds 30 seconds to a countdown.  I also want the button followed by clicks so that whenever you click on it it ajoute.01 to a total which starts at 0.   That's what I got from the code so far...

    bidbutton.addEventListener (MouseEvent.CLICK, addTim e);

    function addTime (e:MouseEvent): void {}
    TOTAL_TIME += 30;
    }

    Any help would be appreciated!

    It could be as simple as what is below according to your design...

    clicks: the number of var = 0;

    bidbutton.addEventListener (MouseEvent.CLICK, addTim e);

    function addTime (e:MouseEvent): void {}
    TOTAL_TIME += 30;

    Click on + = 0.01;
    }

  • I need to remove "minimize, maximize, close" buttons on the mode full screen

    I can remove all the buttons (like refresh, back, forward, address bar, etc.), but the small right 3 "minimize, maximize, close" buttons I can't delete, how can I do it with userChrome.css or another option.
    Because I can close firefox out of the full screen and clicking on the menu of archive with the ' Alt ' key.
    I don't want this small 3 buttons, I can hide and show permanent.

    I hope to explain correctly
    Thank you very much

    Add code to userChrome.css below default @namespace.

    ---

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #autohide-context { display:none!important; } /* hide context menuitem "Exit Full Screen Mode" */
    #window-controls  { display:none!important; } /* hide window controls in full screen mode */
    
  • Need to customize the button close in edit mode

    Dear Experts,

    I have a requirement where I've implemented separate close button to return to the normal mode of editing (ctrl + shift + E). So I just have to remove the button closure that comes by default for pageCustomizable. Is it possible to customize this button?

    Jdev:11.1.1.6

    Thank you

    Mounira

    Hello.

    Extending the capabilities using Oracle composer edition

    Using the property toolbarLayout of pe: pageCustomizable you can choose which parts of the composer to display.

    Remove property of the list 'button' Remove button (if active sandbox) save and close button.

    I don't know if it's to help you, but you can add the button Save Sandbox for yourself if necessary.

    Kind regards.

  • Problem with a 'child window close button '.

    I made this newsletter for years and in the model of this newsletter, I use a dreamweaver extension "button of the close child window."  I usually just bring up the last months newsletter rename for the coming months and swap out the content and save, publish it on the site.

    This month, for some odd reason the 'Close' buttons do not work.  These same buttons still work during the last months and every other bulletin of the previous months.  There is nothing different in the code that I can see.  I went back to the model and re-inserted the buttons "Close" and re - apply the model with the same result.  Last month the bulletin buttons work well, this month buttons do not work well.  Can someone please tell me what I can do to fi this.

    Here is the URL of the page with the links to the two versions of HTML newsletters.  You will need to click the HTML link in the first two entries for this month and then last month newsletter.  Two close buttons appear on these pages at the top right and in the Middle at the bottom of the page.

    http://www.fulcrumcwi.com/archive_newsletters.html

    This months version HTML: http://www.fulcrumcwi.com/newsletters_html/2011_12.html

    HTML version of the last month: http://www.fulcrumcwi.com/newsletters_html/2011_11.html

    Thank you!!

    Nina

    "I just spoke to a colleague of mine and he told me that the reason for which this page close button does not work and the other is from the page of archive where you select to open the newsletter of this month, I forgot to specify the 'target' in white.  When I made it and uploaded the page to archive and open the December letter, the close button worked!

    It's always something small that all mess up!  Thanks again for your help and I will try the fix that you sent on future pages.

  • I would like to hide or disable the close button (or to act as to minimize)

    I want to make it harder for the closing of Firefox. I'm used to hitting Close when I finish what I'm doing. But I recently started to let Firefox to save passwords. Every time I start Firefox it ask the master password. I would avoid this problem by letting remain open but hidden. Old habits life hard, and I doubt if I'll learn not to hit families rather than minimize. It would also be useful if the X to close a tab does not appear when there is that one tab open, like hitting is another way to close Firefox by accident.

    I came across an add-in for Outlook that makes the close button minimize instead of closing. (Keepoutlookrunning). I wonder if it could be adapted to work as well for Firefox.

    As a secondary issue, when I start Firefox master password request does not come to the top immediately. Thus, forgetting that the application appears, start typing in the address bar or search. Arises from the request, and what I'm typing goes in his field of password to the place where I was typing. I think would br better if demand did not move to focus on herself.

    Firefox will ask you the password the first time, he needs to access the password manager (form on the web page; Sync).

    Try:

  • If I open show history, I can't close it. There are two gray arrows that do not work but no close button. With the help of el capitan for mac.

    I can't show all close the page of history. I used to be able to before the upgrade to el capitan. Now, there is no close button on the history page. It doesn't go away until I got close FF.

    Feel free to undo changes. You may need to quit Firefox first to release the files currently in use.

    In addition, you should be able to close the dialog box library using Cmd + w (close tab) or Cmd + Shift + w (close window). Or does any of these work for you?

  • Minimize, maxamise and close buttons disappear on firefox after you open the laptop.

    When I'm at school I run firefox in a single class. A lot of times I must leave firefox running on my laptop and go to another class and start from there when I left. As soon as my laptop him minimize, maximize and close buttons and sometimes other buttons completely dissipear. I am running windows 8.1 completely up to date, and my firefox is updated to the latest version. I also tried to turn off 'use of hardware acceleration when available' as a parameter, and yet none of this has contributed to the problem.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can try to disable hardware acceleration in Firefox.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    You will need to close and restart Firefox after enabling/disabling this setting.

    You can check if there is an update for your graphics display driver.

  • Lost minimize, maximize and close buttons after update to 8.1 windows

    Today, after updating my windows 8.1 PC, I noticed him minimize, maximize and close buttons disappeared from my browser. It is an empty box of blue in the upper right now, with no functionality. How can I get my back buttons?

    Hello
    Thank you for your suggestions.
    Fortunately, just after I started this thread the problem magically itself. The problem could be the style - add on. I've changed the style several times to try to resolve this problem, because I noticed that my custom style disappeared as well, and after that the icons reappear.
    Problem solved!

  • Computer to close after pressing the close button in windows

    I had a problem for my computer to shut down after pressing the close button in windows. Windows starts to make the closing process as its suppose there just like the computer is supposed to to close it restarts. Its like I pressed the button instead of the button closure. Please tell me how to solve this problem, so I do not have the power button to get off the computer.

    What has not worked? What happened when you tried?

    Another suggestion, take a look in the system logs and errors and warnings and post here Event Viewer Application copies. Do not post on that more than 48 hours ago.

    You can access event viewer by selecting Start, Control Panel, administrative tools, and Event Viewer. When searching for the meaning of the error, information about the event ID, Source and Description are important.

    A tip for posting copies of error reports! Run Event Viewer and double-click the error you want to copy. You will see a button resembling two pages. Click on the button and close Event Viewer. This places a copy of the report to your Clipboard. Paste it into the body of your message. Make sure that it is the first dough right out of the event viewer.

    Hope this helps, Gerry Cornell

  • Minimize/maximize/close buttons does not...

    Minimize/maximize/close buttons do not work when you run Aero.  Whenever I change my Aero, reduce it and expand buttons work but the close button still does not work.  This happens with all the windows and I'll have to use the Task Manager to close the windows and I have to close the task with the exit button Manager because the close button does not work on either.

    Hello

    Thank you for using the Microsoft Windows Vista Forums.

    I will need some additional information to help you best.

    O if it works well before?

    Ø summers - get you any error message?

    O have changes made to your computer recently?

    In the meantime, follow the instructions below that may help you resolve the issue.

    Method 1:

    To perform the clean boot procedure, follow the instructions in the link below.

    Step 1: Perform a clean boot

    Step 2: Enable half the services

    Step 3: Determine whether the problem returns

    Step 4: Enable half of the startup items
    Step 5: Determine whether the problem returns

    Step 6: Resolve the problem

    Step 7: Reset the computer to start as usual

    How to troubleshoot a problem by performing a clean boot in Windows Vista

    http://support.Microsoft.com/kb/929135

    After checking the problem, turn the computer back to the Normal mode.

    Uninstall or update the program that is causing the problem.

    Method 2:

    Windows Live OneCare safety scanner is a free service designed to help ensure the health of your PC.

    • Check and remove viruses
    • Get rid of junk on your hard disk
    • Improve the performance of your PC

    Click on the link below for Online Virus scanner.

    http://safety.live.com/

    Check whether the problem is resolved.

    Method 3:

    Analysis of auditor of file system (CFS) that might help you resolve the issue.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.

    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, the following line, and then press ENTER:

    sfc/scannow

    When the analysis is complete, test to see if the problem you are experiencing is resolved. If the problem you are experiencing is not resolved, use the procedure that is described in the section "the System Restore tool.

    Follow the instructions in the link below for more information on scan SFC.

    http://support.Microsoft.com/kb/936212/

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • Close button in an interpolation that takes back you to the main timeline

    I have a HTML5 canvas document that has 5 separate click to open the motion tweens.  Within each tween, I have a "close" button that I want to return at the beginning of the main timeline.  Right now he's just at the beginning of the timeline to tween movement in an infinite loop.  How can I get to go back to the main scenario for each of the interpolations of?  (For reference, I am a beginner with Animate and JS code and have not been able to find this answer in my many searches on the web).

    you want that code in the main timeline to lead the scenario primary back to its first image and stop, or you want to code on the timeline of a movieclip lead the main timeline at its first image and stop or something else?

    If you want the code on the timeline of a movieclip to lead the main timeline, use:

    this.parent.gotoAndStop (0);  assuming that the parent of the movieclip is the main timeline.

  • I need help my wifi button won't turn on or turns blue showing that its on... which is wrong?

    I need help my wifi button won't turn on or turns blue showing that its on... And when I try to download a driver for him a box just telling me it can't find the file manager. So I tried to download another, but the site become white after I press the download button.

    its may be driving problem. Contact me {deleted personal information}. I can fix it 4 u

  • Help with modal Skillbuilders Page close button

    Hello

    I try to use Skillbuilders modal Page (which is an awesome plugin) to bring up a page apex to attach files. This part works fine. but when the user clicks Close button or icon X modal dialog that I want to return a value or change the text to a link on the parent window. I've read other discussions, but I'm not able to find a way to capture that close event and perform the dynamic action on the parent page before closing the window. Could someone through some light on this?

    Thanks in advance
    PG

    Create a dynamic action:

    Event: Manual close [SkillBuilders Page modal (2.0.0)]
    Selection type: DOM object
    DOM object: document
    Condition: - none -.
    Scope of the event: link

    With real action:

    Identification
    Action: Run the JavaScript Code
    Execution options
    Fire when the Page loads: not verified
    Code:

    if(this.data.modalPageCloseValue!=""){
    $(this.affectedElements[0]).val(this.data.modalPageCloseValue);
    };
    

    Items affected
    Selection type: item (s)
    Article (s): (select an item. My example js manages only 1 point).

    this.data.modalPageCloseValue is the returned value/object by providing the action close modal javascript/a value object.
    For example, to create a dynamic action on your modal page

    Event: Page load
    Condition: - none -.
    Scope of the event: link

    With real action:

    Identification
    Action: Run the JavaScript Code
    Execution options
    Fire when the Page loads: not verified
    Code:

    $(".modalclose_link").click(function(){
    parent.$(parent.document).apex_modal_page('close', "this here is a literal string that will be returned. You can provide a value or object here however.");
    });
    

    Items affected
    (none)

    Note here that '.modalclose_link' is a jquery selector, you will have to customize. However, it is just an example. You could take the actual function code and use it to tell a dynamic action of a button.

    If you want to see this 'work', you can modify the JavaScript "Manual Close" and change for it to have the alert back:

    if(this.data.modalPageCloseValue!=""){
    alert(this.data.modalPageCloseValue);
    };
    

    Hope that helps :)

  • OPA-Siebel 8.1 / / OWD-'Close' button and go back to Siebel

    Hello

    We have implemented Siebel and OPA with the 10.3 connector
    Currently, OPA is called mode OWD of Siebel, the popup is opened successfully at the main screen that contains my stream to reach the screens of questions.
    My question is simple:
    How can I customize the 'Close' button in the toolbar to close the pop-up window and return to the Siebel. Now, I only save button to send data to Siebel and killing Internet Explorer from popup.
    Now, the session "closed" reached the 1st screen containing the flow.)

    Thank you if you have any suggestions.

    When the determinations Web runs like a Popup, it is in a new Internet Explorer window. To close the window, you will need to implement some Javascript to close the window.

    It's not quite as simple as it sounds, you need to think whether the latest information was saved to Siebel and if it should be.

    You will need to seek to change speed models. See the Templates Velocity Developer's Guide in the Oracle policy Automation Developer Help

    The best way to proceed would be to do this is to attach the javascript for the onClick event handler in the end Session button (the confirmation page after they click close). Change the ButtomControl.vm (WEB-INF/classes/templates/controls/ButtomControl.vm) and conditionally change the 'OnClick' if the {control.getText ()} is equal to the "End Session".

Maybe you are looking for

  • How to remove the list of IDS online that appear when you connect

    I have several people on my computer. Whenever I start my id, a list of all the IDS that were used is displayed. I want to remove this list and actually prevent such a list to stay,

  • Two accounts of users, unable to synchronize their iTunes content

    So basically, I have a macbook air, but two accounts of users about it. As an iTunes and share the same iTunes account. However, since moving to my new user account, none of my music appears to download here, although I downloaded it on my other acco

  • Update ios 9.1 to 9.2.1

    I have a new ipad and ios is 9.1 the backup I have is 9.2.1.  I'm stuck at select a backup from the current ios is old. How to cross this ios update screen

  • Initial configuration of the Satellite L350-170 hangs on step 3

    Dear all I wonder if anyone can help. I took a laptop Toshiba Satellite L350-170 on Thursday received last week, left turning the battery for 24 hours before using (oh patience!)-he walks from Friday afternoon at around 15:00 and step 1 and step 2 of

  • Storage of liquid E3 problem!

    Hi all I had an E3 liquid about two weeks and I bought a Micro SD 16 GB Integral card brand for her yesterday. For some reason, I can't install all the other apps on my phone because of "insufficient storage" on my device. I like 14.5 GB free accordi