Previous Topic

Next Topic

Book Contents

Book Index

Form Designer Color Properties

Note: In Form Designer, color properties are displayed as $00BGR and in code, an Integer must be assigned or a runtime error is thrown.

Colors can be expressed as:

See the Color table for available colors and their RGB Notation.

To set the Color property of an FD component in MaxBasic, you can either use ColorByName, or ColorRGB. For example, to change the color of a component, you could use one of these code examples:

panPanel1.color = 123456

panPanel1.color = "123456"

panPanel1.color = ColorByName("green")

panPanel1.color = ColorRGB(064,226,001)