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

Updated Wiki: Dynamic Form Example 2

$
0
0

Markup Syntax Enhancements in 1.4.0

New enhancements to the Dynamic Form markup syntax allow you to set any property on the Form, Render Engine, or the host Container on the form.

This allows you to entirely configure and drive all properties from the markup, without having to do it through your FoxPro code. A nice feature for anyone who wants to store fully configured form definitions in a lookup table, or those who prefer the markup technique better than the code technique.

You will also notice some new custom attributes on the host container which allow you to control a perimeter area around the outsides of the container (:container-margin-top, :container-margin-left, etc.)

Code Sample

image

Resulting Form

This is a custom-styled form based on the markup above. The default form does*not* render with the padding around the edges, and does not have colored background, and does not have a grey edge color. These visual styles were added by specifying these attributes in the markup block shown above.

SNAGHTML2858c738_thumb[4]


Viewing all articles
Browse latest Browse all 3798

Trending Articles



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