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.
We will now use the remote debugging feature on Linux to test out our application and fix the UI controls. The first thing you'll need to do is install REAL Studio on your Linux virtual machine. Once you have done that it will appear in the Programming Menu, but we don't actually need to run the entire REAL Studio IDE, we only need to run the remote debugger stub, so let's also add that to the menu. We'll go to System Preferences Main Menu, click on Programming, and click New Item. We'll browse to the remote debugger stub. REAL Studio is installed in the optional software folder and the remote debugger stub is in the extras folder in Remote Debugging Stubs. We need the Linux version, click OK, close and it will now be in our Programming Menu. Now we will run it. First time you run it you should check your settings. Give your virtual machine a name, I've named it Ubuntu 10 because we're running version 10. You also should adjust the download location. This is where the Linux application will be sent when remote debugging is used. You can also check the port settings should you need to change them, but the defaults are what work best. Now we can go back to REAL Studio on the MAC. We'll check our preferences and click on the Debugger. Here we can add new machines for remote debugging. We'll click Add, let us verify that, that is the correct IP address, and click OK. Now when you go to the Project Menu you can go to the Run Remotely option and see our Ubuntu 10 as an available target. Let's click that. The MAC IDE will now compile ToDo for Linux and then transmit the file to our Linux virtual machine. And you can see that it is now running. The About window has it's closed button being cut off, so let's fix that first. Switch back to REAL Studio. In the open event of the About button we will check if we are running on Linux, and if we are, we will increase the height of the button, 29 pixels is a good height for Ubuntu Linux. Let's save this and run it on Linux again. Now we can see that the button looks more typical. That strategy can be used to fix all the problems we see with the control heights. Priority, category, the OK and Cancel buttons. To fix this, it looks like we just need to widen the length of the check box control. We will add this code to the various controls that exhibited the problem. You might recall that our OK Cancel control is actually a container control that is on this window, so we cannot fix the problem directly here, we need to go to the container control itself. Now let's run it on Linux again. Here we can see that everything looks normal.
| 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 |