Change button state from another button

From reading some other posts it would seem that you can only create rectangular button outlines (not buttons but the outlines you drag out in DVDSP to definte your button area).
Well I have a menu design that has buttons that run at an angle across the page, and they are very close together, so if I use a single rectangular outline it will cover more than one button.
So, I want to create several small button outlines to cover my button area, but I'd like to have it so that when a button is in a "Selected" state it automatically makes another button "selected" and it is this button that has a overlay highlight that will inidcate what the user is selecting.
So can a button be moused over and automatically "select" another button.
(When I say "select" I do NOT mean activated - I don't want to mouseover a button and another button get activated and the user gets taken to the buttons target).
I also don't want to use a layed PSD file as I don't really like the delay you get.
I hope this makes sense. If not, I can make some images to show what I mean.
Thanks in advance

Sorry Rob - I don't think you'll be able to do that... a DVD button isn't able to be linked to a different button so that it can set it to be selected. The buttons are not that 'intelligent', I'm afraid.
From what you say you can either use very small buttons with a simple highlight to the side of the text on the back drop, or (sadly) re-do the menu bakground to accommodate the nature of the button rectangles.

Similar Messages

  • Is it possible to change application state from a component?

    I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
    Thanks!

    Hi,
    you always have a static class Application.
    Application.application will be the root component. After that you can change it state.
    Application.application.currentState = "state2";
    But it's not the best way to change states. It's better to dispatch events from components and change states in listeners.

  • My slide presentation (with sound) is done. How can I change one song from another?

    My slide presentation (with songs) is done. How can I change one song from another?

    Do you still have your Aperture Slideshow project? Then open the slideshow and select the one of the green audio file clips in the film strip that you want to replace. Press the "delete" key and drag another audio file from the Media Browser directly onto the slide, where the sound should start.

  • Changing container State from a component

    Hi, I try to change the state of an application from a button
    inside a mxml component. I found a way for this by handling click
    event inside the component and dispatch event to the container (see
    the code below). But my problem is that any click is dispatched ! I
    would like that only one button dispatch this event, or better :
    calling a container's function from the button inside my component
    ! Is this possible ?
    Thanks for your help
    Here is a part of the container code :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="570" height="360" xmlns:local="*">
    <mx:Script>
    <![CDATA[
    import flash.events.Event;
    public function handleCloseEvent(eventObj:Event):void {
    currentState='carte';
    ]]>
    </mx:Script>
    <mx:states>
    <mx:State name="liste">
    <mx:AddChild position="lastChild">
    <local:liste_vin_region click="handleCloseEvent(event);"
    id="fenetre">
    </mx:AddChild>
    </mx:State>
    <mx:State name="carte"/>
    </mx:states>
    </mx:Canvas>
    And the component code :
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="514" height="300" xmlns:local="*">
    <mx:Metadata>
    [Event(name="click", type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
    <![CDATA[
    import flash.events.Event;
    // Redispatch event.
    private function
    handleCloseEventInternally(eventObj:Event):void {
    dispatchEvent(eventObj);
    ]]>
    </mx:Script>
    <mx:states>
    <mx:State name="liste"/>
    </mx:states>
    <mx:TitleWindow layout="absolute" left="10" top="10"
    bottom="10" right="10" id="titlewindow1"/>
    <mx:Button y="14" label="X" right="19" width="29"
    click="handleCloseEventInternally(event);" id="button1"/>
    </mx:Canvas>

    Yes ! That's exactly what I need !
    I've tried to do : this._parent like in Flash, but no
    result...
    Thanks for your help, parentApplication is right for me
    !

  • JBO-33035: Row currency has changed; Using snapshots from another DB

    I receive this error due to a snapshot performing a complete refresh. It is not due to the user hitting the Back button in the browser. How can you get around this scenario. The page has been rendered, the user navigates somewhere else via some link, and the jbo-29000 and 33035 errors get thrown because of the snapshot having refreshed. It's not an option to stop using the snapshot. I have already tested setting 'Enable Token Validation' to false on the object. Still get the error. Any suggestions?

    Hi,
    I assume you use JavaServer Faces, correct ? In this case go to the starting page's pagedef file and opn the Structure Window
    - select the "bindings" node and create an "action" that you bind to the ViewObject execute() operation (If you use EJB or POJO, crate a methd binding)
    - in the "executables" section create an "invokeAction" pointing to the action created before
    - under refresh conditions, add #{!adfFacesContext.postback} so the iterator is refreshed when you navigate back from another page.
    This should solve the problem
    Frank

  • 8.1, Change pageflow state from event listener

    Hi,
    I've implemented an event listener in a backing file (like in the custom event
    tutorial ).
    The backing file is assigned to a portlet.
    Is it possible to change the state of the portlets pageflow when an event is received?
    I want to reset the pageflow so that the 'begin' action is executed again.
    From the tutorial and sample portal I found out, that how to change the window
    mode or the visibility, but I can't find any methods for setting the current url/action.
    Another solution would be to setup a listenTo relationship and redirect the incoming
    actions to the 'begin' action. What I'm missing here is the possibility to trigger
    such an event from a page flow (which is possible when using custom events). Can
    this be done?
    Bye
    Achim

    try to go to Control Panel\All Control Panel Items\Administrative Tools
    Disable and set the trigger as never at task scheduler > time sync
    You can also try to clean boot
    http://support.microsoft.com/kb/929135/en-us

  • Change Desktop background from another account ?

    Hi Guys,
    Just wondering if it's possible to change a desktop background from another account on the same machine.
    I'm running 10.6.8, and there's no particular reason for doing this at present, but we do have a couple of work machines where the user has been restricted from making changes to the machine, and it'd be easier to do this from the administrator account.
    Also, is it possible to change a desktop background via Apple's remote desktop?
    Thanx in advance.

    This same thing happens to me, and while not the end of the world, it is defintely annoying.  Have you figured it out?  Thanks!

  • Change the state of button when another button is pressed

    Hi all, 
    I have a pretty straightforward question but just cant figure out how I can achieve it...I am trying to switch between two types of waveforms (sine and square) on a graph using buttons and a case structure.
    I currently have two buttons A and B. When I press A, it turns true and displays waveform 1. When I press B, B turns true and displays waveform 2. However when B is true, I have A still enabled as true (pressed)
    I cant figure out how to change the state of A back to false when B is pressed and vice versa.
    I am fairly new at Labview so if someone can refer to a post where its this is already answered or point to the right direction, that would be appreciated
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Waveform.vi ‏94 KB

    Instead of cluttering the code with event cases (!), hidden controls(!), value properties(!) and local variables(!) (as suggested above but not recommended at all!! Besides, it does not even work correctly!), all you need is a radiobutton control that also allows "no selection". See attached (LabVIEW 2013). You could also add a third boolean for the sine wave and disallow "no selection" to make the code even more self-documenting.
    I made the radiobutton container transparent to match your existing style.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Waveform_MODCA.vi ‏94 KB
    Waveforms.png ‏11 KB

  • Change a state in main.mxml from a script in another mxml

    Hi,
    i'm having some trouble with my application, let's say i have the main application file called MAIN.MXML
    in wich i have set different States, and have different forms.
    now i have a form called loginForm which contains the textInput item for Login and Password, i also have a link Need to Register
    which onClick will change the state to show in the same panel a different form registerForm (with the relevant textInput items)
    now the MAIN.MXML includes a custom component called <comp: NetworkManager /> which includes all the logic scripts and MXML
    tags to create and manage an HTTPService request to a PHP Server.
    when the user click on the Login button, this will call a function included in the main.as script (imported in MAIN.MXML) which
    will call a function in the script within NetworkManager.MXML passing all the form data.
    in NetworkManager.MXML the script will create an XML message, will send to the PHP Server and wait the response... if this comes
    true the user is authenticated, otherwise is not.
    so far so good, i get the message sent, the correct response back. Now i want to hide the form in MAIN.MXML and put something like
    Welcome firstName lastName!! instead. But i don't know how to do it. If i try to access the states in MAIN.MXML from the NetworkManager.MXML
    i'll get all sort of errors which i don't have it here with me.
    I know this sounds like a newbie question, and it really is ... any taker?
    your help is much appreciated.
    thanks
    T.

    Hi,
    i've tried RemoveChild but i get an error like:
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\core\UIComponent.as:5096]
    at mx.core::Container/removeChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\ core\Container.as:2274]
    at components::NetworkManager/sendUserAuthHandler()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:182]
    at components::NetworkManager/serverHandler()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:98]
    at components::NetworkManager/__serverRPC_result()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:290]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:290]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:193]
    at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
    at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
    at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    who is the caller of loginForm then? i've tried with Application.application.loginForm but i do get the same error though.
    loginForm is contained in a Canvas item, is it the caller? or who else?
    thanks
    T.

  • Customer Master - Preview (address) button, change default lines from 10

    Currently on ECC 6.0.
    I would like to change the default setting of "Number of Lines" from 10 to 6 within the "Preview" button on the Address tab within XD01,2,&3.  
    This would be a system or user setting so the user doesn't have to manually change the "Number of lines" via the Parameter button each time in XD03.  So I know we can change it manually from 10 to 6 via the Parameter button, however, I don't want to have to do this.  I want the default setting, for all users, to be 6 instead of 10.
    I see you can have a "user-specific" default sender country parameter, however, I can't find where to change the system or user default setting of the Number of Lines from 10 to what we want, 6.
    Got lost in the debugger, in XD03, trying to capture where this value was being set from.
    Any help on this would be greatly appreciated.
    Thanks.
    David

    Hi,
    XD03 calls FM ADDRESS_INTO_PRINTFORM which is responsible for formatting. You can see that import parameter number_of_lines has default value 10. There is a user exit EXIT_SAPLSADR_001 for this function group where you can change this default value. It is only called in case of address format key is in customer range (900 - 999). So maybe you can define your own address format and modify default value in this user exit.
    In case you don't want to define your address format for some reason then there are another solutions. If you are on SAP NetWeaver then you can try to use implicit enhancement point to change this value at the beginning of FM ADDRESS_INTO_PRINTFORM. If you are not on NetWeaver you can modify default value of this FM. You will have to modify SAP standard.
    Cheers

  • How do I change the states of the "Submit"  button in adobe muse?

    How do I change the states of the "Submit"  button in adobe muse? Currently I can only change the color, text and stroke of the button, but I cannot customize it as I have the other buttons in the tool.

    I want to replace the button with an image, however it does not permit me to paste an image into the button, nor does it allow me to delete the box that is currently there. The best I can do is paste the image into the text box that is provided.

  • Changing stage timeline from inside a movieclip button

    I create a movieclip button, and I want to change main timeline from it. what should I do ?
    Is it useful to use MovieClip(root).gotoAndPlay(...) ; ?
    Is there any other way to change main timeline?

    Example:
    Add something to trigger the event in the child:
    dispatchEvent(new Event("eventTriggered"));
    In your parent swf, listen for the event using a listener for the child with a corresponding event handler...
    childName.addEventListener("eventTriggered", eventHandler).
    function eventHandler(event:Event):void {
        trace("child dispatched an event");
         // gotoAndPlay(etc);

  • Buttons grouped to a a state of one MSO controlling a state of another MSO

    If you have a MSO that has the button grouped to the state so that when it is pressed a overlay pops up. Because the button is grouped you can no longer control other States in another MSO. The problem I am having is if one OL is open in one MSO and I click on another button in a different MSO I now have two OL open at the same time. I know if the button was not grouped with the state I could set each of the buttons to have two actions, first go to the off state of the opposing OL and then to the on state of that OL, but the button that is grouped does not give me the option to select states outside of its own MSO.

    Ok. Hope to see that solved one day, life will be easier :).
    BTW, just reminded me about multiple layouts support incompatibility with multi articles import (with sidecar.xml). Any idea if this will be solved? On of “selling features” for CS6 :).
    Martin

  • HT201272 I'm having trouble downloading a previously purchase song to my iCloud so I can access it from another device.  The iCloud download button is not there.  Help?

    I'm having trouble downloading a previously purchase song to my iCloud so I can access it from another device.  The iCloud download button is not there.  Help?

    I agree. I don't rely on iCloud as a backup, that is what I have my portable hard drive for. Its 500 GB so I can hold my entire iTunes library several times over on it. I have all my movies on my hard drive, but somehow "The Mist" got deleted off of my hard drive, so I figured "Well, the option to redownload an already purchased movie is available through iCloud, I'll just do that!"
    And permissions and download availability have nothing to do with it, the movie's still there, it still allows me to redownload it. The only problem is when I click download, I get that message.
    And nobody else uses my computer, but I do have multiple accounts authorized on it. Even still though, I am attepmpting to download it through the account I purchased it under. :/

  • Raise a button's click event handler from another event handler

    hi,
    I am trying to raise a button's click event from another button's click event.
    Automation gives a runtime error. I checked out some other forums for answers but they dont work when called from another event handler.
    Console.WriteLine(gestureData.name);
    if (s==b2) ;
    //raise button2's click event
    private void b2_Click(object sender, RoutedEventArgs e)
    MessageBox.Show("I am button2");
    private void b3_Click(object sender, RoutedEventArgs e)
    MessageBox.Show("I am button3");
    Any help will be appreciated.
    Thanks,
    Shaleen
    TheHexLord

    Hi Andy,
    I tried to implement your suggestion.
    What I am trying to do is, say there is a label whose content property needs to be updated every time a button b1 is clicked. When the button is clicked , it check if a condition is met and depending upon that condition it updates the content of the label
    . Say , if the text entered is "add" and the button is clicked and the label's content is set to "add", if the text entered is "sub" and then the button is clicked, the label's content is set to "sub".
    I understand that there is no need to fire up different methods for this as this can be done by checking for conditions in the same button click event but it seems that updating the UI is not happening. I get an error saying.:
    A first chance exception of type 'System.InvalidOperationException' occurred in WindowsBase.dll
    The program '[6660] WpfApplication8.vshost.exe: Program Trace' has exited with code 0 (0x0).
    The program '[6660] WpfApplication8.vshost.exe: Managed (v4.0.30319)' has exited with code -1073741819 (0xc0000005) 'Access violation'.
    this goes away when I remove the Label.Content="add" or Label.Content= "sub";
    I think the label's content property does not update dynamically.
    Thanks
    TheHexLord

Maybe you are looking for

  • Retrieving data from a MATLAB script node

    I am creating a VI that imports and manipulates arrays of data points and then plots them in Labview. When I run my Matlab script in Matlab there are no errors and all the assigned variables exist in the form that they should exist but for some reaso

  • Downgrade database

    Hi I have a 10.2.0.3 and need to downgrade to 10.2.0.2, the compatible parameter is 10.2.0.3. what's the best solution? Tks

  • I accidently deleted all the notes that was in my phone.

    Yesterday I did a music sync on the iPhone I'm currently using on my new computer. I read the warning about deleting all music but missed where it said notes would be deleted also. I really need those notes back and no backups were made on the comput

  • Disable OCI catalogue links in specific situation.

    Hi All, We are implementing SRM 5 .0 EBP .From the home screen when link "SHOP" is clicked , we can see the links for OCI catalogs .Say there are 5 OCI links --> link1 , link2 , link3 , linkn4 and link5 . Now the requirement is such that the user sho

  • The length specification is not a numeric literal or a numeric constant ???

    Hi all, I am facing this error in using the loop with where condition in which i am specifying length specification.     READ TABLE lt_tds_587 INTO ls_tds_587 WITH KEY pernr = ls_tds_1-pernr.     IF sy-subrc EQ 0.       ls_tds-eepfn = ls_tds_587-eepf