>From a Model or Busisnes Object (or Table) definition to make a Form (in runtime) for mantain that entity.
>
>For BO definition :
>Field: Caption: InputFormat: WidgetType: ValidRuler: etc...
You probably think of some sort of object factory type of framework. Such things may have been popular once in some other languages (I think I've seen one Clipper implementation once), where the forms were built from metadata.
Nowadays, the form itself is metadata - the scx (or vcx) is a table.
You can, of course, build your own metadata, and generate .prg based classes for all your controls and forms at runtime, but I don't see any compelling reason to build such a system. The complexity of today's forms may be just too much, and you may end up inventing hot water - because the form is a table containing metadata, period.
You may have some of your metadata applied to the objects of your form at runtime, via a decorator object which would recurse your form, look for controls with controlsources described in your metadata, then set properties from metadata to these objects, or bindevent() some handler's code to them, attach a behavior or validator object to them - whatever you want.