Page 1 of 1

dc_popdate/dc_popcalc

Posted: Mon Jun 17, 2013 5:21 am
by Wolfgang Ciriack
Hi Roger,
i use dc_popdate with Style 4 for all my date fields.
There are some cosmetic changes a like to have:
1. Is it possible, to regard the default dcgetoptions setting of the dialog background color, or spend a new parameter for this (same with dc_popcalc) ?
2. Can you please make the font settings language depending ("10.Arial Bold" is "10.Arial Fett" in german, so the selected date is not visible with the current font settings)
3. The color of today should have more priority than the color of passed date. If possible, please change the if.. elseif code in _dccalen3 (line 667, 674).

Re: dc_popdate/dc_popcalc

Posted: Tue Jun 18, 2013 12:58 am
by skiman
Hi,

If I have things as this, I copy the function of Roger, rename this and modify to my requirements.

I have an abo_popdate function, which is adapted to my needs. With the preprocessor I replace dc_popdate with abo_popdate.

This is quite easy to do.

Re: dc_popdate/dc_popcalc

Posted: Tue Jun 18, 2013 1:13 am
by Wolfgang Ciriack
Hi Chris,
you are right, perhaps this is the best solution.

Re: dc_popdate/dc_popcalc

Posted: Tue Jun 18, 2013 6:21 am
by rdonnay
If I have things as this, I copy the function of Roger, rename this and modify to my requirements.
Thanks, Chris.
That was going to be my suggestion.