<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_commands_and_buttons_for_a_session" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create commands and buttons for a session</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>zoom button</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>standard command</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>form command</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">You can enhance the user interface of a session by creating additional elements on the form. Some of these elements are:</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD width="145" rowspan="1" colspan="1">Element</TD>
					<TD width="822" rowspan="1" colspan="1">Description</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD width="145" rowspan="1" colspan="1">Zoom buttons</TD>
					<TD width="822" rowspan="1" colspan="1">allow you to view and select a record from a reference table.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Standard Commands</TD>
					<TD width="822" rowspan="1" colspan="1">control the active toolbar icons and pull-down menu options.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Form Commands</TD>
					<TD width="822" rowspan="1" colspan="1">allow you to specify options in the <GUIRef href="" role="menu">Specific</GUIRef> menu.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Form Buttons</TD>
					<TD width="822" rowspan="1" colspan="1">allow a user to invoke a command by pressing a button.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Field Buttons</TD>
					<TD width="822" rowspan="1" colspan="1">allow a user to perform a task related to a field.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Group Buttons</TD>
					<TD width="822" rowspan="1" colspan="1">allow a user to perform a task related to a field group.</TD>
				</TR>
				<TR><TD width="145" rowspan="1" colspan="1">Secondary Toolbars</TD>
					<TD width="822" rowspan="1" colspan="1">allow form commands to start by clicking icons in a second toolbar. You use the create.extra.toolbar function within the program script to create the toolbar. For details, refer to the <DocRef>ERP LN 6.1 Programmer's Guide</DocRef>.</TD>
				</TR>
			</TBODY>
		</TABLE>
		<GeneralSection><SectionTitle>To add a zoom button</SectionTitle>
			<Paragraph class="Default">A zoom button appears next to a field. It is usually used to start an overview session for a reference table, where the user is able to select a value and return to the session, and the selected value is shown as the field value.</Paragraph>
			<ExampleSection><SectionTitle>
                                       Example- Zoom on Item Group</SectionTitle>
				<Paragraph class="Default">In the Items session, the item group field can have a zoom button to the Item Groups session.</Paragraph>
			</ExampleSection>
			<ProcedureList><ListIntro>To add a zoom button to the form:</ListIntro>
				<ListItem>In the Dynamic Form Editor, edit the field properties for the form field.</ListItem>
				<ListItem>Use the <GUIRef href="" role="manual">Zoom</GUIRef> tab to specify action when the zoom button is pressed.</ListItem>
			</ProcedureList>
			<Paragraph class="Default">For details, refer to the Dynamic Form Editor's online help.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>To edit standard commands</SectionTitle>
			<Paragraph class="Default">Standard commands control the active toolbar icons and pull-down menu options for a session.</Paragraph>
			<ProcedureList><ListIntro>To edit the standard commands:</ListIntro>
				<ListItem>In the Dynamic Form Editor, click <GUIRef href="" role="command">Standard Commands</GUIRef> on the <GUIRef href="" role="manual">Tools</GUIRef> menu. Alternatively, click <GUIRef href="" role="command">Standard Commands</GUIRef> on the <GUIRef href="" role="menu">Specific</GUIRef> menu in the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session. The <GUIRef href="" role="session">Standard Commands (ttadv3110s000)</GUIRef> session starts.</ListItem>
				<ListItem>Select the available standard commands from the defined lists of commands. If an option is selected, the option will appear on the session’s toolbar and menus.</ListItem>
				<ListItem>Click <GUIRef href="" role="manual">OK</GUIRef>.</ListItem>
			</ProcedureList>
		</GeneralSection>
		<GeneralSection><SectionTitle>Add Form Command</SectionTitle>
			<Paragraph class="Default">A form command is a session specific command. The user can invoke a form command using a command in the <GUIRef href="" role="menu">Specific</GUIRef> menu, a form button, a field button or a group button. You create all these elements in the same way, but use different command types to determine how the command is presented to the user.</Paragraph>
			<ProcedureList><ListIntro>To create a form command:</ListIntro>
				<ListItem>In the Dynamic Form Editor, click <GUIRef href="" role="command">Form Commands</GUIRef> on the <GUIRef href="" role="manual">Tools</GUIRef> menu. Alternatively, click <GUIRef href="" role="command">Form Commands</GUIRef> on the <GUIRef href="" role="menu">Specific</GUIRef> menu in the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session. The <GUIRef href="" role="session">Form Commands (ttadv3518m000)</GUIRef> session starts.</ListItem>
				<ListItem>Click <GUIRef href="" role="manual">New</GUIRef>. The <GUIRef href="" role="session">Form Commands (ttadv3118s000)</GUIRef> details session starts.</ListItem>
				<ListItem>Enter the values for the command. For details, refer to the session's online help.</ListItem>
				<ListItem>Click <GUIRef href="" role="manual">Save and Close</GUIRef>.</ListItem>
			</ProcedureList>
			<Paragraph class="Default">Form commands are typically added in conjunction with other sessions or with program script elements, such as functions.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_sessions" role="manual">To create sessions</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_forms" role="manual">To create forms</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_forms" role="manual">To edit forms</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
