Created
June 19, 2019 14:52
-
-
Save Dadinel/d93bb5d010d121125dc2ba8ee9a1a268 to your computer and use it in GitHub Desktop.
MVC - SED - ViewDef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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