Moving from canvas to canvas

hi,
i have created one appllication on 10 g IDS this is having many canvasce when i am on one canvas and press any arrow key then i can able to move from canvas to canvas
also if i enter some values on first canvas and by arrow i go to second canvas and then again if come at first canvas then i can able to see the values that i entered on this canvas.
so please helpl me out
--sanket                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

hi and thanks for the reply but clear block is only work at when button press but if i have putted one when validate item code then again the canvas is moving from one to other with the navigation key on the toolbar so pls help me out again from this
--sanket                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Display employees details in the stacked canvas from the content canvas

    Hi all,
           I want to display employees details in the stacked canvas from the content canvas,where i passed the empno & click on the find button , i have 2 blocks(emp,control), in control block only find button there, I have only one table i.e;emp
    BEGIN
        GO_BLOCK('EMP');
        Set_block_property('EMP', default_where, 'Empno = :EMP.EMPNO');
         Show_view('EMP_DET_CAN');
        execute_query;
    END;
    Thank You

    Hi Andreas Wieden,
    Andreas Weiden wrote:
    When you query on the EMP-block, yiou cannot include a WHERE-condition to that block as the block is cleared when the EXECUTE_QUERY starts. If you want to have a different find-block where you enter your search-condition, you have to include that item in your separate find-block. Otherwise use the standard-search-mechanism with ENTER_QUERY and EXECUTE_QUERY.
    You are right, so where clause is not possible in the same block, right?.I have to take empno column where it is a search column into the control block right?
    Please suggest me i want to retrieve records into the stacked canvas when i pass the empno & click on the find button in the content canvas? Is this not possible? If possible please let me know? I mean i want to take the search column in the EMP Block & find button in the control block..
    Thank You

  • Continuing from using a canvas in tab item

    I asked about inserting a canvas into a tab item and ws given an answer which helped sort the problem , howvere i have hit another problem , the code is
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    namespace WPFDynamicTab
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            private List<TabItem> _tabItems;
            private TabItem _tabAdd;
            private Canvas canvas1;
            public MainWindow()
               try
                    InitializeComponent();
                    // initialize tabItem array
                    _tabItems = new List<TabItem>();
                    // add a tabItem with + in header
                    _tabAdd = new TabItem();
                     canvas1= new Canvas();
                    _tabAdd.Header = "+";
                    _tabAdd.MouseLeftButtonUp += _tabAdd_MouseLeftButtonUp;
                    _tabItems.Add(_tabAdd);
                    this.AddTabItem();   // add first tab
                    // bind tab control
                    tabDynamic.DataContext = _tabItems;
                    tabDynamic.SelectedIndex = 0;
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
            private TabItem AddTabItem()
                int count = _tabItems.Count;
                // create new tab item
                TabItem tab = new TabItem();
                tab.Header = string.Format("Tab {0}", count);
                tab.Name = string.Format("tab{0}", count);
                tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
                // add controls to tab item, this case I added just a canvas
                Canvas canvas = new Canvas();
                canvas.Name = "canvas";
                Canvas canvas1 = new Canvas();
                canvas1.Name = "canvas1";
                // defining the background color of "canvas"
                switch (count)
                    case 0:
                        canvas.Background = Brushes.Green;
                        break;
                    case 1:
                        canvas.Background = Brushes.Red;
                        break;
                    case 2:
                        canvas.Background = Brushes.Blue;
                        break;
                    case 3:
                        canvas.Background = Brushes.Yellow;
                        break;
                    case 4:
                        canvas.Background = Brushes.Brown;
                        break;
                    case 5:
                        canvas.Background = Brushes.Orange;
                        break;
                    case 6:
                        canvas.Background = Brushes.Olive;
                        break;
                    default:
                        break;
                // Canvas_Paint defines the background color of  "canvas1"
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            //    tab.Content = canvas;     // ORIGINAL (commented out) to populate tab.Content with canvas
                Canvas_Paint();
                tab.Content = canvas1;      //  NEW to populate tab.Content with canvas
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                // insert tab item right before the last (+) tab item
                _tabItems.Insert(count - 1, tab);
                return tab;
            private void _tabAdd_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
                TabItem newTab = this.AddTabItem();
                // clear tab control binding
                tabDynamic.DataContext = null;
                // bind tab control
                tabDynamic.DataContext = _tabItems;
                tabDynamic.SelectedItem = newTab;
            private void Canvas_Paint()
                int count = _tabItems.Count;
                switch (count)
                    case 0:
                        canvas1.Background = Brushes.Green;
                        break;
                    case 1:
                        canvas1.Background = Brushes.Red;
                        break;
                    case 2:
                        canvas1.Background = Brushes.Blue;
                        break;
                    case 3:
                        canvas1.Background = Brushes.Yellow;
                        break;
                    case 4:
                        canvas1.Background = Brushes.Brown;
                        break;
                    case 5:
                        canvas1.Background = Brushes.Orange;
                        break;
                    case 6:
                        canvas1.Background = Brushes.Olive;
                        break;
                    default:
                        break;
            private void tabDynamic_SelectionChanged(object sender, SelectionChangedEventArgs e)
    and the xml is
    <Window x:Class="WPFDynamicTab.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="Dynamic Tab" Height="300" Width="527" WindowStartupLocation="CenterScreen">
        <Grid>
            <TabControl Name="tabDynamic" ItemsSource="{Binding}" SelectionChanged="tabDynamic_SelectionChanged">
                <TabControl.Resources>
                    <DataTemplate x:Key="TabHeader" DataType="TabItem">
                        <DockPanel>
                            <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=TabItem }, Path=Header}" />
                        </DockPanel>
                    </DataTemplate>
                </TabControl.Resources>
            </TabControl>
        </Grid>
    </Window>
    The problem is when i use the Canvas "canvas" with the canvas pouplated within the method  all is ok  , however using "canvas1" where canvas1 is populated in Canvas_Paint 
    "canvas1" has null entries. How can I set the background colour in the tab using Canvas_Paint. Can the canvs be put in the XML? I hve simplified the problem from a much more complicated one in order to highlight the problem
    steve

    >>I asked about inserting a canvas into a tab item and ws given an answer which helped sort the problem , howvere i have hit another problem , the code is
    Please close your previous threads by marking helpful posts as answer before starting a new one. And please only ask one question per thread.
    >>How can I set the background colour in the tab using Canvas_Paint?
    You never set the Background of the canvas1 that you create in the AddTabItem() and use as the Content of the TabItem. Just remove this line from this method:
    Canvas canvas1 = new Canvas();
    ...and you will see the background:
    private TabItem AddTabItem()
    int count = _tabItems.Count;
    // create new tab item
    TabItem tab = new TabItem();
    tab.Header = string.Format("Tab {0}", count);
    tab.Name = string.Format("tab{0}", count);
    tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
    // add controls to tab item, this case I added just a canvas
    Canvas canvas = new Canvas();
    canvas.Name = "canvas";
    canvas1.Name = "canvas1";
    // defining the background color of "canvas"
    switch (count)
    case 0:
    canvas.Background = Brushes.Green;
    break;
    case 1:
    canvas.Background = Brushes.Red;
    break;
    case 2:
    canvas.Background = Brushes.Blue;
    break;
    case 3:
    canvas.Background = Brushes.Yellow;
    break;
    case 4:
    canvas.Background = Brushes.Brown;
    break;
    case 5:
    canvas.Background = Brushes.Orange;
    break;
    case 6:
    canvas.Background = Brushes.Olive;
    break;
    default:
    break;
    // Canvas_Paint defines the background color of "canvas1"
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    //tab.Content = canvas; // ORIGINAL (commented out) to populate tab.Content with canvas
    Canvas_Paint();
    tab.Content = canvas1; // NEW to populate tab.Content with canvas
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    // insert tab item right before the last (+) tab item
    _tabItems.Insert(count - 1, tab);
    return tab;
    Another approach bay be to pass the Canvas element to the painted to the Canvas_Paint() method by reference instead of using a class-level field:
    Canvas_Paint(ref canvas1);
    tab.Content = canvas1;
    private void Canvas_Paint(ref Canvas canvas1)
    int count = _tabItems.Count;
    switch (count)
    case 0:
    canvas1.Background = Brushes.Green;
    break;
    case 1:
    canvas1.Background = Brushes.Red;
    break;
    case 2:
    canvas1.Background = Brushes.Blue;
    break;
    case 3:
    canvas1.Background = Brushes.Yellow;
    break;
    case 4:
    canvas1.Background = Brushes.Brown;
    break;
    case 5:
    canvas1.Background = Brushes.Orange;
    break;
    case 6:
    canvas1.Background = Brushes.Olive;
    break;
    default:
    break;
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • Toolkit for CreateJS: How to control the main timeline from outside the canvas.

    Hey Everyone,
    I'm currently trying to do something simple, but my animation breaks whenever I attempt to change my code. I have created a basic animation in Flash where an object moves from the left side of the canvas, to the right, and then loops from the last frame to the first frame. Nothing else. The animation is simply put on the main timeline. I exported the animation with Toolkit for CreateJS through Flash's extension and the animation runs as it should. I am trying to start and stop (restarting from the first frame) the animation with mouse over and mouse off events. I want the events to fire when moused over/off a div OUTSIDE the animation's canvas tag. Is this possible with CreateJS? I'm trying to figure out how to control the main timeline without being inside the canvas tag.
    Example HTML:
    http://www.thephotoncore.com/testing/example_test.html
    Example Code:
    <section id="container">
      <canvas id="canvas" width="550" height="400" style="background-color:#cccccc"></canvas>
      <section id="animation_control">
        <p>Roll over to start and stop animation.</p>
      </section>
    </section>
    Thanks again for the help!
    -DJ

    Hi DjPhantasy5,
    All movieclips on the stage are children of the stage,
    So on the "mouseover" all movieclips on the stage could be stopped with stop and on the "mouseout" all children could be restarted with gotoAndPlay like this:
    function Stop()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("stop" in child)
                                            child.stop();
    function Restart()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("gotoAndPlay" in child)
                                            child.gotoAndPlay(0);
    See http://www.liauw.nl/forums/adobe/djfantasy5/index.html
    But it is also possible to expose "ball1", for example, by adding it to the document.
    This can be done by adding code to "ball1" like so:
    /* js
    document.ball1 = this;
    Then the stopping of the animation would look like:
    function Stop()
         if ("ball1" in document)
              document.ball1.stop();
    etc.
    Have fun!
    Ronald

  • Canvas of canvas type "tab" doesn't get displayed

    I have one canvas which displays fields from two database blocks.
    Next I have a second canvas of canvas type "tab".
    I have already added the fields in the tab pages but the problem is that when I compile and run the form, only the first canvas is displayed.
    I don't see the canvas with the two tab pages.
    What code to I need to display the second canvas please?
    Thanks.

    The tab canvas should appear without using any code.
    make sure both of your canvases are assigned to the same window; they have the same value for the "Window" property. Also make sure you don't have any items on your content canvas (main canvas or first canvas) overlaying the tabbed canvas.
    If there are any overlaying items this will cause the tab canvas to hide to show the item, a tab canvas acts the same as a stacked canvas, the only difference is that it has tab pages.
    Tony

  • Form button does not work when a program is moved from Windows 8.2 to Windows 7

    Hi,
    I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB.
    When the macros tries to write the data to MYOB it fails if I am not running the program in administrator mode.   It seems that Windows 8.2 has a different level of security than Windows 7 and must be run in administrator mode for the ODBC to work. 
    I have had issues after running the program in administrator mode (testing) if I simply do a save (in administrator mode) and then send it to the customer.   The issue is that it just will not work on the customer's site.   I have gotten
    around this in the past by saving any changes, going back out of excel, loading the program again (not in administrator mode) and saving it - before sending it to the customer.   This worked until now.
    For some unknown reason, the last time I sent a program to the customer and carried out the above process, the program stopped working.   Originally I thought that the macro just wouldn't work on windows 7, but eventually found that it is the form button
    that will no longer work when the program is moved from 8.2 to 7.
    Does anyone know why there is an incompatibility between 8.2 and Windows 7 and what I should be doing to ensure that my programs work in my customers environment(windows7)?
    In the meanwhile, I have changed the form button to an activex button and the program works fine in both environments.
    Thanking you in advance,

    there is some OP report after Windows update Dec 2014 macro stop responding ( I cant confirm if this is also related to your issue) its because security update for Office maybe conflict with the active-x that you are installed
    try to
    Close Excel
    Start Windows Explorer.
    Select your system drive (usually C:)
    Use the Search box to search for *.exd
    Delete all the files it finds.
    Start Excel again
    Open that file and save it, and try open at Windows 7
    to get more detail about this issue, I suggest also contact Office forum
    this case also will be solve installing kb3025036
    good luck

  • HT4101 Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud.

    Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud. I am able to see any photo I took on the iPad using the iPad camera (in iTunes, photo stream, or when I open windows explorer and browse the iPad director), however I cannot see any photos transfered from my camera to the iPad. The camera connection kit must have put my photos in a directory I cannot get to and cannot sync.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I have the iPhone 5 and have with 6.0.1 software version.  Although I had them when I moved from iPhone 4 to the 5, the latest update has most of my songs on the phone listed in grey (over 95% of them) and I can't play them.  They are still listed though.

    I have the iPhone 5 and have with 6.0.1 software version.  Although I had them when I moved from iPhone 4 to the 5 (could play them), the latest update has most of my songs on the phone listed in grey (over 95% of them) and I can't play them.  They are still listed in the iTunes library.  When I look in the Summary for the iPhone, it shows Audio as only .16 GB - I have over 5 GB of songs, so what gives?
    P.S. When I look at my Playlists most of the songs are greyed out.  However, at the bottom of the list there is a cloud icon with a downward facing arrow.  When I click on it each song starts to "load" and after a few minutes I have the songs back on in the list.  I have to do this to all my playlists (I had over 100) in order to get access to all my songs.  Then I did a sync and it happened again!
    I use iCloud for documents and some other things (calendar, contact, etc.) but am not aware that I have anything music-wise in the cloud.  Any thougnts?

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • Report for material moved from blocked stock to unrestricted stock

    Hi,
    Is there a standard report in WM showing list and qty of materials moved from blocked stock to unrestricted stock.
    Regards,
    Pratap

    It would have been easy if there was a specific WM movement type for such transfer but due to the reason that the WM 309 is connected to various IM movement types, there is no direct report to get this information.
    Conversely, you may use MB51 with the combination of the WM managed storage location and movement type for your purpose. If there are multiple storage locations assinged to the same warehouse then you may put a range in the selection criteria.

  • I'm moving from windows notebook to MacBook Pro. When teaching I use a USB quality pointer device and want to know it the MacBook works with it

    Greetings,
    After using only Windows computers at work and home our company leadership now allows us to purchase Mac Pro Books if we desire. I am VERY excited!!!
    Both of our sons work as engineers in Silicon Valley and will not purchase anything but Macs for years.  Both son's schedules hinder me to get the answers quickly from them so I am seeking advice from you.
    I love the idea of finally getting a Mac but have some questions and need to find a source to answer my questions before I send in the request for the new computer. If any of you could respond to these "beginner" Mac questions it would be wonderful.
    1. I teach a large variety of classes using Powerpoint style presentations. I own a very nice wireless USB remote that I use to move between slides.  Will the ProBook allow me the ability to use my remote? If so is there anything I need to know to make it work?
    2. What are the tradeoffs of the 13 inch ProBook versus the 15 inch model?
    3. What external devices/equipment should I plan to have available to be effective in an office environment?
    4. In moving from Windows to Mac what is the best was to bridge the learning curve so I can become effective as quickly and effectively as possible?
    I am very excited to make this change and your advice would be so appreciated.
    Blessings,
    David

    David,
    Have you checked the Web site of the manufacturer of your wireless USB remote, to see if their product supports MacBook Pros?
    In general, the 13-inch MacBook Pro has less powerful hardware than the 15-inch model. A detailed comparison can be found in the right-hand column of the table here.
    Which external devices/equipment do you currently have  to be effective in an office environment with your Windows computer? The list is likely to be similar with a computer that runs OS X.
    Which applications do you currently depend upon under Windows? That might be the best guide to providing advice on how to best adapt to OS X.

  • HT1918 i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fi

    i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fix this?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I have just moved from MobileMe, where I had a 'Family account' (with unique email addresses for my wife and myself) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have iPads and iPhones? Mine sync OK...

    We have just moved from MobileMe, where we had a 'Family account' (and we each have our own @me.com email addresses) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have an iPad and an iPhone, but with different accounts set up for mail. Mine syncs OK to Cal and Contacts, but hers doesn't. There must be a way! Please help.

    According the this: http://www.apple.com/mobileme/transition.html, "After moving to iCloud, family member accounts are no longer linked to the master account."  You can share an iCloud calendar (see http://support.apple.com/kb/PH2690), but I don't think you will be able to share iCloud contacts unless you are signed into the same iCloud account on both phones.

  • I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar.Please help

    I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar and I do no longer have an american visa card, only Norwegian. Is there any way I can erase the credit on my account so I can change the appstore country? Or osmething I can use this credit on? Thank you very much

    Try contacting the store support staff at: http://www.apple.com/emea/support/itunes/contact.html they are usually pretty good at sorting out these issues.

Maybe you are looking for