At 09:22 AM 10/1/2012, Daniele Barbieri wrote:
Hello Razzak
I think there is a problem in the command DIALOG when lines is defined
instead of Yes or No:
This command works well:
CLEAR VAR OK ; SET VAR OK TEXT
DIALOG 'METTI LA FRASE DI DIALOGO...' OK KO YES +
CAPTION 'METTI IL CAPTION....' +
ICON QUESTION OPTION |TITLE_FONT_COLOR BLACK |TITLE_BACK_COLOR YELLOW +
|TITLE_FONT_NAME ARIAL |TITLE_BOLD ON |WINDOW_BACK_COLOR WHITE +
|WINDOW_CAPTION SMALL |MESSAGE_BOLD ON
This command does not work: (note the lines 1)
CLEAR VAR OK ; SET VAR OK TEXT
DIALOG 'METTI LA FRASE DI DIALOGO...' OK KO 1 +
CAPTION 'METTI IL CAPTION....' +
ICON QUESTION OPTION |TITLE_FONT_COLOR BLACK |TITLE_BACK_COLOR YELLOW +
|TITLE_FONT_NAME ARIAL |TITLE_BOLD ON |WINDOW_BACK_COLOR WHITE +
|WINDOW_CAPTION SMALL |MESSAGE_BOLD ON
Very best R:egards,
Daniele
Daniele,
Good example. However ...
If you carefully note the difference and the behavior, when using the
option of "1" line input box, it is the INPUT box that is dependent on
your Windows settings, as explained by Mike Byerley, yesterday.
When using the option of Yes and No, there is no INPUT box involved.
Hope that helps you understand the difference.
As mentioned earlier, you may design a mini variable form with a focus
color set to yellow to achieve your goal. Using this approach you will
be able to take advantage of many more options.
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase