ViewStack problem: automatically change the index

Hello

I have a weird problem with a viewstack. The viewstack is used as a container to load modules. Navigation is done by a Tabbar on the bottom. It is very similar to a Windows-style taskbar at the bottom and the modules are loaded in the viewstack of applications. Although there is an application inside the viewstack that everything works correctly. The problem arises when there are 2 or more loaded applications. Once you hover over a component interactive user (as a DataGroup, tree, etc.) in one of the first viewstacks it automatically changes the selectedIndex property of the viewstack until the last point.

Unfortunately the project is large enough and will not be published yet, is not possible to view an example. (Well, I didn t try to re-create the problem in a smaller example either.)

After searching for a while, I decided to put the problem here. I'd appreciate any help.

Is there a way to remove a viewstack and no valueCommit event allow only initiated by the user change events? Only a wild guess for a possible solution.

Thanks in advance

Here's an idea which is to extend ViewStack:

private var _myValue:int = - 1;

public void workaroundSetSelectedIndex(value:int)

{

_myValue = value;

this.selectedIndex = _myValue;

}

override public function set selectedIndex(value:int):void

{

If (value == _myValue)

{

super.selectedIndex = value;

}

}

Tags: Flex

Similar Questions

  • How to stop automatically rebuild the index

    How to stop windows from automatically rebuild the index; I am running vista sp2?  it restarts just as soon as he completed which makes my ability to get something useless

    Hi deblee99,

    -How long have you had this problem?

    -What software changes you did on the computer before the show?

    Follow these steps:

    Method 1:

     

    Follow these steps:

    Step 1:

    Create a new user account and see if the problem persists.

    Step 2:

    If the problem does not persist in the new user account, it could indicate that your old user account is corrupted.

    Follow the steps in the following article to repair the damaged user profile:

    Difficulty of a corrupted user profile

    Method 2: Perform an auditor of file system (CFS) scan in safe mode

     

    SFC tool scans system files and replaces incorrect versions of system files by using the correct versions.

    For instructions, see How to use the tool File Checker system to troubleshoot missing or corrupted system files on Windows Vista or Windows 7 .

  • problem with changing the order of tab on tab control

    Hello

    I am aware that the same question has been asked over three years - but I can't yet find the problem in what I'm doing...

    Description: I have two controls tab, A tab with three tab and tab B with two controls on a Panel. For the following discussion, tab B is of no interest. Each tab control has several numerical indicators, of type integer and double. Now, I want to add a fourth tab control to A tab. This method works.

    Following and problematic stage, in the Publisher of the IUR I select the new tab (most right) and move two positions to the left. It's still ok until I try to display a numeric value of order of tab 3 (the new tab control is left to it). I get an error in calls to SetCtrlAttribute, complain about an invalid control ID... However, I didn't touch any control over the tabs, or add a new control. In addition, I did not touch the generated include file... Visual inspection did not show any changes in the include file (the new tab control is listed only when certain controls are added)

    Posting numbers on the first/far left tab control work only on 3 and 4 which are suitable for the new (and still empty) new tab will generate this error. Adding a control to the new label does not change the bahavior.

    Help is appreciated!

    Wolfgang

    Wolfgang,

    When you get the handle for your tab using GetPanelHandleFromTabPage:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 0, & TabHandle);

    the third parameter is an index for the specific tab you want to address.  If you change the order of the tabs, you can change the index, too.  For example, assume that you have a digital control on the third tab from left to right.  You want to assign some value, so this, you:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    SetCtrlVal (TabHandle, TAB_numMyNumeric, 1);

    Now, you add a new tab to the left of the tab with the digital contorl.  The new tab is now index 2 and the original tab is index 3.  When you call:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    you get the handle to the new tab.  There is a control with the same ID as TAB_numMyNumeric, so that you get a runtime error.

    Personally, I like to use an enumeration to my tabs so I can keep the lines:

    enum {MY_FIRST_TAB, MY_SECOND_TAB, MY_THIRD_TAB,...};

    So if I redesign the tabs or add a new one I just re - order enums and everything works fine.  Also, I used the same names in my constants of tab, to help keep things straight:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_FIRST_TAB, MY_FIRST_TAB, & TabHandle);

    Tony G.

  • Why an amplification of the RAM does not change the index performnance of windows vista?

    Why an amplification of the RAM does not change the index performnance of windows Vista?

    Hello

    I m not very well, but maybe you have more than 3 GB of RAM and Vista 32 bit.
    Usually the 32 bit OS is capable to manage and send only 3.2 GB.
    The more than 3.2 GB RAM will not operating system used and therefore would not increase the index
    In addition the laptop will be not really faster after upgrading RAM. You will notice better performance using applications at the same time, but this does not affect the index of Vista.
    But this is only my personal hypothesis.

    Welcome them

  • change the index

    create index index_lib on BOOK_DETAIL (ID);


    I want to change the index.

    drop and re-create the index.

    Drop index index_lib1;

    create index index_lib1 on TB_USER (lower (USERID));

    Rebuild will rebuild just the index based on the existing settings. If necessary you can change storage settings

  • Change the index file in the tabular presentation

    OK, this is probably the most stupid and at the same time more simple question ever, but I couldn't find an answer until now

    I use Dreamweaver CS3 and want to build a very simple page with three columns and two rows, where a file is links to each cell. I can set up very well, line up a file for each cell, everything seems correct, but...

    .. If I open the index by the file manager file, even though I see the index page, I can only work directly in the built-in secondary files (and their file names appear in the tab at the top). But I would also like to work in the index file, i.e. change the size of the columns, etc. file names. How can I directly edit the index file (with the exception of the use of an external text editor?).

    Thx for your help!

    Sorry for the confusion between you

    It is an html file and I want to modify it using Dreamweaver.

    The link you provided gave me a clue where to check...

    I activated--> view-->--> frame borders Visual AIDS

    Now, I can see the different frames and edit them and also to change the index file itself.

    So thx for your reply, it has been useful

  • How to resolve the IP address automatically changing the problem?

    My Oracle database 10g (10.2.0) is on the Windows XP platform and the IP address of the system often changes automatically. This leads to problems with my Oracle database. How to deal with this problem? How to stop the IP change the problem?

    change your windows networking to dhcp to a static ip address. Just google it or follow [this link | http://www.hotcomm.com/FAQ/FAQ_staticIPXP.asp]

  • Problems to change the attributes of the song

    I like having all my podcasts in a list in order to put in order and interlacing different podcasts.  To do this, I changed the album on all podcasts "PodcastList" and change the track numbers so they sort in the order I want.  (I actually did a script in MediaMonkey to do that for me automatically).

    All this worked fine until I added an SD card and has started to keep my podcasts on it.  By mistake, I synced my list in MediaMonkey before that I had changed everything to be in the "PodcastList" album, so now some of my podcasts appear in different lists in the "rocket".  Now I've tried everything I can think to change the album on these podcasts, but it seems whatever I do that the "rocket" seems to remember the original name of the album.

    I manually changed the name of the album on some of these podcasts in MediaMonkey, located on the device (no synchronization involved this time), but when I unplug my Fuze, let him do the thing "Refreshing your media", then plug it back in MediaMonkey, I find that the name of the album was changed to the rear.

    I think that the database of the rocket is cached information.  Even if I delete the files of the "rocket", let 'refresh my media', then put the files they receive in return the original album.  The only thing that I found that can get the "rocket" to "forget" this info is to change the names of files (not the title of the track, the name of the file).

    Is there an easier way to clear the cache of the rocket for some songs, far from doing a reformat of this?  It will take me some time to rename all these files.

    I finally understood what went wrong.  It wasn't the "rocket" that had the problem, it was the way that I was updating my files in MediaMonkey.

    I wrote a script to MediaMonkey in order to Auto-re - number all my podcasts.  It turns out that while I was updating the file information in the database I was not updated on the real files.  For some reason any MediaMonkey synced those files on the SD card in the "rocket" it took the tags on the files, not the tags in the database (although when I sync to the internal memory of the rocket, it was not a problem).  I added a line at the end of my script, re-run on my files, and then removed all of the "rocket" and re-synchronized it.  After that, it seems to work.

    For someone else in the same situation, it's the line that I had to add:

    ITM. WriteTags

    I already had this, but it does not seem to be sufficient when a SD card took part:

    ITM. UpdateDB

    Now, I have both, and it works great so far.

  • Windows 7 automatically change the time and date.

    Original title:

    Time changes

    In my HP Pavilion dv6t-3200 suddenly my Win 7 64 bit seems to change the date automatically and when I set to the right time it running an hour and repeat the time I re installed the OS and checked. The problem persists and I also changed the battery and checked them was no change please help me... to solve the problem :-(

    Hello
    1. You have your timezone set correctly? Is - this tick on "automatically adjust clock for daylight saving time?
    2. You did changes to the computer before the show?
    3. Do you have any third-party clock on your computer application?
    We will synchronize the clock of your computer with a time server Internet and check if it works. This means that your computer's clock is updated to match the clock on the time server, which can help ensure that your computer's clock is accurate.

    a. open the Date and time by clicking the Start button, click on the Control Panel, clicking clock, language, and region, and then clicking the Date and time.

    b. click the time tab Internet and then click on change settings. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    c. Select the check box next to synchronize with a time server Internet, select a time server, and then click OK.

    Set the clock

    http://Windows.Microsoft.com/en-us/Windows7/set-the-clock

  • Printer problem - after changing the cartridge, I get a message that the USB cable is not connected

    As above. I checked the USB port and it is connected.

    Original title: printer problem. After changing the cartridge, I get a message that the USB cable is not connected?

    Hello

    1. you receive an error message/code when you try to print?

    2. What is the serial number and model of the printer?
     
    Follow the steps.
     
    Method 1
    Run the hardware and devices Troubleshooter
    This utility checks the common issues of interest and ensures that a new device or hardware connected to your computer has been installed correctly.
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Also run convenience store Print that would help us diagnose the problem better
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Method 2

    (a) check the physical connection of the printer and make sure that the USB cable is properly plugged.

    (b) connect the printer to a different USB port and check if it helps.

    (c) check the on another computer.

    Method 3

    Run the fix - it tool from the link.

    Diagnose and automatically fix problems printing and printer http://support.Microsoft.com/mats/printing_problems/

    Method 4
    If the previous step fails, follow the steps described in the following link:
    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows
     
     
    Let us know if it helps.

  • How to prevent the spell checker to automatically change the word I type?

    Hello

    I own a MacBook Pro, OS X Yosemite 10.10.5.

    Processor: Intel Core i5 at 2.8 GHz
    Memory: 8 GB 1600 MHz DDR3

    I was struggling with the spelling corrector assuming what I type is wrong and so it changes the word for another while I am always type, the result is that the mess this creates a bad word that will not be corrected because the editor already "fixed" it while "I screwed up".

    The fact is that I'm Brazilian, so my first language is Brazilian Portuguese, which uses a series of special characters such as to, a, a, a, e, e, i, o, o, o and c, Furthermore, we seem to have many more words in our vocabulary and verb time if compared to English. The corrector seems to get confused with that too, and some Word's closer to her I am writing.
    What seems to be the boss, is that in English, the feature is very useful, but when I type special characters, it assumes that this word should not be even with the input source for Brazilian Portuguese, which makes me wonder why I would fix it for my language if I have not noticed any difference at all. He gets it wrong in 90% of the time and a Word by a word it is delay my work and make me hate my computer.

    Please, don't you know any solution for this? Go to system preferences > keyboard > text and UN-checking the "correct spelling automatically" doesn't change anything, even after restarting the computer. It's stressing me out of having to correct this as the corrector mess every 5 minutes!

    Any ideas how to get rid of it?

    Thank you!

    kodimoto wrote:

    even with the input source for Brazilian Portuguese

    The input source has nothing to do with spell checking and AutoCorrect.  Dictionary used for this defined under Edition > spelling and grammar > show spelling and grammar (or in the system preferences, keyboard, text, spelling).  For best results, use the dictionary for your language and not "automatic".

  • WRT54GS - problem with changing the router IP

    Here's my problem: I want to change the IP Address of the router (and subnet) to 192.168.1.1 to (for example) 192.168.28.1 (long story).  I can do it on the base of the router configuration page.

    I have a desktop with a fixed address configuration: 192.168.28.90, subnet mask 255.255.255.0, default gateway and preferred DNS server: 192.168.28.1.  Three laptops get dhcp addresses.

    Access to Internet is fine, but local communications on the local network no longer work: shared folders are not accessible, and I can not ping to one local PC to another. (But I can ping anything on the web)

    When I'm back at 192.168.1.1 all is well again.

    Someone at - it includes what is the problem?

    Thank you.

    It is most likely a problem of computer software firewall.

    To resolve the issue, reset the router to 192.168.28.1, then power cycle your network, verify that your Internet connection works on all computers.  Then go into the computer on each computer software firewall and set it to "trust", other computers on your network.

  • Are there problems with changing the IP address of a system of v5.3 ACS after the initial Setup?

    I'm migrating from ACS v4.2.1 to v5.3.  I want the final v5.3 system to assume the IP address of the machine 4.2 of origin so I don't have to change any configs on network devices.

    Are there problems with the change of the IP address of the system AFTER the initial installation v5.3?

    I tried without problem. I changed the ip address of the WLC several times.

    You must ensure that:

    1-) you change the switchport accordingly to the appropriate vlan if the new ip address belongs to a subnet of a vlan different.

    2-) make sure that all clients AAA configured to use the new IP address of the ACS servers.

    Here is the procedure how to change the ip address of the interface (according to the doc of cisco):

    http://goo.GL/0BYqVT

    I also changed parIP normal address and it works. but of course, the server must be autonomous before doing this step (i.e. no secondary ACSS registered to him and he is not on the other ACSS in a distributoin).

    HTH

    Amjad

  • Windows 7 to put on the desktop, it is too big for the screen, facing problems to change the text.

    Original title: problem with windows 7

    just had windows 7 put on my desk top of the page. It is great for reference but itwon can't I would like to change the text. If I change the resolution, that it makes the photos so you can really see them.it won't let me up the screen so I can't ask anything,

    Hello

    If you recently installed Windows 7 on the desktop, you can try the following steps and check if it helps.

    Method 1:

    We can refer to the computer or the device manufacturer's Web site and try to install the latest version of the display card drivers and check if it helps.

    Update drivers: recommended links

    Method 2:

    It can also refer to article and try the steps to solve the problem.

    Make the text on the screen larger or smaller

    Hope the helps of information.

  • automatically change the fan speed depending on the temperature.

    I wish I could for my computer automatically adjust the fan speed depending on the temperature. I don't think he does in itself because the speed never changes.

    Any help will be appreciated.

    Hello joshblacher,

    There is a sensor on your motherboard, which changes the fan speed according to the room temperature. As much as I know there is no way to do otherwise, I'm afraid.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk |  vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

Maybe you are looking for

  • Tecra A7-237 - HD alert icon in Windows 7

    Hi, I have install all the drivers but in Panel appers an alert and peripheral and printer my HD appers with yellow alert icon, when click Properties appers: No. CONTROLLERS INSTALLED! The unknown device properties appears: ACPI? Sorry, my English is

  • Secondary display in video calls

    If we are in the middle of a video call, a secondary screen appears when we open another app or tab, then we can see people even if Skype is not our main tab. I accidentally turned off the secondary screen and I want to open it again. I search everyw

  • With the help of ePrint app on my Ipad with 6000 HPOJ

    A couple of months, I've been able to use ePrint to print on my HP OJ6000 E609N.  It has worked well.  Yesterday I tried to use it and the printer does not appear in the app any longer.  I can't find anything that confirms that HP continues to suppor

  • Acer aspire 5750g shift works not

    I've had this phone for almost 2 years now and after turning on my laptop in one day I noticed that my password on the login screen was not working, so I resorted to the use of the screen version. Then, I found that both my shift keys did not work pr

  • Printer e-all-in-one C310 scan from computer, not of HP Photosmart Premium

    My printer won't let me not scan from the printer. It says Start scan of the computer one refer to the documentation for more details. I need help for each start of scanning the computer, or simply by changing it on the printer to start scanning of r