Re: Templates, Object libraries, and standards

From: <rtproffitt_at_my-deja.com>
Date: Wed, 01 Sep 1999 16:12:34 GMT
Message-ID: <7qjj96$ou4$1_at_nnrp1.deja.com>


Scott,

  1. Each graphic object has properties, set the background color there.

You can save these properties in a property class, and save the property class in the object library. You can then subclass the property class from the library into every module where needed, and then subclass individual items to the property class. Lots of work, but easier to maintain.

The other alternative is to set a verbal standard...and just set the properties of all your objects to white (or whatever) Easy and fast, but difficult to maintain.

2. Create a visual attribute to hold the colors you will want on the highlighted (current) row. Then, in the properties for the block, or for individual items look under RECORDS for "Current Record Visual Attribute Group" and select the visual attribute group you created earlier.

Again, the Visual Attribute group can be stored in the object library and subclassed into modules where needed.

In our code, I created a standard where all the master copies of things in the object library are created and stored in one module (in our case, the main module of the application). They are copied into the library from there, and always subclasses (not copied) into lower modules.

3. You can set the background colors for WINDOW or CANVAS in the properties for the window or canvas.

Robert Proffitt
Beckman Coulter
Brea California
RTProffitt AT Beckman DOT com

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Sep 01 1999 - 18:12:34 CEST

Original text of this message