Modifying Property Pages

(or, the brute-force method of creating texture interfaces)


OVERVIEW:

This section of the tutorial will show the reader how to do basic manipulations of the existing Property Pages in the sample texture project. These methods can be used to do "brute-force" texture programming for Imagine. Many times custom textures can be made with only minor modifications to the existing Property Pages.

STEP ONE:


Open up the resource window for the Color Property Page. Double click on the "Color 1" text label. A Properties window will pop up for the text label. Changing the text in the "Caption:" edit box will change the displayed text on the Property Page. The "&" ampersand symbol in front of the 1 is what creates the underlined character, 1. Using this method will allow you to change the displayed names of all of the controls. Double clicking on the title bar of the Property Page will allow you to change the text displayed in the tab for the page. For example, you could change the name of the "Color" page to something like "Transparency".


STEP TWO:


The Visible property will let you hide the control on a page by clearing the check mark. The control will still be visible at design time, but you won't see it in the compiled program. You can use this method to hide controls that you won't be using.

The image shown at the right illustrates how you can change the settings on multiple controls at the same time. Simply hold down the Shift key and click on all the controls you want to change (or drag a selection box around the controls). Then click the Right mouse button. A context menu will pop-up letting you select Properties off the menu. Any changes you make in the Multiple Selection Properties window after this will affect all the selected controls.


By hiding or modifying the text labels of the controls you can create you own custom textures without having to do any interface programming at all!

Next we will go into the details of the patch structure that is passed to the texture Work( ) function.

Continue Tutorial
Back to the Texture Tutorial Table of Contents


Back to the Tutorials 

 

 

© 2002 Kazimer Corp.
1010 University Ave. PMB #1862
San Diego, CA 92103-3395