Animate elements one by one without user intervention

Hi, Good Day,
I have series of rectangles and textblocks on page.
I need to show them moving at different places one by one according to the contents of textblock without user intervention.
If I use for loop then it show movement of only last rectangle as I have to stop the storyboard in each iteration of loop.
Is there any way to move these rectangles automatically one after another????
sunaina

A storyboard has a completed event.  I think that's the easiest way to handle this sort of requirement.
You could chain them.
So you get a reference to a storyboard, add a handler to it's completed event which starts the next storyboard...
And start it.
Obviously you will have storyboards which do something or other but here's how I attach anonymous completed eventhandlers to a storyboard:
Storyboard sb1 = new Storyboard();
Storyboard sb = new Storyboard();
sb.Duration = new TimeSpan(0, 0, 1);
sb.Completed += new EventHandler(delegate(object s, EventArgs a)
sb1.Begin();
sb.Begin();
Hope that helps.
Recent Technet articles:
Property List Editing;  
Dynamic XAML

Similar Messages

  • Material creation without user intervention

    i have to create a material without user intervention. i am using BAPI_MATERIAL_SAVEDATA for this. it is not showing any error. but the return is having the message 'No description found'. how to transfer the description to this bapi.
    this is the code i am trying:
    DATA:  mnum like zmara01-mno,
           mat_data like BAPIMATHEAD,
           plantx_data like BAPI_MARCX,
           salesx_data like BAPI_MVKEX,
           sale_data like bapi_mvke,
           plant_data like bapi_marc,
           mate_data like bapi_makt,
           E1BP_MAKT like E1BP_MAKT,
           cli_data like bapi_mara.
    DATA: E_RETURN LIKE BAPIRET2.
    data: MATERIALDESCRIPTION like BAPI_MAKT
                      occurs 0 with header line.
    *data: m(18) type c.
    CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              NR_RANGE_NR                  = '01'
              OBJECT                       = 'ZMNUMBER'
             QUANTITY                      = '1'
           IMPORTING
             NUMBER                        = mnum.
    message i003(zmsg) with mnum.
    mat_data-material = mnum.
    mat_data-ind_sector = 'I'.
    mat_data-matl_type = 'DIEN'.
    mat_data-basic_view = 'X'.
    cli_data-base_uom = 'EA'.
    cli_data-base_uom_iso = 'X'.
    sale_data-sales_org = 'EISO'.
    sale_data-distr_chan = 'SR'.
    salesx_data-sales_org = 'EISO'.
    salesx_data-distr_chan = 'SR'.
    plant_data-plant = 'EIHO'.
    plantx_data-plant = 'EIHO'.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        HEADDATA                   = mat_data
       CLIENTDATA                 = cli_data
      CLIENTDATAX                =
       PLANTDATA                  = plant_data
       PLANTDATAX                 = plantx_data
      FORECASTPARAMETERS         =
      FORECASTPARAMETERSX        =
      PLANNINGDATA               =
      PLANNINGDATAX              =
      STORAGELOCATIONDATA        =
      STORAGELOCATIONDATAX       =
      VALUATIONDATA              =
      VALUATIONDATAX             =
      WAREHOUSENUMBERDATA        =
      WAREHOUSENUMBERDATAX       =
       SALESDATA                  = sale_data
       SALESDATAX                 = salesx_data
      STORAGETYPEDATA            =
      STORAGETYPEDATAX           =
      FLAG_ONLINE                = ' '
      FLAG_CAD_CALL              = ' '
      NO_DEQUEUE                 = ' '
    IMPORTING
       RETURN                     = E_RETURN
    TABLES
       MATERIALDESCRIPTION        =  MATERIALDESCRIPTION
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
      RETURNMESSAGES             =
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    loop at materialdescription.
    message I004(I) with materialdescription-matl_desc.
    endloop .
    MESSAGE I004(I) WITH E_RETURN-TYPE.
        if sy-subrc = 0.
         message i005(zmsg).
        elseif sy-subrc <> 0.
         message e006(zmsg).
        endif.
    i am trying to give direct entries to test it . please help in this issue immediately.

    Hi dear,
    welcome on board!
    If you want an answer immediately I think you have to post your question in a more appropriate forum...
    take a look to https://www.sdn.sap.com/sdn/collaboration.sdn and choose one of the available forums !
    Good luck!
    Roberto

  • [CS4]  save on a local file without  user intervention

    hey,...sorry for my english...
    i work with a other application who need to have the
    information written in the local file without an user intervention
    so...
    i would like to know if it s possible to write or rewrite on
    a local file without intervention of the user...
    whitout the ""save dialogue box" or with a managed save
    dialogue box...
    how to write in a local file without user intervention...
    i need really an answer to make real my project...
    thans for your conprehension

    hey
    thx a lot for your help ...
    if i understand well ...
    it is possible to write or rewrite in a specific folder
    who is determinated by the application folder of
    an specific AIR apllication
    who during his install give the ""authorization to
    write/rewrite /save in his specific installation foder"
    so it s possible with combination of an AIR application.....
    can you give me some information about this AIR application
    that i must build...
    some direction to ask help
    because i dont have the knowledges to do that
    what style/type of AIR application
    what charachteristics of this AIR application....
    so some information that can i use to ask help in the good
    place...
    one more time thx a lot for your help...;)

  • Generate a Report Dynamically without User Intervention and Output to XML

    Here's the scenario for which I am trying to find a solution. Any help would be greatly appreciated.
    I have a series of reports that the users generate from a UI by selecting the report, setting the values for a list of parameters, and then click a submit button. The report is generated in the UI for them to view. They can print it from here or export it to Excel.
    They would like to be able to schedule a report to run daily without user intervention using a saved set of parameters. The system would run the report automatically and email it to a defined set of email addresses.
    To do this, we need to have the report generated in a string or xml so a Java process can read it and email it.
    I see that I can change a report's template to export:xml so I feel that it is possible. How can I export a report to XML without user intervention? Can the report template be changd dynamically at runtime? Ideally, I need some way to call this same report and have it output as a string data or xml to be used by a Java process that would store and generate the report for email.

    Hi Kumar,
    From Program1 you are calling Program2, using submit syntax (inside Program1).
    While using submit, if you have correctly filled up the selection screen of program2, then it will AUTOMATICALLY get executed, WITHOUT F8.
    If there is any compulsary field in program 2, which does not get populated, then it will not run automatically, or unless some special code is written in program2.
    If you do not want the output of Program2 on screen, then u can use
    SUBMIT Program2 AND RETURN.
    In that case, no selection screen (of program2) will appear and neither the output of program 2.
    Regards,
    Amit Mittal.
    Edited by: Amit Mittal on Dec 23, 2009 4:10 PM

  • Can You Play Multiple Playlists Without User Intervention

    Can you stack and play multiple playlists? ie if you had three playlists of 50 songs each, could you pick all three, play all the songs in the first playlist, when it is finished move automatically to the second playlist play its songs then automatically move to the third without user intervention? And if so, can you play each of these in shuffle mode?

    There's no "impromptu" method of doing so that I know of.
    As far as un-impromptu methods (it's always fun inventing words), it will depend on whether you want to listen to this mega-playlist on an iPod or just with iTunes.
    If it's just with iTunes, you can go to the File menu > New Folder command and create a new folder which we can call the Mega-Playlist folder. Drag the three playlists in question into that folder. When you select that folder and press Play, iTunes should go through all the songs.
    If it's on an iPod, since Folders don't transfer over from iTunes, the only solution I know of would be to create a Smart Playlist with iTunes that will -
    Match any of the following rules:
    Playlist is the first playlist +
    Playlist is the second playlist +
    Playlist is the third playlist.
    Synching this mega-playlist to your iPod will allow you to select it from the Playlist menu.
    Shuffle mode would shuffle songs from all three playlists together, not shuffle songs from the first playlist before moving on to shuffling songs from the second playlist before shuffling songs from the third playlist.

  • Spaces are switching without user intervention

    I generally use 4 spaces and I've noticed on Mavericks apps will not stay ont he same space they are assigned too. I've also noticed designated spaces switching without any user intervention. For example "Desktop 3" and "Desktop 4" switch places and 4 will become 3 and visa versa. Has anyoen else encountered this?

    I am also experiencing problems where I lose a route and I get disconnected from the internet. I get it back by issuing a command:
    route get 192.168.2.1 (my wireless router)
    route get 192.168.1.254 (my DSL modem)
    However, I have no idea why this gets deleted in the first place.
    if you discover an answer please do post it here.
    Thanks,
    Ted

  • Events without user intervention

    I am developing a control application in which in open loop the user has interaction with controls in the GUI and a generation of events begin an action. However in closed loop the controller generates the values and rewriten the values at the controls in the GUI without intervention of user in the GUI. The events are not identified within the events loop located within the white loop. I am trying to work with Dynamically Registering Events but i am not have sucess. The specific question is how generated an event when a value control changes  without the intervention of the user in the GUI

    Use a property node for the front panel control and select the property
    "Value (Signaling)". When writing to this property, the event is
    triggered.

  • Events/without user intervention at the GUI

    I am developing a control application in which in open loop the user has interaction with controls in the GUI and a generation of events begin an action. However in closed loop the controller generates the values and rewriten the values at the controls in the GUI without intervention of user in the GUI. The events are not identified within the events loop located within the white loop. I am trying to work with Dynamically Registering Events but i am not have sucess. The specific question is how generated an event when a value control changes  without the intervention of the user in the GUI

    Gracias por utilizar los foros
    la solucion ya la tienes en esta liga
    http://forums.ni.com/ni/board/message?board.id=170&message.id=196808#M196808
    saludos
    Erwin Franz R.

  • HOw to download a file in background without user intervention?

    Hello people,
    A few hours ago I asked a couple of guys how to download a file to html. For that I am most thankful, and as mentioned this is a two part question, my other question is about how to proccess downloading the html in background and to automatically send it to a folder or other path. Without any user intervention.
    Example, I run a long report to be downloaded in background. The lets say the next day, I can get the file in a folder. Thanks guys take care!

    Hello guys thanks for your help so far. I have been off again on again with this task because its more for future purposes than anything.
    So far I have searched the net and stuff and decided that I will use WWW_LIST_TO_HTML since I want to download it the way it is. I am also going to use open/close dataset as many of you have mentioned.
    SO far Im just trying it out with a simple report program to see its funcitonalities. My code goes like this.
    <b>REPORT ZCCYT_COOL2 NO STANDARD PAGE HEADING LINE-COUNT 100 .
    DATA: IFIELDS TYPE TABLE OF W3FIELDS WITH HEADER LINE.
    *DATA: ihtml   TYPE TABLE OF w3html   WITH HEADER LINE.
    DATA: IHTML   TYPE TABLE OF W3_HTML  WITH HEADER LINE.
    DATA: BEGIN OF I_TAB OCCURS 0,
            MATNR LIKE MAKT-MATNR,
            MAKTX LIKE MAKT-MAKTX,
          END OF I_TAB.
    SELECT-OPTIONS: SO_MATNR FOR I_TAB-MATNR.
    SELECT MATNR MAKTX
      FROM MAKT
      INTO TABLE I_TAB
      WHERE MATNR IN SO_MATNR..
    LOOP AT I_TAB.
      WRITE: / I_TAB-MATNR,
               I_TAB-MAKTX.
    ENDLOOP.
    CALL FUNCTION 'WWW_LIST_TO_HTML'
       EXPORTING
           list_index = sy-lsind
         TABLES
              HTML       = IHTML.
    DATA: FILE TYPE LOCALFILE.
    FILE = '/usr/test.html'.
    OPEN DATASET FILE FOR OUTPUT IN BINARY MODE.
    LOOP AT IHTML.
      TRANSFER IHTML TO FILE.
    ENDLOOP.
    CLOSE DATASET FILE.</b>
    NOw the problem now though is that the file isnt downloading or saving at all. I cant seem to get what is wrong since the path does exist and the this seems the universal way to implement the program. Im guessing the problem lies in the file name, because everything seems to work fine. Hope to hear again soon sorry for not visiting this place sooner cuz I was buzy elsewhere.

  • How can I map a drive to Azue file shares without user intervention or having a user logged on?

    I have the file share created, and can manually map the drive. I have even created a batch file that will create the drive mapping.  One step further, I used the following regedit to create the mapped drive:
    Regedit:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    add new string value:
    value name:  MapS
    value data:  c:\azurefileshare.bat
    I have a scheduled task running a batch file running the net use command, and the drive is available, and I can create/delete files, so access is not an issue.
    All works fine if I log onto the server, however, what I am trying to accomplish, is to have that drive mapped upon reboot without having a user log on.   Checking the log file running the net use command when no one is logged on, I get the following:
    Status       Local     Remote                    Network
    Unavailable  S:        path of file share
    Microsoft Windows Network
    The command completed successfully.
    New connections will be remembered.
    Is there a way to accomplish this?  Thanks in advance.

    Hello wdick,
    Thank you for your response and getting back on this issue. I am sorry that the blog that I referred to was not available. I pretty much thought that you must be referring to the ‘File Services’ which is in preview yet. I recently had another user with a similar
    question but currently, the users can access the files using only 'Interactive logon'. You can refer to this link: 
     http://social.msdn.microsoft.com/Forums/en-US/1f1fa9b5-a81d-4067-9d90-2c7c47667732/azure-file-services-authentication-without-prompt-passthrough?forum=windowsazuredata 
    Thanks.
    Syed Irfan Hussain

  • Automatic removing Midlet suite by another Midlet without user intervention

    I would like to use a Midlet to remove another Midlet which is already installed on the device.
    Could I do this? Are there any methods for doing this?
    Please help me!
    Thank you in advance.

    That's a different matter. The second MIDlet is launched by the Application Manager at the scheduled time, not by the MIDlet that books the PushRegistry alarm. And there's no way you can possibly
    go back to my midlet again.Apart from which, many devices will ask the user's permission before launching an application scheduled by PushRegistry, so even the first part of your requirement can't be guaranteed to be seamless.
    Why do you think you need this? There may be an easier solution, like using related classes with only one MIDlet.
    db

  • Saving a modified word document without user intervention

    Dear Reader,
    I have successfully opened a template (MS Word document), and
    modified the bookmarks using DDE; however, now in attempting to
    save the document without the user having to respond I am having
    problems. I have attempted to use DDE.EXECUTE(ConvId,'[Save
    ()]',1000); but this drops into the VB debugger and nothing is
    saved. If I remove the "[]" then an error occurs. If I attempt
    to place something with the brackets () an error occurs within
    the VB Debugger.
    Looking for a simple coding example using DDE.
    Thanks in advance.
    Gerry

    Hi Tina,
    I would first suggest installing all available updates to his/her system and Office installation, including updating the video card driver to the latest version. Then try again.
    Also try to do a Windows clean boot to determine if the issue was caused by any applications/services conflicts:
    http://support.microsoft.com/kb/929135/en-us
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Force Apple Software Updates to Install Without User Intervention?

    I have a Mac server (Yosemite 10.10.2) that pushes certain Apple software updates to my client iMacs (Mavericks 10.9.4).  For example I want to update the Apple Remote Desktop client on all of the clients.  Once I log into a client machine I see that the update is available and has been received from my Mac server.  The problem is that it is not installed.  It appears that I would have to visit each machine and log in and then click install to get this done.  I have to believe there is a way to get this done without having to visit every machine.  Any ideas would be appreciated.

    You might want to look at implementing Munki. Munki is mainly intended as a means of distributing both initial Application installs, but also updates for those applications, e.g. Microsoft Office. It can however also automate installing Apple Software Updates. Importantly it does not require the end user to ever enter any administrator details to allow these updates to be installed.
    See https://code.google.com/p/munki/wiki/AppleSoftwareUpdatesWithMunki
    (Munki is free.)

  • Updates Install without user intervention

    Hi All,
    I am currently using WSUS and GPO's to push updates to our Windows 2008 R2 Servers.  We just began doing this within the last couple of months and have created the GPO to "auto download updates and notify for install".  The only other
    relevant setting is "reschedule Automatic updates scheduled installations" is set to 15 minutes.  Based on our setting of "notify for install", I would not expect this setting to have any effect.
    Now twice in the last week, individual server administrators have been working on their servers, rebooted for whatever reason and then they report to me that Windows Updates are installing without their approval.  Anyone have any ideas how this could
    happen?
    Thanks

    "I'm absolutely sure they didn't either. That's my exact point. The user does not "initiate" an installation of downloaded updates when the system is shutdown/restarted from the Start Menu -- it happens automatically since Windows 7 SP1."
    If this is the case it explains what's happening and I have to stop this.  What settings then can I use to install the approved updates only if the sys admin initiates it?
    There are two ways to approach this:
    Configure the WUA to "Notify for Download" (AUOption='2'). As a result, the sysadmin will need to perform two tasks: [1] Download the updates (at which time the Install Updates and Shutdown consideration is in effect, and then [2] Install the updates when
    desired. This implies planning in advance to allow for the download time, and then planning for the installation event.
    Use the Command Prompt to reboot the server: SHUTDOWN /R /T which will completely avoid the installation of any updates already downloaded.
    Personally I would offer this argument for consideration: Why is a sysadmin rebooting a server without consideration for the fact that updates might be pending installation? Most organizations I know
    only restart servers as a function of installing updates, usually during scheduled maintenance windows. Any other activities that require a system restart are deferred until that scheduled maintenance window.
    A corollary to this is also: Why is a sysadmin unfamiliar with patch state of the system they're responsible for?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Remote Assistance without user intervention

    We use remote assistance on our windows 7 client. It's working fine. But sometimes i need to control a client without the need for a user to aprove.
    I found the following link that might solved this issue:
    http://community.spiceworks.com/how_to/show/1567
    But the thing is, on the few windows 7 clients i checked, i'm missing the helpctr\...\...\ folder tree.
    I searched for the helpeeaccept.htm and TakeControlMsgs.htm file, but could not find thm
    So this seems to be for windows XP. Is there a similar solution for Windows 7??
    Thanks

    Hi,
    Based on my understanding, Remote Assistance must need user's approval on Windows 7. This is by design.
    If you have any inconveniences or suggestions, please submit your feedback to our Product Feedback Team :
    http://mymfe.microsoft.com/Windows%20%207/Feedback.aspx?formID=195
    Juke Chou
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedbackhere.
    Juke Chou
    TechNet Community Support

Maybe you are looking for

  • Missing Timecard Report output in Excel

    Hi all, Can you help me in extracting the missing timecard report output in excel format. Is it possible to achieve thru' configuration like setting up some profile option? I have tried using vieweroptions: Application for text to 11i Excel but it is

  • SXMS_CONF_ITEMS

    hi under component monitoring, under self ping test, I see four options. One is does the Integration engine know the buisness system ? Another is Are roles in SXMX_CONF_ITEMS and SLD consistent ? What exactly do these tests mean ? When do we use thes

  • How to retrieve deleted email messages

    How to retrieve deleted Entourage email messages- does anyone know how please??

  • Tables in JTextPane (colored borders)

    I am working on an html Editor. I try to insert a table, i use the class Action, like you can see just down. i succeed in inserting rows and cells but i failed in having a border in my table. I share my editor iin two parts : edition and source where

  • HT204517 Does Apple Watch measure flights climbed?

    Was wondering if you need to have your iPhone with you when walking up flights of stairs in order for Apple Watch to record flights climbed. Flights climbed is measured in the health app on iPhone. Does anyone know?