Exportfile for AOT version 1.0 or later Formatversion: 1 ***Element: CLS ; Microsoft Business Solutions-Axapta Class: tutorial_AddRunTimeControls, выгружен Четверг 08.02.2007 ; -------------------------------------------------------------------------------- CLSVERSION 1 CLASS #tutorial_AddRunTimeControls PROPERTIES Name #tutorial_AddRunTimeControls Extends # RunOn #Called from ENDPROPERTIES METHODS Version: 3 SOURCE #addRunTimeControls #void addRunTimeControls(FormRun _formRun) #{ # FormGridControl formGrigControl; # Form _form; # FormBuildDataSource formBuildDataSource; # FormBuildDesign formBuildDesign; # FormBuildStringControl formBuildStringControl; # FormBuildGridControl formBuildGridControl; # Object formBuildControl; # FormBuildGroupControl formGroupControl; # CustTable custTable; # DictTable dictTable; # TableId tableID; # ; # # // Adding a Grid control, this used in SysTableBrowser # tableID = picktable(); # dictTable = new DictTable(tableID); # _form = _formRun.form(); # formBuildDataSource = _form.dataSource(2); # formBuildDataSource.name(dictTable.name()); # formBuildDataSource.table(dictTable.id()); # formBuildDataSource.autoQuery(true); # formBuildDesign = _form.design(); # formBuildDesign.widthMode(-1); # formBuildDesign.widthValue(600); # formBuildDesign.heightMode(-1); # formBuildDesign.heightValue(400); # # formGroupControl = formBuildDesign.addControl(FormControlType::Group, 'SecondGrid'); # formGroupControl.caption("Dynamic Grid"); # formGroupControl.widthMode(1); # formGroupControl.heightMode(1); # formBuildGridControl = formGroupControl.addControl(FormControlType::GRID,'Grid'); # formBuildGridControl.dataSource(dictTable.name()); # formBuildGridControl.name('AddRunTime'); # # formBuildGridControl.widthMode(1); # formBuildGridControl.heightMode(1); # this.showFields(tableNum(custTable), formBuildGridControl, formBuildDataSource); # # _formRun.controlMethodOverload(true); # _formRun.init(); # _formRun.run(); # _formRun.detach(); #} ENDSOURCE SOURCE #classDeclaration #class tutorial_AddRunTimeControls #{ #} ENDSOURCE SOURCE #showFields #public void showFields(tableId tableId, # FormBuildGridControl formBuildGridControl, # FormBuildDataSource formBuildDataSource) # # #{ # FormBuildStringControl formBuildStringControl; # DictTable dictTable; # fieldId fieldId; # int i; # int fieldCnt; # ; # dictTable = new DictTable(tableId); # for (i=1; i<=3; i++) # { # fieldId = dictTable.fieldCnt2Id(i); # formBuildGridControl.addDataField(formBuildDataSource.id(), fieldId2Ext(fieldId, 1)); # } #} ENDSOURCE SOURCE #Main #static void Main(Args _args) #{ # Args args; # FormRun formRun; # Tutorial_AddRunTimeControls tutorial_AddRunTimeControls; # ; # tutorial_AddRunTimeControls = new Tutorial_AddRunTimeControls(); # args = new Args(formstr(Tutorial_AddRunTimeControls)); # formRun = new FormRun(args); # tutorial_AddRunTimeControls.addRunTimeControls(formRun); #} ENDSOURCE ENDMETHODS ENDCLASS ***Element: FRM ; Microsoft Business Solutions-Axapta Forms unloaded at Четверг 08.02.2007 ; -------------------------------------------------------------------------------- FRMVERSION 5 FORM #Tutorial_AddRunTimeControls PROPERTIES Name #Tutorial_AddRunTimeControls ENDPROPERTIES METHODS Version: 3 SOURCE #classDeclaration #public class FormRun extends ObjectRun #{ # #} ENDSOURCE ENDMETHODS OBJECTBANK DATASOURCE OBJECTPOOL PROPERTIES Name #SalesTable Table #SalesTable Index # Company # CounterField # AllowCheck #Yes AllowEdit #No AllowCreate #No AllowDelete #No StartPosition #First AutoSearch #Yes AutoNotify #Yes AutoQuery #Yes OnlyFetchActive #Yes JoinSource # LinkType #Delayed DelayActive #Yes InsertAtEnd #No InsertIfEmpty #No ENDPROPERTIES FIELDLIST ENDFIELDLIST ENDOBJECTPOOL ENDDATASOURCE DATASOURCE OBJECTPOOL PROPERTIES Name #ds Table #Common Index # Company # CounterField # AllowCheck #Yes AllowEdit #Yes AllowCreate #Yes AllowDelete #Yes StartPosition #First AutoSearch #Yes AutoNotify #Yes AutoQuery #Yes OnlyFetchActive #No JoinSource # LinkType #Delayed DelayActive #Yes InsertAtEnd #Yes InsertIfEmpty #Yes ENDPROPERTIES FIELDLIST ENDFIELDLIST ENDOBJECTPOOL ENDDATASOURCE ENDOBJECTBANK JOINS ENDJOINS DESIGN PROPERTIES Left #Auto (left) Top #Auto Width #Auto Height #Auto Visible #Yes Caption #SalesOrder TitleDatasource #SalesTable Frame #Standard WindowResize #Auto WindowType #Standard SaveSize #No AlwaysOnTop #No HideToolbar #No SetCompany #Yes ColorScheme #Default CssClass # ShowWebHelp #Default BackgroundColor #Button face (3D) ImageName # ImageResource #0 Imagemode #Normal (preserve pict. attributes) Mode #Watch SubmitMethod #Auto SupportReload #No LocalWebMenu # AllowDocking #No Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 DataSource # TopMargin #Auto BottomMargin #Auto LeftMargin #Auto RightMargin #Auto ArrangeWhen #Default ArrangeMethod #Vertical Columns #1 Columnspace #Auto ArrangeGuide ARRAY INDEX Columns #0 ENDARRAY HideIfEmpty #Yes AlignChildren #Yes AlignChild #Yes AllowUserSetup #Yes NeededAccessLevel #NoAccess ENDPROPERTIES CONTAINER CONTROL GROUP ;==== controlId:12291, containerId: 0, containerdata:17648 ;---------------------------------------------------------- PROPERTIES Name #Overview AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Column width Height #Column height VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #No HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None FrameType #Auto FramePosition #Outside Caption #Overview FrameOptionButton #None OptionValue #1 ColorScheme #Default BackStyle #Opaque BackgroundColor #Button face (3D) Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 DataSource # TopMargin #Auto BottomMargin #Auto LeftMargin #Auto RightMargin #Auto ArrangeWhen #Default ArrangeMethod #Vertical Columns #1 Columnspace #Auto ArrangeGuide ARRAY INDEX Columns #0 ENDARRAY HideIfEmpty #Yes AlignChildren #Yes AlignChild #Yes AllowUserSetup #Yes NeededAccessLevel #View DataGroup # AutoDataGroup #No ENDPROPERTIES CONTAINER CONTROL GRID ;==== controlId:12292, containerId:12291, containerdata:12291 ;---------------------------------------------------------- PROPERTIES Name #Grid AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Column width Height #Column height VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #No HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None ColorScheme #Default BackgroundColor #Window background TopMargin #0 BottomMargin #0 LeftMargin #0 RightMargin #0 MultiSelect #Yes VisibleCols #Auto VisibleRows #Auto ShowColLabels #Yes ShowRowLabels #Yes HighlightActive #Yes ActiveBackColor #Highlight background ActiveForeColor #Highlight text DataSource #SalesTable DataGroup # AutoDataGroup #No GridLines #Yes ENDPROPERTIES CONTAINER CONTROL STRINGEDIT ;==== controlId:12293, containerId:12292, containerdata:12292 ;---------------------------------------------------------- PROPERTIES Name #SalesTable_SalesId AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Auto Height #Auto VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #Yes HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None LookupButton #Auto ReplaceOnLookup #Yes LimitText #Auto DisplayLength #Auto DisplayHeight #Auto Border #Auto Text # PasswordStyle #No Alignment #Auto ChangeCase #Auto MultiLine #No ColorScheme #Default BackStyle #Opaque BackgroundColor #Window background ForegroundColor #Window text Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelForegroundColor #Window text ShowLabel #Yes Label # LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 LabelWidth #Auto LabelHeight #Auto LabelPosition #Left LabelAlignment #Right DataSource #SalesTable DataField #SalesId Mandatory #No ArrayIndex #0 SearchMode #None ENDPROPERTIES ENDCONTROL CONTROL STRINGEDIT ;==== controlId:12294, containerId:12292, containerdata:12292 ;---------------------------------------------------------- PROPERTIES Name #SalesTable_CustAccount AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Auto Height #Auto VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #Yes HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None LookupButton #Auto ReplaceOnLookup #Yes LimitText #Auto DisplayLength #Auto DisplayHeight #Auto Border #Auto Text # PasswordStyle #No Alignment #Auto ChangeCase #Auto MultiLine #No ColorScheme #Default BackStyle #Opaque BackgroundColor #Window background ForegroundColor #Window text Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelForegroundColor #Window text ShowLabel #Yes Label # LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 LabelWidth #Auto LabelHeight #Auto LabelPosition #Left LabelAlignment #Right DataSource #SalesTable DataField #CustAccount Mandatory #No ArrayIndex #0 SearchMode #None ENDPROPERTIES ENDCONTROL CONTROL STRINGEDIT ;==== controlId:12295, containerId:12292, containerdata:12292 ;---------------------------------------------------------- PROPERTIES Name #SalesTable_CurrencyCode AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Auto Height #Auto VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #Yes HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None LookupButton #Auto ReplaceOnLookup #Yes LimitText #Auto DisplayLength #Auto DisplayHeight #Auto Border #Auto Text # PasswordStyle #No Alignment #Auto ChangeCase #Auto MultiLine #No ColorScheme #Default BackStyle #Opaque BackgroundColor #Window background ForegroundColor #Window text Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelForegroundColor #Window text ShowLabel #Yes Label # LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 LabelWidth #Auto LabelHeight #Auto LabelPosition #Left LabelAlignment #Right DataSource #SalesTable DataField #CurrencyCode Mandatory #No ArrayIndex #0 SearchMode #None ENDPROPERTIES ENDCONTROL CONTROL COMBOBOX ;==== controlId:12296, containerId:12292, containerdata:12292 ;---------------------------------------------------------- PROPERTIES Name #SalesTable_SalesStatus AutoDeclaration #No Visible #Yes AllowEdit #Yes Left #Auto (left) Top #Auto Width #Auto Height #Auto VerticalSpacing #Auto Enabled #Yes Skip #No AlignControl #Yes HelpText # FeatureKey # ConfigurationKey # SecurityKey # DragDrop #None Selection #0 DisplayLength #Auto HideFirstEntry #No ColorScheme #Default BackStyle #Opaque BackgroundColor #Window background ForegroundColor #Window text Font # FontSize #0 Italic #No Underline #No Bold #Default CharacterSet #0 LabelForegroundColor #Window text ShowLabel #Yes Label # LabelFont # LabelFontSize #0 LabelItalic #No LabelUnderline #No LabelBold #Default LabelCharacterSet #0 LabelWidth #Auto LabelHeight #Auto LabelPosition #Left LabelAlignment #Right DataSource #SalesTable DataField #SalesStatus ArrayIndex #0 Border #Auto ComboType #Standard AppendNew #No ENDPROPERTIES ENDCONTROL ENDCONTAINER ENDCONTROL ENDCONTAINER ENDCONTROL ENDCONTAINER ENDDESIGN ENDFORM ***Element: FTM ; Microsoft Business Solutions-Axapta MENUITEM : tutorial_AddRunTimeControls unloaded at Четверг 08.02.2007 ; -------------------------------------------------------------------------------- VERSION 1 MENUITEM #tutorial_AddRunTimeControls Type: 3 PROPERTIES Name #tutorial_AddRunTimeControls Label # HelpText # Class #Class Object #tutorial_AddRunTimeControls Parameters # EnumTypeParameter # EnumParameter # RunOn #Client FeatureKey # ConfigurationKey # CountryConfigurationkey # WebConfigurationkey # SecurityKey # NeededAccessLevel #View Web # WebAccess #All WebSecureTransaction #No WebPage # MultiSelect #No ENDPROPERTIES ENDMENUITEM ***Element: PRN ; Microsoft Business Solutions-Axapta Project : Axaptapedia unloaded at Четверг 08.02.2007 ; -------------------------------------------------------------------------------- PROJECTVERSION 2 PROJECT #Axaptapedia SHARED PROPERTIES Name #Axaptapedia ENDPROPERTIES GROUP #Classes PROPERTIES Name #Classes ProjectGroupType #Classes GroupMask # PreventEditProperties #No ENDPROPERTIES BEGINNODE FILETYPE 0 UTILTYPE 45 UTILOBJECTID 50086 NODETYPE 329 NAME #tutorial_AddRunTimeControls ENDNODE ENDGROUP GROUP #Forms PROPERTIES Name #Forms ProjectGroupType #Forms GroupMask # PreventEditProperties #No ENDPROPERTIES BEGINNODE FILETYPE 0 UTILTYPE 11 UTILOBJECTID 0 NODETYPE 201 NAME #Tutorial_AddRunTimeControls ENDNODE ENDGROUP GROUP #Menu Items PROPERTIES Name #Menu Items ProjectGroupType #MenuItems GroupMask # PreventEditProperties #No ENDPROPERTIES GROUP #Action PROPERTIES Name #Action ProjectGroupType #Action GroupMask # PreventEditProperties #No ENDPROPERTIES BEGINNODE FILETYPE 0 UTILTYPE 3 UTILOBJECTID 0 NODETYPE 296 NAME #tutorial_AddRunTimeControls ENDNODE ENDGROUP ENDGROUP ENDPROJECT ***Element: END