Skip to main content

Hi,

I have tab control in my program. I tried to display the background in bright color instead of the default grey color. I create the tab with this code:

DISPLAY TAB-CONTROL UPON MAIN-WINDOW, LINE 1.5, COL 1.5,
SIZE 159 CELLS, LINES 89 CELLS,
MULTILINE, HANDLE TAB-1
TAB-BACKGROUND-COLOR IS 16
FONT IS LARGE-FONT.

The tab control is then displayed with the color I want, but when I begin adding tabs with this code:

MODIFY TAB-1, TAB-TO-ADD =
("&Project",
"Proper&ties",
"&Revenues && Expenses"
)

I got the following memory error message and the program crashes.

When I don't use the TAB-BACKGROUND-COLOR IS 16 parameter, I don't have any problem, but don't get the background color I want.

Am I doing anything wrong? Are we able to change the background color in any other way?

Thanks.

Hi,

I have tab control in my program. I tried to display the background in bright color instead of the default grey color. I create the tab with this code:

DISPLAY TAB-CONTROL UPON MAIN-WINDOW, LINE 1.5, COL 1.5,
SIZE 159 CELLS, LINES 89 CELLS,
MULTILINE, HANDLE TAB-1
TAB-BACKGROUND-COLOR IS 16
FONT IS LARGE-FONT.

The tab control is then displayed with the color I want, but when I begin adding tabs with this code:

MODIFY TAB-1, TAB-TO-ADD =
("&Project",
"Proper&ties",
"&Revenues && Expenses"
)

I got the following memory error message and the program crashes.

When I don't use the TAB-BACKGROUND-COLOR IS 16 parameter, I don't have any problem, but don't get the background color I want.

Am I doing anything wrong? Are we able to change the background color in any other way?

Thanks.

supportline.microfocus.com/.../gt2581.htm Note: This is version 6 documentation. You'll have to check the manual for the version you are using. I don't recall a
TAB-BACKGROUND-COLOR property, but I was using versions 6, 7, and 8. I would love to have version 10, but I don't have the money to buy it.

Hi,

I have tab control in my program. I tried to display the background in bright color instead of the default grey color. I create the tab with this code:

DISPLAY TAB-CONTROL UPON MAIN-WINDOW, LINE 1.5, COL 1.5,
SIZE 159 CELLS, LINES 89 CELLS,
MULTILINE, HANDLE TAB-1
TAB-BACKGROUND-COLOR IS 16
FONT IS LARGE-FONT.

The tab control is then displayed with the color I want, but when I begin adding tabs with this code:

MODIFY TAB-1, TAB-TO-ADD =
("&Project",
"Proper&ties",
"&Revenues && Expenses"
)

I got the following memory error message and the program crashes.

When I don't use the TAB-BACKGROUND-COLOR IS 16 parameter, I don't have any problem, but don't get the background color I want.

Am I doing anything wrong? Are we able to change the background color in any other way?

Thanks.

supportline.microfocus.com/.../gt2581.htm Note: This is version 6 documentation. You'll have to check the manual for the version you are using. I don't recall a
TAB-BACKGROUND-COLOR property, but I was using versions 6, 7, and 8. I would love to have version 10, but I don't have the money to buy it.

Hi,

I have tab control in my program. I tried to display the background in bright color instead of the default grey color. I create the tab with this code:

DISPLAY TAB-CONTROL UPON MAIN-WINDOW, LINE 1.5, COL 1.5,
SIZE 159 CELLS, LINES 89 CELLS,
MULTILINE, HANDLE TAB-1
TAB-BACKGROUND-COLOR IS 16
FONT IS LARGE-FONT.

The tab control is then displayed with the color I want, but when I begin adding tabs with this code:

MODIFY TAB-1, TAB-TO-ADD =
("&Project",
"Proper&ties",
"&Revenues && Expenses"
)

I got the following memory error message and the program crashes.

When I don't use the TAB-BACKGROUND-COLOR IS 16 parameter, I don't have any problem, but don't get the background color I want.

Am I doing anything wrong? Are we able to change the background color in any other way?

Thanks.

I added TAB-BACKGROUND-COLOR IS 16 to the Acu example tab.cbl and it executes without a mav, You may want to contact Customer Care with your example and what version you are using.