Haggis
25th April 2002, 17:11
Hi

I have a string defined in the program script. The string is on the form and displays the message "Working..." when the session runs.

This all works fine. Now the user says her eyesight is bad and sometimes can not see the message!!! I want to make the field appear in bold or flashing text.

I cannot find how to do this? Its a display field on the form. Is it possible to do this sort of thing on a form?

Thanks

Ravenscross
25th April 2002, 17:16
If you are using ASCII I believe this is possible, using the windows client, the answer has to be no.

evesely
25th April 2002, 19:10
I have not seen bold, blink, or underline work on GUI, but reverse does. I think this would stand out for your optically-challenged user.

NPRao
25th April 2002, 20:03
I am not sure on the GUI too, but on the ASCII BaaN 4 series I know it works -

Syntax

string cf$( long attribute_code )

Description

Use this to send a control code to the current window or printer. All characters after the command are printed or displayed in the font associated with the control code. To reset the font to normal, call cf$(0).
The following codes are available:

Code Screen Printer
0 normal normal
1 bold bold
2 blinking bold
3 bold blinking bold
4 reverse reverse
5 bold reverse bold reverse
6 blinking reverse bold reverse
7 bold blinking reverse bold reverse
8 underscore underscore
9 underscore bold underscore bold
10 underscore blinking underscore bold
11 underscore bold blinking underscore bold
12 underscore reverse underscore reverse
13 underscore reverse bold underscore bold reverse
14 underscore reverse blinking underscore bold reverse
15 underscore reverse bold blinking underscore bold reverse
Note

If the printer is unable to print in reverse, text is printed in bold instead. Blinking is possible only on ASCII terminals.

Context

Bshell function.

Example

| To screen
print cf$(4),"This is reversed printing on the screen",cf$(0)

| To printer
spool.pr.line = cf$(4)&"Printed reverse"&cf$(0)

spool.line()

dbinderbr
21st May 2002, 07:56
Hello there !!

Most of the codes mentioned in the previous post also works for GUI interface ok !!!

I´ve already used some of them.