We will be undergoing scheduled maintenance on May 20th, 2013 at 02:00 GMT.
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
Now that the two main sample Windows are created, let's Run the Application to see what it looks like. Alright here we have the main Todo list window where the Task will appear, it resizes as we would expect, we don't yet have a way to display the Edit window so let's go and Add some sample Data, some sample Tasks, so that we can view the Edit window. We will do this by going to the Initial Value Property of the Todo list box, this is where we previously put the headers for the list box, now we can Add some sample Tasks. Now we have two sample Tasks that will appear when the app is run, let's verify that and we can Click on them but we still don't have a way to Open the Edit window. So for testing purposes let's make it so that when we Double-click on one of these Tasks, the Edit window will Open. First we want to tweak a few things on the Edit window, for starters it should not be Resizable and we'll also make it a Sheet so we can demonstrate what that looks like. On windows Sheet Windows display as if they were Movable Modal dialogs. Next we'll want to make sure that the Cancel Button actually closes the window. So on the Action Event of the Cancel Button, we will tell the Window to Close, remember that the Constant-Self, refers to the Window. Now we can go back to the Todo Window and on the Double-clicked event of the List Box we can Open the Task Edit Window. First we will Create a New Instance of the Task Edit Window, and then we will Show the Window. We use Show Modal Within because this is a Sheet Window and we tell it to Show the Sheet within the Todo Window itself. Now let's Run the Application, you'll see that when we Double-click, the Edit Window drops down nicely, doesn't actually display the information from the other window because we haven't hooked that up, however we did hook up the Cancel Button which should Close the Window.
| Course: | Real Studio |
| Author: | Paul Lefebvre |
| SKU: | 34190 |
| ISBN: | 1-936334-77-1 |
| Release Date: | 2011-02-02 |
| Duration: | 7 hrs / 87 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |