On Jan 14, 2006, at 10:18 AM, [EMAIL PROTECTED] wrote:


I am running RealBasic 5.5 Pro under OSX 10.3.9

I think that I have misunderstood the User's Guide. It says that after selecting FILE >> New Class that a new class is added to a project window (so far, so good) and that the properties window changes to indicate the new class's properties.

But the Properties window does not show any properties (other that name, interfaces, and superclass). It still shows no properties after I select a superclass. After I add properties to the class with EDIT >> New Property, these properties are not shown, either.

Are properties of a New Class not displayed in the properties window, or is my installation of RB broken?

Your installation isn't broken. First, with no superclass and no Interfaces, the only properties other than name will be those that you have added, which is none at this point, so the Properties Window is reflecting that. When you add some properties, you can view them, of course, in the Properties list of the CodeEditor of the class. As for displaying them in the Properties Window, see below.


Another question. After a New Class has been added to the project, can an instance of the class be added to the project in the IDE? Or can that only be done in code, with the New operator?


You can create an instance of the Class by adding it to a window. You can also elect to have properties appear in the Properties Window. This is implemented by right-clicking the property in the properties list of the class's CodeEditor and selecting Window Editor Behavior... in Rb2006. But I see that you are using Rb5.5, so check Show In Properties Window in the property declaration dialog when you add the property to the class. After you create the instance, the properties should appear in the instance's Properties Window.


HTH,

Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to