Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Created Unassigned: DynamicForm: support for save/cancel font and heading label class [43316]

$
0
0
Hi Matt.

I made a couple of changes to my copy of DynamicForm.prg that I thought you might want to know about.

1. The first allows you to specify the fontname for the save and cancel buttons, since I use Segoe UI for my controls in Windows Vista and later. (If there's another way to do it, I missed it.)

I added the following property to DynamicFormRenderEngine:

*** 2015-12-16 DH: added this property to control font for save and cancel buttons
cButtonFontName = 'Arial'

In GetFooterMarkup, I added the following to both the save and cancel buttons:

<<lc1>>fontname <<lc2>> (This.cButtonFontName)

2. The second uses the cLabelClass property for the header label, since the class I use for my labels has the desired font and other properties. In GetHeaderMarkup, I replaced this statement:

<<lc1>>class <<lc2>> 'label'

with this:

<<lc1>>class <<lc2>> '<<this.cLabelClass>>'

Doug

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>