Where did all the build settings go?

| | Comments (3)

One question I see springing from everyone's lips has to do with the fact that most of the build settings options have seemed to disappear.

No, we haven't removed the ability for you to rename your application! ;-) We've simply moved them to a more sensible place -- the App class.

Since every REALbasic project is required to have an Application (or ConsoleApplication) subclass (which, btw, is called the "blessed App class"), we decided to move a lot of the application-specific stuff to be faked properties on the app class.

So you're able to set things like the Icon, the application names, its memory settings, etc (all the stuff that's missing from the Build Settings dialog) like they were regular properties of the App class. However, you'll notice how I said "fake properties" -- these things don't exist at runtime. So you can't just say g.DrawPicture( App.Icon, 0, 0 ) since there's not really a property there with that name.

There is another places which have this "fake property" mentality -- the Menu Editor. You'll see things like PCAltKey, etc as checkboxes which help you to pick the menu's shortcut. These are strictly there as helpers and don't exist at runtime. When you go to compile your application, we check these properties out and turn them into a KeyboardShortcut string which is then assigned to the menu item. So everything about these fake properties is dealt with when you compile.

So now you know where the build settings have run off to, and why you're not able to access certain "properties" from compiled code.

3 Comments

I read your comments on build settings but did not understand how to implement the changes. How do you go about changing the properties? I don't see the property to change the App icon for example.
Thank you

They're design time only properties, so they cannot be changed in code. You have to go to the properties list for the App class (in the project item editor) to find the Icon "property".

Thank you I found it. I like this IDE more than 5.5

Leave a comment

Disclaimer

I'm currently an employee of REAL Software. My blog is mine. The opinions represented in this blog are mine as well and may not represent my employer's opinions. All original material is copyrighted and property of the author.

REALbasic® is a registered trademark of REAL Software, Inc. REAL SQL Server™ and Lingua™ are pending trademarks of REAL Software, Inc. All rights reserved.