Skip to content

Instantly share code, notes, and snippets.

@Dadinel
Created June 19, 2019 14:52
Show Gist options
  • Save Dadinel/d93bb5d010d121125dc2ba8ee9a1a268 to your computer and use it in GitHub Desktop.
Save Dadinel/d93bb5d010d121125dc2ba8ee9a1a268 to your computer and use it in GitHub Desktop.
MVC - SED - ViewDef
static function ViewDef()
local oView as object
local oStruct as object
local oModel as object
oView := FwFormView():New()
oModel := FwLoadModel("DNL_SED")
oStruct := FwFormStruct( 2, "SED", /*bFiltro*/ )
oView:SetModel(oModel)
oView:AddField( "VIEW_SED", oStruct, "FIELDS_SED" )
return oView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment