Hi,
I was testing with dcgetoptions colorgets and came to the conclusion that a dcmultiline doesn't use this setting as default. Any reason for this?
dcgetoptions colorgets and dcmultiline
Re: dcgetoptions colorgets and dcmultiline
No reason. It was never requested before now.
If I change it now, it would probably have a negative affect on existing applications.
I could pass another parameter to tell it to include multilines. Would that be acceptable?
If I change it now, it would probably have a negative affect on existing applications.
I could pass another parameter to tell it to include multilines. Would that be acceptable?
The eXpress train is coming - and it has more cars.
Re: dcgetoptions colorgets and dcmultiline
Hi Roger,
Yes, that would be a good option. This will not break existing code, and will make it easy to add this to a complete application.
Yes, that would be a good option. This will not break existing code, and will make it easy to add this to a complete application.
Re: dcgetoptions colorgets and dcmultiline
I use the PRESENTATION clause of DCMULTILINE:
<bnMyColor1 ... 4> are almost the same as the ones used for the "COLORGETS" clause.
A preprocessor command can be used to add "PRESENTATION aML_Presentation" to every DCMULTILINE, so very low code changes are necessary.
Code: Select all
aML_Presentation := {{XBP_PP_FGCLR,<bnMyColor1>},{XBP_PP_BGCLR,<bnMyColor2>},;
{XBP_PP_HILITE_FGCLR,<bnMyColor3>},{XBP_PP_HILITE_BGCLR,<bnMyColor4>}}
@ x,y DCMULTILINE ... PRESENTATION aML_Presentation
A preprocessor command can be used to add "PRESENTATION aML_Presentation" to every DCMULTILINE, so very low code changes are necessary.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."