UPDATING THE OPEN SOURCE EDITOR - COLORED TEXTBOXES

Home

Color Controls

Colored Textboxes

INPUTTO$

Spotlight

Development4Life?

console program

console API

Volunteer

Newsletter Help

Index

It is possible to have multiple controls of the same type on a window, and allow each to have its own, separate color. To do this, issue a color statement before each control is created.

We've done it in two of the dialogs in the Open Source Editor. In the bitmap previewer, we have one textbox in pink and the other in blue. In the array maker, we have one textbox in cyan and the other in yellow.

'in the bitmap previewer:
    TextboxColor$="blue"
    textbox #bit.t1, 20,35,300,26
    TextboxColor$="pink"
    textbox #bit.t2, 20,65,300,26


'in the array  maker:
    TextboxColor$="cyan"
    textbox #am.arrayName, 6, 31, 136, 25
    TextboxColor$="yellow"
    textbox #am.arrayItem, 6, 86, 136, 25

This technique will work for the following control colors:

	TextboxColor$
	TexteditorColor$
	ListboxColor$
	ComboboxColor$

See the updated Open Source Editor in the attached zip file.


Home

Color Controls

Colored Textboxes

INPUTTO$

Spotlight

Development4Life?

console program

console API

Volunteer

Newsletter Help

Index