This note briefly outlines how to add RbApp to any Xojo or RealBasic project.|
The User Guide contains setup instructions you'll need to build the sample applications and use RbApp on your projects. Follow the steps outlined below to use RbApp as externally referenced classes.
Excel Software offers free technical support and welcomes your suggestions.
- Drag the RbApp Core folder of files to your project. To create external links hold down the Command and Option keys on Macintosh or Shift and Ctrl keys on Windows. It is important that this folder of classes be added to your project first before adding the RbApp folder below since those classes are based on the RbApp Core classes. If you add these folders in the reverse order, you will break the subclass references.
- Drag the RbEdit Core folder of files to a project to add the files as external links. The RbEdit Core folder contains all of the supporting code for the RbEdit class. If the project doesn't use RbEdit you can skip this step and remove the RbEdit class from the RbApp folder after completing step 4.
- Drag the RbChart Core folder of files to a project to add the files as external links. The RbChart Core folder contains all of the supporting code for the RbChart class. If the project doesn't use RbChart you can skip this step and remove the RbChart class from the RbApp folder after completing step 4.
- Drag the RbApp folder to the project to add the files as external links.
- Add a module to your project if it doesn't already contain one. Add the globally visible boolean constant, UsesQuickHelp and set it TRUE or FALSE depending on whether you want to use RbHelp. RbApp makes it easy to add contextual help to any Xojo or Realbasic application running on any platform using QuickHelp.
- Add this property to your App class.
fHelp as RbHelp
- In the Open event of your App class, add the following line of code with the parameter 0 for the trial edition of RbApp or your unique ID number for the product edition of RbApp.
- Compile and run your application.