EMBARCADERO RADSTUDIO |
GETTING STARTED |
This is the Embarcader RadStudio Opening Screen: Create a New VCL Forms Application:
|
THESE SETTINGS SHOULD NEED TO BE SELECTED ONLY ONCE Select PROJECT / OPTIONS and check to see if "Runtime Packages" are UNCHECKED in each of the three selections: 1) Under "Application" UNCHECK "Enable runtime themes:" 2) Under "Packages" UNCHECK "Build with runtime packages:" 3) Under "C++ Linker" set "Dynamic RTL" to FALSE: Check "Default." With luck your choices will "stick:" |
THIS RARELY NEEDS TO BE CORRECTED: Look in the top right corner to confirm that all the components of your project have the same number, preferably "1". |
Before doing anything else, select FILE / SAVE PROJECT AS. Create a NEW FOLDER with a distinctive name on the DESKTOP: Open that new folder. Accept the default file names and click SAVE. |
Most of the time, you will only need the OBJECT INSPECTOR (left) and the TOOL PALETTE (right). The DESIGN tab provides you with a WYSIWYG editor for the FORM. The UNIT1.CPP tab displays your SOURCE CODE. |
!!! KEEP EVERYTHING NEAT AND TIDY !!! Before you begin, let's do some housekeeping. It is essential that you observe proper formatting conventions. Insert the following comments as a first step in organizing your code: |
Let's write a simple application: Double-click that BUTTON and RadStudio will automatically write the outer shell of an EVENT HANDLER for you. Scroll up and you will see that the EVENT HANDLER has been added at the bottom of your SOURCE CODE. Note: You must fill in the body of an EVENT HANDLER or it will vanish after pressing the GREEN RUN ARROW. Finish typing in the statement. Then press the GREEN RUN ARROW: RadStudio will LINK, COMPILE and RUN (EXECUTE) your code. Close the EXECUTABLE. Every time your application compiles and runs without error, select FILE / SAVE ALL. Select FILE / CLOSE ALL to end your work with RadStudio !!! COPY your project FOLDER from the DESKTOP to your USB stick.. !!! |
CONTINUING YOUR WORK TO CONTINUE WORKING ON YOUR APPLICATION. Your EXECUTABLE will be in the "Debug" folder. |
OBJECTS, PROPERTIES and EVENTS Note that HANDLES will appear on the FORM when you select it. The PROPERTIES of the FORM will appear under the PROPERTIES tab: The EVENTS that the FORM will respond to will appear under the EVENTS tab: Note that HANDLES will appear on the BUTTON when you select it. The EVENTS that the BUTTON will respond to will appear under the EVENTS tab: |
THE TOOL PALETTE The TOOL PALETTE contains hundreds of Drag-And-Drop VISUAL COMPONENTS.
|
HELP For HELP with C++, Windows and the Visual Component Library, select HELP: The HELP window: You will probably want to select the INDEX tab to look for a specific item. |