Axapta

You are currently browsing the articles from KomKid.Net matching the category Axapta.

Axapta : Get or Set Checkbox value

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
public void clicked()
{
    Qty     tmpQty1;
    Qty     tmpQty2;
    FormCheckboxControl formCheckboxControl;
    ;
 
    super(); // ต้องรัน super ก่อน ไม่งั้นค่าไม่เปลี่ยน
// รับค่าจาก design
    formCheckboxControl = element.design().control(control::ProdParmHistoricalCost_EndJob);
//   box::info(strfmt("%1",formCheckboxControl.value()));
if(formCheckboxControl.value() == 1){ //ถ้า checked จะเป็น 1
    tmpQty1 = ProdTable::find(ProdParmHistoricalCost.ProdId).QtySched;
    tmpQty2 = ProdTableJour::reportedFinishedGood(ProdParmHistoricalCost.prodId);
 
    if(tmpQty1 != tmpQty2){
       if(box::yesNo("Sure?", DialogButton::Yes, "Confirm") == DialogButton::Yes)
       {
          if(box::yesNo("Sure?",DialogButton::Yes,"Confirm")== DialogButton::Yes){
            formCheckboxControl.value(true); //สั่งให้ checked
          }else{
            formCheckboxControl.value(false); //สั่งให้  ไม่ checked
          }
       }else{
        formCheckboxControl.value(false);
       }
    }
}
}

Written by Komkid on October 19th, 2009 with no comments.
Read more articles on Axapta and Programming.

Axapta : Dialog with lookup control

วิธีสร้าง dialog แบบที่มี control ซึ่ง lookup ได้ เช่น เลือก SalesId แล้วให้อีก control นึง คือ ItemId lookup มาเฉพาะของ SalesId นั้น
dialog_with_lookup_control

ทำได้ดังนี้
1.declare control ไว้ ตาม extended data type ที่จะใช้

1
2
3
4
class LookupDialog extends RunBase
{
    FormStringControl   SalesIdCtrl, ItemIdCtrl;
}

2.สร้าง dialog

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
protected Object dialog(Dialog dialog, boolean forceOnClient)
{
    DialogRunBase ret;
    ;
    ret = super(dialog, forceOnClient);
    ret.caption('Costing report by order');

    SalesIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'SalesId');
    SalesIdCtrl.extendedDataType(extendedTypeNum('SalesId'));


    ItemIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'ItemId');
    ItemIdCtrl.extendedDataType(extendedTypeNum('ItemId'));


    return ret;
}

3.Set ให้ control สามารถ override method ตอน runtime ได้

1
2
3
4
5
6
7
8
9
public void dialogPostRun(DialogRunbase dialog)
{
    ;
    super(dialog);
    dialog.dialogForm().formRun().controlMethodOverload(true);
    dialog.dialogForm().formRun().controlMethodOverloadObject(this);
    SalesIdCtrl = dialog.dialogForm().formRun().design().controlName('SalesId');
    ItemIdCtrl = dialog.dialogForm().formRun().design().controlName('ItemId');
}

4.สร้าง lookup method

1
2
3
4
5
6
7
8
9
10
11
12
void ItemId_lookup()
{
    Query                   query          = new Query();
    SysTableLookup          sysTableLookup =
    SysTableLookup::newParameters(tableNum(SalesLine), SalesIdCtrl);
    ;
    sysTableLookup.addLookupField(fieldNum(SalesLine, ItemId));
    sysTableLookup.addLookupField(fieldNum(SalesLine, Name));
    query.addDataSource(tableNum(SalesLine)).addRange(fieldNum(SalesLine,SalesId)).value(SalesIdCtrl.text());
    sysTableLookup.parmQuery(query);
    sysTableLookup.performFormLookup();
}

5.เก็บรายละเอียด method อื่น ๆ

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public container pack()
{
    return conNull();
}

public boolean unpack(container packedClass)
{
    return true;
}

static void main(Args _args)
{
    LookupDialog test1 = new LookupDialog();
    ;
    if (test1.prompt())
    {
        test1.run();
    }
}

ที่มา :

Written by Komkid on October 15th, 2009 with no comments.
Read more articles on Axapta and Programming.

Axapta Properties

1. Data Dictionary
2. Form
3. Report
4. Query
5. Menus
6. Menu Items

Written by Komkid on August 18th, 2009 with no comments.
Read more articles on Axapta.

Axapta : Form Properties

Form

Property Type

 

Description
Form data source

 

 

 

AllowCheck

 

= If set Configuration keys and Security keys will be validated at runtime.
AllowCreate

 

= Enables inserting new record for the data source.
AllowDelete

 

= Enables deletion of table records for the data source.
AllowEdit

 

= Enables editing of table records for the data source.
AutoNotify

 

= Should be disabled if the form query is not used. Used by the form query,

 

 

 

but seems as have no effect if only disabling this property.
AutoQuery

 

= If disabled, the application user will not be able to use the query dialog,

 

 

 

filter and search options for the data source.
AutoSearch

 

= Should the records be fetched automatically at startup.
Company

 

= If specified, records will be fetched from this company.
CounterField

 

= Used to define a counter for the records inserted using the data source.

 

 

 

CounterField can be used if records must be sorted as inserted by the

 

 

 

application users. A field of the type real must be created in the table used

 

 

 

by the data source. This field must be selected for the property

 

 

 

CounterField. MorphX will automatically set the counter value when a

 

 

 

record is inserted. The form SalesTable makes use of the CounterField

 

 

 

properties when inserting sales order lines.
DelayActive

 

= If set, code execution and linking will be delayed when scrolling through

 

 

 

records. This will improve performance.
Index

 

= Index used for sorting and fetching records.
InsertAtEnd

 

= If set, new records will be inserted at the end.
InsertIfEmpty

 

= A new record will be inserted if the data source query does not find any

 

 

 

records.
JoinSource

 

= The joined form data source.
LinkType

 

= This property is used in combination with JoinSource. LinkType defines the

 

 

 

join mode used when joining two data source.
Name

 

= The name of the form data source.
OnlyFetchActive

 

= This will instruct the query of the form data source only to fetch the values

 

 

 

of the fields used in the form.
StartPosition

 

= Should the form data source show the first or the last record.
Table

 

= The table used in the form data source.

 

 

 

 

Form Data Source Fields

 

 

 

AllowAdd

 

= Allows the user to add this field in the user setup.
AllowEdit

 

= Enables editing of the value in the control.
Enabled

 

= Should the control be enabled.
Mandatory

 

= If set, a value must be specified by the user in the field.
Skip

 

= Should the control be skipped when tab is pressed.
Visible

 

= Used to hide the control. If the follow controls are auto positioned, the

 

 

 

controls will be adjusted.

 

 

 

 

Form Design Group Controls

 

 

 

AlignChild All = Should this control be included in the

 

 

 

adjustment of the group control it is

 

 

 

contained in.
AlignChildren All = If set, controls which are contained in

 

 

 

this control will be aligned according

 

 

 

to each other.
AlignControl All = This setting will adjust the controls

 

 

 

according to the longest label.
AllowEdit All = Enables editing of the value in the

 

 

 

control.
AllowUserSetup All = Enables user settings for this control

 

 

 

element.
ArrangeMethod All = Set the orientation for the arranged

 

 

 

controls.
ArrangeWhen All = Specify when the controls in the

 

 

 

design must be arranged.
AutoDataGroup Group = If enabled, the control can only

 

 

 

contain fields from the group

 

 

 

specified in the property DataGroup.
AutoDeclaration All = If set to Yes, the form design node

 

 

 

can be referred from X++ by using

 

 

 

the section name.
BackgroundColor All = RGB value or name of Windows

 

 

 

color scheme item.
BackStyle All = Set the background for the control to

 

 

 

transparent. Used if the background

 

 

 

color of bitmaps should not be

 

 

 

shown, or to set the color of the

 

 

 

background for the control data to the

 

 

 

color set with the property

 

 

 

BackGroundColor.
Bold ButtonGroup = Set the bold level for control data.

 

Group

 

 

BottomMargin All = Sets the margin below the control.

 

 

 

Caption for the control.
Caption ButtonGroup =

 

 

Group

 

 

 

TabPage

 

 

ColorScheme All = Specify whether to use RGB colors,

 

 

 

or Windows color scheme.
Columns All = Number of columns in the control.

 

 

 

The contained controls will be

 

 

 

arranged in this number of columns.
Columnspace All = Set the space between columns.
ConfigurationKey All = Used to specify a Configuration Key

 

 

 

for the control.
DataGroup Group = Field group name.
DataSource All = Data source which is used in the

 

 

 

control. Data will be retrieved from

 

 

 

this data source.
DragDrop All = Enables drag and drop in the control.
Enabled All = Should the control be enabled.
Font ButtonGroup = The font to be used for the design. If

 

Group

 

not specified the default font is used.
FontSize ButtonGroup = The font size to be used for the

 

Group

 

design. If not specified the default

 

 

 

font size is used.
FrameOptionButton Group = Determines whether the frame should

 

 

 

contain a button.
FramePosition ButtonGroup = Sets the placement of the frame.

 

Group

 

 

FrameType ButtonGroup = Which type of frame must surround

 

Group

 

the control.
Height All = Set a fixed height for the control.
HelpText All = Help text that will be displayed in the

 

 

 

status bar. Will override help text

 

 

 

specified for a field or an extended

 

 

 

data type.
HideIfEmpty All = Hides the control if it is empty.
Italic ButtonGroup = Set the label to italic.

 

Group

 

 

LabelBold Group = Set the label to bold.
LabelFont Group = Set the font for the label. If not

 

 

 

specified the default font will be

 

 

 

used.
LabelFontSize Group = Set the font size for the label. If not

 

 

 

specified the default font size will be

 

 

 

used.
LabelItalic Group = Set the label to Italic.
LabelUnderline Group = Underline the label text. The property

 

 

 

LabelLineBelow is used to set a line

 

 

 

below in the full width of the label.
Left All = Set the control to a fixed position

 

 

 

calculated from left. If controls are

 

 

 

horizontal aligned and one control is

 

 

 

set to a fixed position, all controls

 

 

 

must be fixed.
LeftMargin All = Set a left margin for the control.
Name All = Name of the control.
NeededAccessLevel All = Required access level to activate this

 

 

 

control.
OptionValue Group = Value to be used with the property

 

 

 

FrameOptionButton. Used to set the

 

 

 

default value if FrameOptionButton

 

 

 

is set to Check or Radio.
RightMargin All = Set a right margin for the control.
SecurityKey All = Used to specify a Security Key for

 

 

 

the control.
SelectControl Tab = Should the first control be activated

 

 

 

when changing tab page.
ShowTabs Tab = If disabled, the tabpages will be

 

 

 

hidden.
SizeHeight ButtonGroup = Should all the buttons in the

 

 

 

buttongroup have the same height.
SizeWidth ButtonGroup = Should all the buttons in the

 

 

 

buttongroup have the same width.
Skip All = Should the control be skipped when

 

 

 

tab is pressed.
Tab Tab = Active tabpage when the form is

 

 

 

opened.
TabAppearance Tab = Defines how the tabpages are shown.

 

TabPage

 

 

TabAutoChange Tab = Does not work. Should allow using

 

TabPage

 

the tab key to go to the following

 

 

 

tabpage.
TabLayout Tab = How the tabpages should be

 

 

 

arranged. The option Tunnel cannot

 

 

 

be used for forms as this is a features

 

 

 

used by the web framework.
TabPlacement Tab = Defines where the tabpages are

 

 

 

placed.
Top All = Set a fixed position for the control

 

 

 

calculated from the top of the

 

 

 

previous control.
TopMargin All = Set the margin above the control.
Underline ButtonGroup = Set the label to be underlined.

 

Group

 

 

VerticalSpacing All = Space above and under the control.
Visible All = Used to hide the control. If the follow

 

 

 

controls are auto positioned, the

 

 

 

controls will be adjusted.
Width All = Set a fixed width for the control. If

 

 

 

set to default, the extended data type

 

 

 

will set the width.
Form design

 

 

 

AlignChild

 

= Should this control be included in the adjustment of the group control it is

 

 

 

contained in.
AlignChildren

 

= If set, controls which are contained in this control will be aligned according

 

 

 

to each other.
AllowDocking

 

= Can the window be docked.
AllowUserSetup

 

= Enables user settings for this control element.
AlwaysOnTop

 

= Should the form be displayed as the front most window.
ArrangeMethod

 

= Set the orientation for the arranged controls.
ArrangeWhen

 

= Specify when the controls in the design must be arranged.
BackgroundColor

 

= RGB value or name of Windows color scheme item.
BottomMargin

 

= Sets the margin below the control.
Caption

 

= Caption of the form. This will appear in the title bar of the form.
ColorScheme

 

= Specify whether to use RGB colors, or Windows color scheme.
Columns

 

= Number of columns in the control. The contained controls will be arranged

 

 

 

in this numbers of columns.
Columnspace

 

= Set the space between columns.
DataSource

 

= Data source which is used for the control. Data will be retrieved from this

 

 

 

data source.
Font

 

= The font to be used for the design. If not specified the default font is used.
Frame

 

= This property defines the appearance of the frame around the form.
Height

 

= Set a fixed height for the form design.
HideIfEmpty

 

= Hides the design and only shows the title bar, if empty.
HideToolbar

 

= Hides the toolbar containing buttons for navigating and viewing documents

 

 

 

for the record.
Imagemode

 

= Controls how the background image must be shown. See property

 

 

 

ImageName.
ImageName

 

= Name of the image to be used as background in the form.
ImageResource

 

= Name of the resource to be used as background in the form.
LabelFont

 

= Set the font for the label of the control elements. If not specified the default

 

 

 

font will be used.
Left

 

= Set a fixed horizontal position for the form.
LeftMargin

 

= Set the left margin for the design.
Mode

 

= Seems to have no effect. This is a property used by the predecessor to

 

 

 

Axapta for setting write access on forms.
NeededAccessLevel

 

= Seems to have no effect. NeededAccessLevel is normally defined using the

 

 

 

menu items, as the help text for this property also state.
RightMargin

 

= Set the right margin for the design.
SaveSize

 

= Saves the size of the form design and uses this the next time the form is

 

 

 

displayed.
SetCompany

 

= Would you like to set the company when the form is activated.
TitleDatasource

 

= If enabled, the title fields of the data source will be shown in the caption of

 

 

 

the form.
Top

 

= Set a fixed vertical position for the form.
TopMargin

 

= Set the top margin for the design.
Visible

 

= Used to hide the entire design.
Width

 

= Set a fixed width for the form.
WindowResize

 

= Enables or disables window resizing.
WindowType

 

= Used to change the form to a popup form. A popup form cannot be resized.

 

 

 

 

Type controls

 

 

 

ActiveBackColor Grid = RGB value or name of Windows color

 

 

 

scheme item.
ActiveForeColor Grid = RGB value or name of Windows color

 

 

 

scheme item.
AlignChild Design = Should this control be included in the

 

 

 

adjustment of the group control it is

 

 

 

contained in.
AlignChildren Design = If set, controls which are contained in this

 

 

 

control will be aligned according to each

 

 

 

other.
AlignControl All = This setting will adjust the controls

 

 

 

according to the longest label.

 

 

 

 

Alignment DateEdit = Align the control data. Can be used to left

 

IntEdit

 

align control data, when controls are

 

RealEdit

 

positioned vertical.

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

AllowEdit All = Allows editing the value in the control.
AllowNegative IntEdit = The property is used to prevent negative

 

RealEdit

 

values to be entered by the user.
AnimateFile Animate = The name of the .avi file that should be

 

 

 

played in the control.
AppendNew ComboBox = If set to Yes, the user can manually add

 

 

 

new elements.
ArrayIndex ComboBox = If the selected field or method is an array

 

DateEdit

 

a single element of the array can be

 

IntEdit

 

specified to be used only.

 

Listbox

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

AutoArrange ListView = Should icons be arranged automatically.
AutoDataGroup Grid = If enabled, the control can only contain

 

 

 

fields from the group specified in the

 

 

 

property DataGroup.
AutoDeclaration All = If set to Yes the properties for the control

 

 

 

can be referenced from X++ by using the

 

 

 

control name.
AutoInsSeparator RealEdit = Seems to have no effect. Should allow

 

 

 

disabling auto inserting decimals.
AutoPlay Animate = Starts playback of the video file

 

 

 

automatically.
BackgroundColor Button = RGB value or name of Windows color

 

CheckBox

 

scheme item.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

Grid

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

Table

 

 

 

TimeEdit

 

 

 

Tree

 

 

 

Window

 

 

BackStyle Button = Set the background for the control to

 

CheckBox

 

transparent. Used if the background color

 

ComboBox

 

of bitmaps should not be shown, or to set

 

CommandButton

 

the color of the background for the

 

DateEdit

 

control data to the color set with the

 

IntEdit

 

property BackGroundColor.

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

 

Window

 

 

Bold Button = Set the bold level for control data.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

Border Animate = Typography of the frame belonging to the

 

Button

 

control.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

BottomMargin Grid = Set the margin below the controls data.

 

MenuButton

 

 

 

RadioButton

 

 

 

Table

 

 

ButtonDisplay Button = Determines whether text, image or both

 

CommandButton

 

should be displayed and also the location

 

MenuButton

 

of it.

 

MenuItemButton

 

 

CanScroll ListView = Enables scrolling.

 

Tree

 

 

Caption ActiveX = Caption for the control.

 

HTML

 

 

 

RadioButton

 

 

Center Animate = If set to Yes, the video clip will be

 

 

 

centered in the control.
ChangeCase StringEdit = Used to set the control data to lower case

 

 

 

or upper case.
CheckBox ListView = If enabled, a checkbox will be shown for

 

Tree

 

each row in the control’s data.
ClassName ActiveX = The name or GUID of the class or object

 

HTML

 

to be used.
ColorScheme Button = Specify whether to use RGB colors, or

 

CheckBox

 

Windows color scheme.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

Grid

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

Table

 

 

 

TimeEdit

 

 

 

Tree

 

 

 

Window

 

 

Column Table = Sets the active column.
ColumnHeader ListView = Determines whether a header will be

 

 

 

shown for the columns.
ColumnHeaderButton ListView = If enabled, the column headers will

 

 

 

function as a button. Only when Viewtype

 

 

 

is set to Report.
ColumnImages ListView = If enabled, each object in a column can

 

 

 

contain an image.
Columns RadioButton = Number of columns in the control. The

 

Table

 

contained controls will be arranged in this

 

 

 

numbers of columns.
ComboType ComboBox = The type of combobox.
Command CommandButton = Command to be used when clicking on

 

 

 

the button.
ConfigurationKey All = Used to specify a Configuration Key for

 

 

 

the control.
Custom ActiveX = This property must be used if a custom

 

Html

 

ActiveX property editor should be used.
DataField CheckBox = Select a field from the selected data

 

ComboBox

 

source. Instead of selecting a field, a

 

DateEdit

 

display method can be specified in the

 

IntEdit

 

property DataMethod.

 

Listbox

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

DataGroup Grid = Field group name.
DataMethod CheckBox = Select a display or edit method to be used.

 

ComboBox

 

If the method is from a table, the data

 

DateEdit

 

source must be specified in the property

 

IntEdit

 

Table and the method must exist either on

 

Listbox

 

the data source connected to the table or

 

RadioButton

 

the table itself.

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

 

 

 

 

DataSource CheckBox = Data source which is used in the control.

 

ComboBox

 

Data will be retrieved from this data

 

DateEdit

 

source.

 

Grid

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

DateDay DateEdit = Specify how day is shown. Windows

 

 

 

regional settings are used as default.
DateFormat DateEdit = Set the date format. Windows regional

 

 

 

settings are used as default.
DateMonth DateEdit = Specify how month is shown. Windows

 

 

 

regional settings are used as default.
DateSeparator DateEdit = Set the date separator. Windows regional

 

 

 

settings are used as default.
 ateValue DateEdit = If specified, this date will be used as

 

 

 

default in the value of the control.
DateYear DateEdit = Specify how year is shown. Windows

 

 

 

regional settings are used as default.
DecimalSeparator ReaLEdit = Specify the decimal separator. Windows

 

 

 

regional settings are used as default.
DefaultButton Button = If enabled, this is the standard button.

 

CommandButton

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

Direction Progress = Sets either horizontal or vertical direction.

 

 

 

 

DisabledImage Button = Will show the bitmap at the specified path

 

CommandButton

 

if the button is disabled. The property

 

MenuButton

 

ButtonText must be set to show images.

 

MenuItemButton

 

 

DisabledResource Button = Will show the specified resource bitmap if

 

CommandButton

 

the button is disabled. The property

 

MenuButton

 

ButtonText must be set to show images.

 

MenuItemButton

 

 

DisplaceNegative IntEdit = Adjust the position of negative values

 

RealEdit

 

printed.
DisplayHeight DateEdit = Sets the maximal number of lines to be

 

IntEdit

 

shown at one time for the control.

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

DisplayLength ComboBox = Sets the maximal number of characters to

 

DateEdit

 

be shown at one time for the control.

 

IntEdit

 

 

 

Listbox

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

DragDrop All = Enables drag and drop in the control.
EditLabels ListView = Enables user editing of labels in the

 

Tree

 

control.
Enabled All = Should the control be enabled.
EnumType ComboBox = Specity an enum to be used for the control

 

Listbox

 

if a field or a method is not specified.

 

RadioButton

 

 

ExtendedDataType ComboBox = Specify an extended data type for the

 

DateEdit

 

control if a field or a method is not

 

IntEdit

 

specified

 

Listbox

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

Font Button = The font to be used for the control data. If

 

ComboBox

 

not specified the default font is used.

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

FontSize Button = The font size to be used for the control

 

ComboBox

 

data. If not specified the default font size

 

CommandButton

 

is used.

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

ForegroundColor Button = RGB value or name of Windows color

 

CheckBox

 

scheme item.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

 

Window

 

 

FormatMST RealEdit = Format the value using the settings for the

 

 

 

standard company currency.
FramePosition RadioButton = Sets the position of the frame.
FrameType RadioButton = Which frame type must surround the

 

 

 

control.
GridLines Grid = Show lines in the grid. Only valid by

 

ListView

 

control type ListView when the property

 

Table

 

ViewType is set to Report.
HasButtons Tree = If enabled, + or – is shown if the control

 

 

 

node can be expanded.
HasLines Tree = This will draw lines for each row in the

 

 

 

data of the control.
Headerdragdrop ListView = Enables drag and drop for the header in

 

 

 

the control.
Height All = Set a fixed height for the control.
HelpText All = Help text that will be displayed in the

 

 

 

status bar. This value will override the

 

 

 

label entered at the table field or extended

 

 

 

data type.
HideFirstEntry ComboBox = Hides the first data entry.

 

Listbox

 

 

 

RadioButton

 

 

HighlightActive Grid = If enabled, the selected line will be

 

 

 

marked with a color.
Imagemode Window = Controls how the background image must

 

 

 

be shown. See property ImageName.
ImageName Window = Name of the image to be used as

 

 

 

background in the control.
ImageResource Window = Specify an image resource id to be shown.
Italic ComboBox = Set the font to italic for the control data.

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

Item ComboBox = Seems to have no effect. The property

 

Listbox

 

Selection is used to set the default entry.

 

RadioButton

 

Is disabled if an enum is specified for the

 

 

 

control.
ItemAlign ListView = Seems to have no effect. Should be

 

 

 

aligning the items in a list control to the

 

 

 

top or to the left.
Items ComboBox = Is disabled if an enum is specified for the

 

Listbox

 

control. Can be used for manually set the

 

RadioButton

 

number of entries for a radio button

 

 

 

control.
Label CheckBox = Used to override the default label from

 

ComboBox

 

the field or extended data type. The label

 

DateEdit

 

will not be displayed, if the property

 

IntEdit

 

ShowLabel is set to false.

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelAlignment CheckBox = Align the label of the control.

 

ComboBox

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelBold CheckBox = Set the label to bold.

 

ComboBox

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelFont CheckBox = Set the font for the label. If not specified

 

ComboBox

 

the default font will be used.

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelFontSize CheckBox = Set the font size for the label. If not

 

ComboBox

 

specified the default font size will be

 

DateEdit

 

used.

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelForegroundColor CheckBox = RGB value or name of Windows color

 

ComboBox

 

scheme item to be used for the label of the

 

DateEdit

 

control.

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelHeight CheckBox = This property is not working. Should be

 

ComboBox

 

used to set the height of a label.

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelItalic CheckBox = Set the label to Italic.

 

ComboBox

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelPosition CheckBox = Position the label above or to the left.

 

ComboBox

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelUnderline CheckBox = Underline the label text.

 

ComboBox

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

LabelWidth CheckBox = Used when the property LabelPostion is

 

ComboBox

 

set to Left. Set a fixed width for the label.

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

Left All = Set the control to a fixed position

 

 

 

calculated from left.
LeftMargin Grid = Set a left margin for the control.

 

MenuButton

 

 

 

RadioButton

 

 

 

Table

 

 

LimitText DateEdit = The maximal number of characters that

 

IntEdit

 

the user can enter in the control.

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

LinesAtRoot Tree = This will draw lines for the root row in

 

 

 

the data of the control.

 

 

 

When should the control have a lookup
LookupButton DateEdit = button.

 

IntEdit

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

Loops Animate = Number of times to play the movie clip.

 

 

 

Setting to zero will cause the movie clip

 

 

 

to be repeated.
Mandatory DateEdit = If set, the field must be filled out.

 

IntEdit

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

MenuItemName MenuItemButton = Name of the menu item. Only menu items

 

 

 

of the type defined in the property

 

 

 

MenuItemType can be selected.
MenuItemType MenuItemButton = Type of the menu item.
MultiLine StringEdit = Should the value of the data control be

 

 

 

able to contain several lines.
MultiSelect Button = In a grid, it determines whether several

 

CommandButton

 

rows can be selected at one time. In other

 

Grid

 

types of controls, the control will be

 

MenuButton

 

disabled if several rows are selected and

 

MenuItemButton

 

this property is not enabled.
Name All = The name of the section. This is the name

 

 

 

used from X++ to refer to the section,

 

 

 

when the property AutoDeclaration is set.
NeededAccessLevel Button = Required access level to activate this

 

CommandButton

 

control.

 

MenuButton

 

 

 

MenuItemButton

 

 

NoOfDecimals RealEdit = Set the number of decimals to be shown.
NormalImage Button = Will show the specified resource bitmap if

 

CommandButton

 

the button is enabled. The property

 

MenuButton

 

ButtonText must be set to show images.

 

MenuItemButton

 

 

NormalResource Button = Will show the specified image if the

 

CommandButton

 

button is enabled. The property

 

MenuButton

 

ButtonText must be set to show images.

 

MenuItemButton

 

 

OneClickActivate ListView = Activate with just one click.
PasswordStyle StringEdit = If set, the value of the control will be

 

 

 

shown as *.
Pos Progress = Start position for progress bar.
ProgressType Progress = Seems as having no effect.
RangeHi Progress = Maximum value for the progress bar.
RangeLo Progress = Minimum value for the progress bar.
RealValue RealEdit = Sets the default value for the control.
ReplaceOnLookup DateEdit = Should the value entered in the control be

 

IntEdit

 

replaced when a new value is selected on

 

RealEdit

 

lookup.

 

StringEdit

 

 

 

TimeEdit

 

 

RightMargin Grid = Set a right margin for the control.

 

MenuButton

 

 

 

RadioButton

 

 

 

Table

 

 

RotateSign IntEdit = Used to invert negative values.

 

RealEdit

 

 

Row Table = Active row.
Rows Table = Number of rows in the control.
RowSelect ListView = Can rows be selected.

 

Tree

 

 

SaveRecord Button = Should the record be saved by the system

 

CommandButton

 

when activating this control.

 

MenuButton

 

 

 

MenuItemButton

 

 

SearchMode DateEdit = Sets the search mode on how to find

 

IntEdit

 

records when typing.

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

SecurityKey All = Used to specify a Security Key for the

 

 

 

control.
Selection ComboBox = Sets the initially selected item.

 

Listbox

 

 

 

RadioButton

 

 

ShowColLabels Grid = Should column labels be shown.

 

Table

 

 

ShowLabel CheckBox = If set to No, the label will not be

 

ComboBox

 

displayed.

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

RealEdit

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Window

 

 

ShowRowLabels Grid = Should column labels be shown.

 

Table

 

 

ShowSelAlways ListView = Should the object selection be maintained

 

Tree

 

when focus is changed.
ShowShortCut Button = If enabled, a shortcut will be reserved and

 

CommandButton

 

shown in the label of the control.

 

MenuButton

 

 

 

MenuItemButton

 

 

ShowZero IntEdit = Defines whether zero values must be

 

RealEdit

 

shown.
SignDisplay IntEdit = Set how to display negative values.

 

RealEdit

 

 

SingleSelection ListView = Allow more than one object to be selected

 

Tree

 

at a time.
Skip All = Should the control be skipped when the

 

 

 

tab key is pressed.
Sort ListView = Defines how the sorting of elements is

 

 

 

performed.
Step Progress = Number of steps in each iteration.
Text Button = Enter the text to be shown.

 

ComboBox

 

 

 

CommandButton

 

 

 

Listbox

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

StaticText

 

 

 

StringEdit

 

 

ThousandSeparator RealEdit = Specify the thousand separator. Windows

 

 

 

regional settings are used as default.
TimeFormat TimeEdit = Set the time format. Windows regional

 

 

 

settings are used as default.
TimeHours TimeEdit = Specify whether to show hours. Windows

 

 

 

regional settings are used as default.
TimeMinute TimeEdit = Specify whether to show minutes.

 

 

 

Windows regional settings are used as

 

 

 

default.
TimeSeconds TimeEdit = Specify whether to show seconds.

 

 

 

Windows regional settings are used as

 

 

 

default.
TimeSeparator TimeEdit = Set the time separator. Windows regional

 

 

 

settings are used as default.
Top All = Set a fixed position for the control

 

 

 

calculated from the top of the previous

 

 

 

control.
TopMargin Grid = Set the margin above the control.

 

MenuButton

 

 

 

RadioButton

 

 

 

Table

 

 

TrackSelect ListView = Should the object be selected when the

 

Tree

 

cursor is moved over the control.
Transparent Animate = Should a transparent background be used.
TwoClickActivate ListView = Require activation with double click.
Underline Button = Underline the control data.

 

ComboBox

 

 

 

CommandButton

 

 

 

DateEdit

 

 

 

IntEdit

 

 

 

Listbox

 

 

 

ListView

 

 

 

MenuButton

 

 

 

MenuItemButton

 

 

 

RadioButton

 

 

 

RealEdit

 

 

 

StaticText

 

 

 

StringEdit

 

 

 

TimeEdit

 

 

 

Tree

 

 

Value CheckBox = Specifiy the initial value.

 

IntEdit

 

 

 

MenuItemButton

 

 

 

TimeEdit

 

 

VerticalSpacing All = Space above and under the control.
ViewType ListView = Specify how objects are represented

 

 

 

visually.
Visible All = Used to hide the control. If the following

 

 

 

controls are auto positioned, the controls

 

 

 

will be adjusted.
VisibleCols Grid = How many columns should be visible.
VisibleRows Grid = How many rows should be visible.
Width All = Set a fixed width for the control. If set to

 

 

 

default, the extended data type will set the

 

 

 

width.

Written by Komkid on August 18th, 2009 with no comments.
Read more articles on Axapta.

Axapta : Report Properties

Report

Property Type/Section

 

Description
Report

 

 

 

Name

 

= AOT name of the report.
AllowCheck

 

= If set Configuration keys and Security keys will be validated at runtime.
Autojoin

 

= Joins the reports query with the caller. If the report is called from a form,

 

 

 

the report will be joined with the called record.
Interactive

 

= Specify whether the dialog is shown to the user at runtime.

 

 

 

 

Report design

 

 

 

Name

 

= Name of the design. Used to identify the design, if the report have more

 

 

 

than one design.
AutoDeclaration

 

= If set to Yes, the report design node referred from X++ by using the section

 

 

 

name.
Caption

 

= Caption for the report. If the standard report template InternalList is used,

 

 

 

caption will be used to print the name of the report in the header.
Description

 

= Will be printed in the top bar of the print to screen window. If not specified,

 

 

 

the Caption text is printed instead.
JobType

 

= Can be used to identify the design. JobType is not printed.
EmptyReportPrompt

 

= Specify a text to be printed in the Infolog, if the report is empty. If not used,

 

 

 

the default text is printed.
ArrangeWhen

 

= Specify when the controls in the design must be arranged.
ColorScheme

 

= Specify whether to use RGB colors, or Windows color scheme.
ForegroundColor

 

= RGB value or name of Windows color scheme item.
ResolutionX

 

= Seems as having no effect.
ResolutionY

 

= Seems as having no effect.
Ruler

 

= Used to set the measure units for the visual designer.
ReportTemplate

 

= Choose a report template to be used for the design.
TopMargin

 

= Set the top margin for the design.
BottomMargin

 

= Set the bottom margin for the design.
LeftMargin

 

= Set the left margin for the design.
RightMargin

 

= Set the right margin for the design.
Language

 

= Set a fixed language for the design. If not set the users default language will

 

 

 

be used.
Font

 

= The font to be used for the design. If not specified the default font is used.
FontSize

 

= The font size to be used for the design. If not specified the default font size

 

 

 

is used.
Italic

 

= Set the design to italic.
Underline

 

= Underline text in the design.
Bold

 

= Set the design to bold.
PrintFormName

 

= The application form used for the printer dialog. If the report is called using

 

 

 

the report runbase framework, this form is not used.
HideBorder

 

= Skip printing labels and lines around controls.
Orientation

 

= Fix orientation to portrait or landscape. A design will default be printed

 

 

 

landscape, if the there are too many controls to fit portrait without scaling.
FitToPage

 

= Determine whether to scale the report, if the controls cannot fit in the width

 

 

 

of the report.
RemoveRepeatedHeaders

 

= Skip headers where no records are printed for the header.
RemoveRepeatedFooters

 

= Skip footers where no records are printed for the footer.
RemoveRedundantFooters

 

= Skip printing sum footers if only one record is to be summed.

 

 

 

 

Auto design

 

 

 

GrandHeader

 

= Defines whether to print a header text at sorting breaks. This header text is

 

 

 

identified as super grand header, and will be printed before the grand

 

 

 

header which can be set at the body section.
GrandTotal

 

= Will print a super grand total for controls where the property SumAll,

 

 

 

SumPos or SumNeg is set.
HeaderText

 

= This text will be printed as header text at sorting breaks if GrandHeader is

 

 

 

set to Yes. If no text has been entered, the default test will be printed.
TotalText

 

= If GrandTotal is set to Yes, this text will be printed as super grand total text,

 

 

 

instead of the default text.

 

 

 

 

Sections controls

 

 

 

ArrangeMethod All = Set the orientation for the arranged

 

 

 

controls.
ArrangeWhen All = Specify when the controls in the section

 

 

 

must be arranged.
AutoDeclaration ProgrammableSection = If set to Yes, the section can be referred

 

Body

 

from X++ by using the section name.

 

PageFooter

 

 

Bold All = Set the bold level for headings and data in

 

 

 

the section.
Bottom ProgrammableSection = Set a fixed position for the section

 

Prolog

 

calculated from the bottom of the page.

 

Body

 

 

 

Epilog

 

 

BottomMargin All = Set the margin below the section data.
ColorScheme All = Specify whether to use RGB colors, or

 

 

 

Windows color scheme.
ColumnHeadingsStrategy ProgrammableSection = Define whether labels must be word

 

Body

 

wrapped or printed staggered. If set to

 

PageFooter

 

DisplacedLines, the heading labels will be

 

 

 

printed staggered on two lines, if the labels

 

 

 

cannot be fit on a single line.
Columns All = This property has no function. Used on

 

 

 

forms to define the number of columns for

 

 

 

arranging sub controls.
Columnspace All = Set the space between columns.
ControlNumber ProgrammableSection = The identification for a programmable

 

 

 

section. Used to execute the section from

 

 

 

X++.
Font All = The font to be used for the section. If not

 

 

 

specified the default font is used.
FontSize All = The font size to be used for the section. If

 

 

 

not specified the default font size is used.
FooterText Body = Only available in auto designs. This text

 

 

 

will be printed as grand total text, instead

 

 

 

of the default text.
ForegroundColor All = RGB value or name of Windows color

 

 

 

scheme item.
GrandHeader Body = Only available in auto designs. Defines

 

 

 

whether to print a header text at sorting

 

 

 

breaks.
GrandTotal Body = Only available in auto designs. Will print a

 

 

 

grand total for controls where the property

 

 

 

SumAll, SumPos or SumNeg is set.
HeaderText Body = Only available in auto designs. This text

 

 

 

will be printed as header text at sorting

 

 

 

breaks. If not text entered, the default test

 

 

 

will be printed.
Height All = Set a fixed height for the section.
Italic All = Set the font to italic for headings and data

 

 

 

in the section.
LabelBottomMargin ProgrammableSection = Set the margin below the heading labels,

 

Body

 

and before section data.

 

PageFooter

 

 

LabelTopMargin ProgrammableSection = Set the margin above the heading labels.

 

Body

 

 

 

PageFooter

 

 

LeftMargin All = Left margin for the section.
LineAbove All = Add a line above the section data.
LineBelow All = Add a line below the section data.
LineLeft All = Add a line to the left of the section data.
LineRight All = Add a line to the right of the section data.
Name All = The name of the section. This is the name

 

 

 

used from X++ to refer to the section,

 

 

 

when the property AutoDeclaration is set.
NoOfHeadingLines ProgrammableSection = Labels are printed as heading lines. Used

 

Body

 

to set NoOfHeadingLines to a fixed value.

 

PageFooter

 

Set to zero if no header should be printed.
ResolutionX All = Seems as having no effect.
ResolutionY All = Seems as having no effect.
RightMargin All = Right margin for the section.
Ruler All = Used to set the measure unit for the

 

 

 

current section in the visual designer.
Table Body = Used by element.send() to determine

 

 

 

which body sections to be printed.
Thickness All = Set thickness of the lines added for the

 

 

 

section data.
Top ProgrammableSection = Set a fixed position for the section

 

Prolog

 

calculated from the top of the page.

 

Body

 

 

 

Epilog

 

 

TopMargin All = Set the margin above the section data.
Underline All = Underline headings and data in the

 

 

 

section.

 

 

 

 

Section Template

 

 

 

SectionTemplate

 

= Name of the section template.
Table

 

= The table used for the section template. The table must a part of the map

 

 

 

used for the section template.

 

 

 

 

Section Group

 

 

 

DataField

 

= Can be used to identify a section group if a report contains two section

 

 

 

group using the same table.
Name

 

= Name of the section group.
Table

 

= The table used in the section group. Used by element.send() to determine

 

 

 

when to print the section group.

 

 

 

 

Type controls

 

 

 

Alignment String = Align the control data. Can be used to left

 

Real

 

align control data, when controls are

 

Integer

 

positioned vertical.

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Prompt

 

 

AllowNegative Real = This property is of no use on reports. The

 

Integer

 

property is used on forms to prevent

 

Sum

 

negative values to be entered by the user.
ArrayIndex String = If the selected field or method is an array a

 

Real

 

single element of the array can be

 

Integer

 

specified to be printed only.

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Prompt

 

 

AutoDeclaration All = If set to Yes the properties for the control

 

 

 

can be referenced from X++ by using the

 

 

 

control name.
AutoInsSeparator Real = Used to have MorphX to set a decimal

 

Sum

 

separator.
BackgroundColor String = RGB value or name of Windows color

 

Text

 

scheme item.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

BackStyle String = Set the background for the control to

 

Text

 

transparent. Used if the background color

 

Real

 

of bitmaps should not be shown, or to set

 

Integer

 

the color of the background for the control

 

Enum

 

data to the color set with the property

 

Date

 

BackGroundColor.

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Prompt

 

 

Bold String = Set the bold level for control data.

 

Text

 

 

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

BottomMargin All = Set the margin below the controls data.
ChangeCase String = Used to set the control data to lower case

 

Text

 

or upper case.

 

Enum

 

 

 

Prompt

 

 

ChangeLabelCase String = Used to set the label to lower case or

 

Real

 

upper case.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

ColorScheme All = Specify whether to use RGB colors, or

 

 

 

Windows color scheme.
ConfigurationKey All = Used to specify a Configuration Key for

 

 

 

the control.
CssClass All = Web property.
DataField String = Select a field from the selected data

 

Real

 

source. Instead of selecting a field, a

 

Integer

 

display method can be specified in the

 

Enum

 

property DataMethod.

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Prompt

 

 

DataFieldName Sum = Name of the control to be summed.
DataMethod String = Select a display method to be printed. If

 

Real

 

the display method is from a table, the

 

Integer

 

data source must be specified in the

 

Enum

 

property Table.

 

Date

 

 

 

Time

 

 

 

Bitmap

 

 

DateDay Date = Specify how day is shown. Windows

 

 

 

regional settings are used as default.
DateFormat Date = Set the date format. Windows regional

 

 

 

settings are used as default.
DateMonth Date = Specify how month is shown. Windows

 

 

 

regional settings are used as default.
DateSeparator Date = Set the date separator. Windows regional

 

 

 

settings are used as default.
DateYear Date = Specify how year is shown. Windows

 

 

 

regional settings are used as default.
DecimalSeparator Real = Specify the decimal separator. Windows

 

Sum

 

regional settings are used as default.
DisplaceNegative Real = Adjust the position of negative values

 

Integer

 

printed.

 

Sum

 

 

DynamicHeight String = If set to Yes the height will be set

 

 

 

according to the text.
ExtendedDataType String = Specify an extended data type for the

 

Text

 

control if a DataField or a DataMethod is

 

Real

 

not specified.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Prompt

 

 

ExtraSumWidth Real = Defines extra space for the summed value.

 

Integer

 

Useful in currencies with a lot of digits.

 

Sum

 

 

Font String = The font to be used for the control data. If

 

Text

 

not specified the default font is used.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

FontSize String = The font size to be used for the control

 

Text

 

data. If not specified the default font size

 

Real

 

is used.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

ForegroundColor All = RGB value or name of Windows color

 

 

 

scheme item.
FormatMST Real = Format the value using the settings for the

 

Sum

 

standard company currency.
Height All = Set a fixed height for the control.
ImageName Bitmap = Path and filename for bitmap.
ImageRessource Bitmap = Used to specify a resource id for the

 

 

 

bitmap. Use the report

 

 

 

Tutorial_Resources to get an overview

 

 

 

of the resource id’s.
Italic String = Set the font to italic for the control data.

 

Text

 

 

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

Label All = Used to override the default label or if no

 

 

 

DataField or ExtendDataType is specified.

 

 

 

The label will not be printed, if the

 

 

 

property ShowLabel is set to false.
LabelBold String = Set the label to bold.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelCssClass All = Web property.
LabelFont String = Set the font for the label. If not specified

 

Real

 

the default font will be used.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelFontSize String = Set the font size for the label. If not

 

Real

 

specified the default font size will be used.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelItalic String = Set the label to Italic.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelLineBelow String = Print a line with the width of the control

 

Real

 

below the label.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelLineThickness String = Set the thickness of the line below the

 

Real

 

label.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelPosition String = Position the label above or to the left.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelTabLeader String = Used when the property LabelPosition is

 

Real

 

et to Left. Put tabs or dots follow by a

 

Integer

 

colon after the label.

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelUnderline String = Underline the label text. The property

 

Real

 

LabelLineBelow is used to set a line

 

Integer

 

below in the full width of the label.

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

LabelWidth String = Used when the property LabelPosition is

 

Real

 

set to Left. Set a fixed width for the label.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

Left All = Set the control to a fixed position

 

 

 

calculated from left. If controls are

 

 

 

horizontal aligned and one control is set to

 

 

 

a fixed position, all controls must be fixed.
LeftMargin All = Set a left margin for the control.
Line Shape = Specify the line type for the shape.
LineAbove All = Add a line above the control data.
LineBelow All = Add a line below the control data.
LineLeft All = Add a line to the left of the control data.
LineRight All = Add a line to the right of the control data.
MenuItemName All = Web property.
MenuItemType All = Web property.
ModelFieldName All = Enter the name of a control which this

 

 

 

control must be position according to. Is

 

 

 

often used to position prompt and sums

 

 

 

controls to be on line with the data

 

 

 

controls.
Name All = Name of the control.
NoOfDecimals Real = Set the number of decimals to be shown.

 

Sum

 

 

ResizeBitmap Bitmap = Used to resize the bitmap if a fixed width

 

 

 

and height is specified for the bitmap.
RightMargin All = Set a right margin for the control.
RotateSign Real = Used to invert negative values.

 

Integer

 

 

 

Sum

 

 

SecurityKey All = Used to specify a Security Key for the

 

 

 

control.
ShowLabel String = If set to No, the label will not be printed.

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Shape

 

 

ShowPicAsText Bitmap = Print the image path or the resource id

 

 

 

instead of printing the bitmap.
ShowZero Real = Defines whether zero values must be

 

Integer

 

shown.

 

Sum

 

 

SignDisplay Real = Set how to display negative values.

 

Integer

 

 

 

Sum

 

 

SumAll Real = Sum all values. Used by sum controls to

 

Integer

 

define which controls to be summed. If set

 

 

 

in auto design, the control will be summed
SumNeg Real = if the user add a group total in the dialog.

 

Integer

 

Set if only negative values should be

 

 

 

summed.
SumPos Real = Set if only positive values should be

 

Integer

 

summed.
SumType Sum = Set to sum only positive or negative

 

 

 

values.
Table String = Select a data source to be used for the

 

Real

 

control.

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Bitmap

 

 

 

Prompt

 

 

Text Text =

 

Thickness All = Enter the text to be printed.

 

 

 

Set thickness of the lines added for the

 

 

 

control data.
ThousandSeparator Real = Specify the thousand separator. Windows

 

Sum

 

regional settings are used as default.
TimeFormat Time = Set the time format. Windows regional

 

 

 

settings are used as default.
TimeHours Time = Specify whether to show hours. Windows

 

 

 

regional settings are used as default.
TimeMinute Time = Specify whether to show minutes.

 

 

 

Windows regional settings are used as

 

 

 

default.
TimeSeconds Time = Specify whether to show seconds.

 

 

 

Windows regional settings are used as

 

 

 

default.
TimeSeparator Time = Set the time separator. Windows regional

 

 

 

settings are used as default.
Top All = Set a fixed position for the control

 

 

 

calculated from the top of the section. If

 

 

 

controls are horizontal aligned and one

 

 

 

control is set to a fixed position, all

 

 

 

controls must be fixed.
TopMargin All = Set the margin above the controls data.
Type Shape = Set the type of shape to be printed.
TypeHeaderPrompt Text = Specify whether to put following dots and

 

Prompt

 

a colon after the text.
Underline String = Underline the control data.

 

Text

 

 

 

Real

 

 

 

Integer

 

 

 

Enum

 

 

 

Date

 

 

 

Time

 

 

 

Sum

 

 

 

Prompt

 

 

Visible All = Used to hide the control. If the follow

 

 

 

controls are auto positioned, the controls

 

 

 

will be adjusted.
WarnIfMissing Bitmap = Print a warning in the Infolog if the

 

 

 

bitmap cannot be located from the

 

 

 

ImageName, ImageRessource or the

 

 

 

DataMethod.
WebTarget All = Web property.
Width All = Set a fixed width for the control. If set to

 

 

 

default, the extended data type will set the

 

 

 

width.
Field Group

 

 

 

AutoFieldGroupOrder

 

= Determine whether properties and field order must be saved. The field

 

 

 

group will automatically be updated according to changes made to the field

 

 

 

group from the data dictionary.
DataGroup

 

= Field group name.
Table

 

= Table from which the field group is picked.

Written by Komkid on August 18th, 2009 with no comments.
Read more articles on Axapta.

« Older articles

Newer articles »