Modifier Users Guide
Modifier Users Guide
Modifier Users Guide
Limitation of liability This document is provided “as-is”. Information and views expressed in this document, including
URL and other Internet Web site references, may change without notice. You bear the risk of using
it.
Some examples depicted herein are provided for illustration only and are fictitious. No real
association or connection is intended or should be inferred.
Intellectual property This document does not provide you with any legal rights to any intellectual property in any
Microsoft product.
You may copy and use this document for your internal, reference purposes.
Trademarks Microsoft, Dexterity, Microsoft Dynamics, Visual Basic, Visual Studio, Windows, and Windows Vista
are trademarks of the Microsoft group of companies. FairCom and c-tree Plus are trademarks of
FairCom Corporation and are registered in the United States and other countries.
Warranty disclaimer Microsoft Corporation disclaims any warranty regarding the sample code contained in this
documentation, including the warranties of merchantability and fitness for a particular purpose.
License agreement Use of this product is covered by a license agreement provided with the software product. If you
have any questions, please call the Microsoft Dynamics GP Customer Assistance Department at
800-456-0025 (in the U.S. or Canada) or +1-701-281-6500.
U S E R ’ S G U I D E i
C O N T E N T S
Chapter 9: Formats........................................................................................................................... 65
Opening a format ........................................................................................................................................65
Formatting options .....................................................................................................................................65
Format string ...............................................................................................................................................66
ii U S E R ’ S G U I D E
C O N T E N T S
Glossary ......................................................................................................................................................... 93
Index ................................................................................................................................................................... 97
U S E R ’ S G U I D E iii
iv U S E R ’ S G U I D E
INTRODUCTION
Introduction
Welcome to the Modifier, the tool you can use to customize the appearance of
applications like Microsoft Dynamics GP. The Modifier offers a variety of features
that allow you to modify the look and feel of Microsoft Dynamics GP without
affecting the integrity of the accounting system.
With the Modifier, you can change the appearance of individual windows, make
global changes that affect the entire interface, and add new controls to windows.
The ability to add new controls is most useful if you are also using Visual Basic for
Applications (VBA), Visual Studio Tools for Microsoft Dynamics GP, or the
Continuum API to extend the functionality of the accounting system.
• Part 1, Basics, describes the Modifier interface and explains how to start the
Modifier.
You can also refer to the Modifier online help for more information about using the
Modifier.
Symbol Description
The light bulb symbol indicates helpful tips,
shortcuts and suggestions.
2 U S E R ’ S G U I D E
IN T RO D U C T IO N
Convention Description
Part 2, Making Bold type indicates a part name.
Modifications
Chapter 1, “Basics” Quotation marks indicate a chapter name.
Applying formats Italicized type indicates a section name.
RUNTIME.EXE Words in uppercase indicate a file name.
Software Development Kit Acronyms are spelled out the first time they’re used.
(SDK)
TAB or ALT+M Small capital letters indicate a key or a key sequence.
Product support
Technical support for the Modifier can be accessed by the following methods:
• Telephone support – Technical Support at (888) 477-7877 between 8:00 a.m. and
5:00 p.m. Central Time, Monday through Friday. International users can contact
Technical Support at (701) 281-0555.
U S E R ’ S G U I D E 3
4 U S E R ’ S G U I D E
PART 1: BASICS
Part 1: Basics
This portion of the documentation contains basic information you should know
before you begin using the Modifier. The following topics are discussed:
6 U S E R ’ S G U I D E
Chapter 1: Getting Started with the Modifier
Before you begin working with the Modifier, you should have a basic
understanding of how the window command configuration affects the Modifier, the
types of modifications you can make, terminology used in the Modifier, and how
modifications are stored. Information is divided into the following sections:
The window layout in the Modifier always displays window commands in the
menu bar. For this reason, we recommend that you always make your
modifications with the menu bar displayed.
Modifications that you make with the Modifier will work in any of the window
command modes. There are cosmetic differences for the different modes. We
recommend that you test your modifications in each mode to verify that the
appearance is appropriate for that mode.
Types of modifications
You can use the Modifier to make three basic types of modifications: modifying the
appearance of windows, making global changes to the interface, and adding new
controls.
Modifying windows
With the Modifier, you can change the appearance of individual windows in the
accounting system. This allows you to customize your system to the way you work.
For instance, a common window modification is hiding fields that you won’t be
using. Another common modification is changing the order in which the focus
moves from field to field to reflect the way you enter data into the system.
U S E R ’ S G U I D E 7
PA RT 1 B A S I C S
Terminology
To get the most benefit from the Modifier, you need to understand the structure of
an application like Microsoft Dynamics GP that is written in Microsoft® Dexterity.
The interface is composed of windows and forms.
Windows
A window is the work area used to enter and display information in an application.
Windows in a Dexterity-based application are the actual windows you see when
you run the application.
Forms
A form is a collection of windows, menus and other resources that function together
for a common purpose. For example, four windows work together to handle
customer information. These windows are:
• Customer Maintenance
• Customer Maintenance Options
• Customer Account Maintenance
• Display Credit Limit Warning
Because they work together, these windows are grouped into a form named
RM_Customer_Maintenance.
Forms are typically named based on the type of action the user is performing. Every
window in a Dexterity-based application is part of a form. When you use the
Modifier to work with window, you must first find and open the form that contains
it.
8 U S E R ’ S G U I D E
C H A P T E R 1 G E TT IN G S T AR TE D W IT H T HE M O D IF IE R
Storing modifications
All changes and additions you make using the Modifier are stored in the forms
dictionary for the application. By storing the new and modified resources in a
separate dictionary, the integrity of the system can be maintained. For example, the
following illustration shows the dictionary for Microsoft Dynamics GP and its
associated forms dictionary.
You’ll learn more about the forms dictionary in Chapter 14, “Storing
Modifications.”
If the Modifier item is dimmed, the Modifier hasn’t been registered or you have not been
granted access through system security. Refer to the installation instructions included
with Microsoft Dynamics GP for information about registering the Modifier. Refer to
Chapter 15, “Accessing Modifications,” for more information about setting access to
the Modifier.
Select the product you want to modify, then click OK. If Microsoft Dynamics
GP is the only product available, this window won’t appear.
U S E R ’ S G U I D E 9
10 U S E R ’ S G U I D E
Chapter 2: The Modifier Interface
This portion of the documentation describes the basic elements of the Modifier
interface. It is divided into the following sections:
Button Description
Opens the Data Types window, where you can view or edit existing data
types.
Opens the Fields window, where you can view a list of fields in the
application.
Opens the Forms window, where you can view a list of the modified forms in
the application. You will also use this window to create new modified forms.
Menus
The following items are available in the Modifier menu bar.
U S E R ’ S G U I D E 11
PA RT 1 B A S I C S
File: Exit
This menu item allows you to exit the application.
Edit: Undo
This menu item will undo the last keyboard entry in an editable field. It will also
undo field movement and sizing in a layout window, but not the addition or
removal of fields, text or graphics from a layout window.
Edit: Cut/Copy/Paste
These menu items allow you to copy text or graphics to the Clipboard, then paste it
in a different location. You cannot cut, copy or paste fields.
Edit: Clear
This menu item allows you to remove text from an editable field, or remove selected
items from the layout area.
Macro: (all)
The items available from the Macro menu allow you to record and play macros.
Resources: (all)
The items in the Resources menu allow you to access the various resources in the
application. Resources available from this menu include all resources accessed from
the toolbar, as well as other resources (such as formats and messages).
Windows:
This menu displays a list of the windows currently open. Selecting a window from
this menu makes the window active.
Help: Lookup
This menu item opens any lookup window for the current field.
Help: Contents
This menu item displays the contents topic for the Modifier online help.
Help: About
This menu item displays the About window for the main application.
12 U S E R ’ S G U I D E
C H A P T E R 2 T H E M O DI FI ER IN T E R F AC E
Windows
The Modifier uses several types of windows. Review the following descriptions to
learn how each is used.
Definition windows
Definition windows allow you to customize individual resources in an application.
For example, you will use the Format Definition window to customize how data is
displayed in fields.
U S E R ’ S G U I D E 13
PA RT 1 B A S I C S
Layout window
You will use the Layout window to customize the appearance of windows in the
application. The Layout window uses a graphics metaphor you may already be
familiar with: an assortment of tools you can use for drawing and creating objects; a
built-in grid that allows easy alignment of objects on the window; moveable objects
in a layout like object-oriented drawing programs; and standard cut-copy-and-
paste techniques so you can import graphics you create in other applications.
The Toolbox is available whenever the Layout window is open. It contains tools you
will use to add objects to the layout. The Properties window is used to specify the
characteristics of windows, fields and drawn items when you’re customizing a
window layout.
Standard buttons
The following buttons are used throughout the Modifier:
Button Description
Saves changes and closes the current window.
Closes the current window without saving the changes to the window.
14 U S E R ’ S G U I D E
PART 2: MODIFYING FORMS
Part 2: Modifying Forms
This portion of the documentation contains information about making
modifications to forms. The following topics are discussed:
16 U S E R ’ S G U I D E
Chapter 3: Selecting Forms to Modify
Most of the modifications you make will be to forms or to the windows contained in
those forms. Before you can make modifications, you must first locate the form to
modify. This portion of the documentation explains how to do this. The information
is divided into the following sections:
U S E R ’ S G U I D E 17
PA RT 2 M O D I F Y I N G F O R M S
The Form Definition window will appear for the form you selected. The name
of the form will also be added to the Modified Forms list. You can then begin
making modifications.
18 U S E R ’ S G U I D E
C H A P T E R 3 S E L E C T I N G F O R M S T O M O D I F Y
A copy of the form you selected to modify was added to the Forms dictionary,
allowing you to make modifications to it. In Part 4, Storing and Accessing
Modifications, you will learn more about how modified forms are stored and
accessed.
If you simply want to modify a window in Microsoft Dynamics GP, you can save several
steps. First, display the window you want to modify. Then point to Customize in the Tools
menu and choose Modify Current Window. The Modifier will start, the form that contains
the window will be added to the list of modified forms, and the layout for the window will be
displayed.
U S E R ’ S G U I D E 19
20 U S E R ’ S G U I D E
Chapter 4: Modifying Windows
Changing the appearance of windows is the most common modification made with
the Modifier. This portion of the documentation provides detailed information
about how to modify windows. It is divided into the following sections:
If you are viewing the window you want to modify, you can point to Customize in the Tools
menu and choose Modify Current Window. The Modifier will start, the form that contains
the window will be added to the list of modified forms, and the layout for the window will be
displayed.
U S E R ’ S G U I D E 21
PA RT 2 M O D I F Y I N G F O R M S
The Toolbox and Layout window will appear, as shown in the following
illustration.
The Layout window and Toolbox use a graphics metaphor you may already be
familiar with: an assortment of tools you can use for drawing and creating text
objects; a built-in grid that allows easy alignment of objects on the window;
moveable objects in a layout like object-oriented drawing programs; and standard
cut-copy-and-paste techniques so you can import graphics you create in other
applications.
Changes you make to windows are saved only when the Layout window is closed. Save your
work often by closing the Layout window and then reopening it to continue modifying the
window.
The Toolbox
To add and manipulate objects in the Layout window, use tools from the Toolbox.
The following tools are available:
Picture Place pictures from the picture library in the layout area. Select the
tool picture tool, then click the mouse in the desired location in the layout
area; the Pictures window will appear. Select a picture and click OK.
Line tool Add lines to the layout area.
Shape tool Add rectangles, circles and other shapes to the layout area.
22 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
The toolbox also contains tools you can use to add new fields to a window. Adding
new fields is described in Chapter 7, “Adding New Fields.”
Clicking the Arrange tab in the Toolbox displays additional tools used to align,
resize or tile fields in the window. These tools are described in the following table.
Align to Left Aligns the selected objects with the leftmost object
in the group.
Align to Bottom Aligns the selected objects with the bottom object in
the group.
Size Size to Shortest Shrinks the selected objects to the height of the
shortest object in the group.
Size to Default Resizes the field to its default size, based upon how
the visual properties for the field are set.
U S E R ’ S G U I D E 23
PA RT 2 M O D I F Y I N G F O R M S
Tile Vertically Tiles the selected objects vertically. The value in the
Space field specifies the space between objects.
Arranging objects can’t be undone. Be sure to save your window layout before arranging
objects. If you aren’t satisfied with the result of an arrangement, you can close the window
without saving the changes.
The position and size coordinates for the currently-selected object are displayed at the bottom
of the Toolbox. Use these values to accurately position and size objects.
The layout area doesn’t display controls that are specific to the operating system,
such as scroll bars, resize boxes, minimize controls and title bars. Instead, operating
system elements are created automatically.
It’s important to remember that items appearing in the layout area can look
somewhat different than how they will appear at runtime. At runtime, all objects
added to the layout area will appear in the window drawn properly.
Use the Show Field Names and Show Invisible Fields items in the Layout menu to
specify how fields will be displayed in the layout window. If you mark the Show
Field Names menu item, fields will show their field names, rather than their normal
display characteristics. If you choose not to show field names, fields will display
much like they do at runtime. The following table shows how several fields appear
in the layout and how they appear at runtime:
24 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
If you mark the Show Invisible Fields item in the Layout menu, those fields whose
Visible property is set to false will be displayed in the layout. Invisible fields are
typically used to store values used by Microsoft Dynamics GP. They aren’t visible
when the accounting system is running.
Each object in the window layout can be selected with the arrow tool, then dragged
to a different position in the layout area. You also can move selected graphics, text
or fields in front of or behind other objects by choosing Send To Front or Send To
Back from the Layout menu.
It’s a good idea to use the layout grid when adding or rearranging items in the
layout area, so items will be aligned automatically. If you want to display the grid in
the layout area, choose Show Grid from the Layout menu. To display the grid
behind objects in the layout window, choose Grid to Back. To deactivate the grid,
choose Grid from the menu to remove the check mark.
You can use the arrow keys to move selected items in the window one pixel at a time,
regardless of whether the grid is turned on.
Select an object in the layout area and click the tab indicating which type of
property you want to view. Click the Object or Visual tab, depending on the type of
property you want to view. To set a property, select it in the list and then change its
value in the settings box.
U S E R ’ S G U I D E 25
PA RT 2 M O D I F Y I N G F O R M S
Setting the property value involves choosing a value from a drop-down list, typing
a value, or using a lookup. Some properties listed can’t have their values changed.
Double-clicking a property in the properties list is a shortcut to setting its value. For
instance, double-clicking a property whose value is set with a drop-down list will set the
property to the next value in the list.
Window properties
To view window properties, be sure the Properties window is open. Select the arrow
tool from the Toolbox and click in the layout window outside of the window’s area
to select the window. The window is selected when resize handles appear on its
perimeter. The following table lists the window properties. Asterisks indicate the
properties that can be changed using the Modifier.
26 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
Field properties
The following table lists the field properties. Asterisks indicate the properties that
can be changed using the Modifier.
U S E R ’ S G U I D E 27
PA RT 2 M O D I F Y I N G F O R M S
28 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
Fields can’t be made invisible if they have the Required property set to
true.
U S E R ’ S G U I D E 29
PA RT 2 M O D I F Y I N G F O R M S
Property Description
Alignment* For static text, indicates whether the text is left, center, or right-aligned.
Appearance* Specifies whether the drawn object is displayed with a 2-D or
3-D border.
BackColor* Specifies the background color of the object.
Border* For static text, specifies whether a border is drawn around the object.
Font* Specifies the type style and size to use for static text.
FontBold* If set to true, static text will be displayed in bold type.
FontColor* For static text, specifies the color of the text.
FontItalic* If set to true, static text will be displayed in italic type.
FontUnderline* If set to true, static text will be underlined.
LineColor* Specifies the color of the line used to draw the object.
LineSize* Specifies the width of the line used to draw an object.
Pattern* Specifies the pattern to apply to the background.
PatternColor* Specifies the color of the pattern that is applied to the background.
Position-Left* Indicates the position of the left edge of the object, measured in pixels
from the left edge of the window.
Position-Top* Indicates the position of the top edge of the object, measured in pixels
from the top of the window.
Resize-Horizontal* Specifies the horizontal resize behavior when per field resizing is used.
Refer to Resizing windows on page 33 for more information.
Resize-Vertical* Specifies the vertical resize behavior when per field resizing is used. Refer
to Resizing windows on page 33 for more information.
Shape* Specifies the shape of an item drawn with the shape tool.
Size-Height* Indicates the object height, measured in pixels.
Size-Width* Indicates the object width, measured in pixels.
Zoom* For static text items, setting this property to true causes the text to be
displayed as specified by Zoom Fields settings in the User Display
Preferences window.
Previewing a window
As you make modifications to a window, it’s useful to see how the window will
appear when it’s displayed. To do this, choose Preview from the Layout menu.
Remember that this is only a preview of the visual characteristics of the window;
the window will not be functional. When you have finished, close the preview
window to return to the Layout window.
30 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
Setting a tab sequence is typically one of the last tasks you need to complete when
modifying a window. After you’ve arranged the fields in the desired order, use the
following procedure to set a tab sequence.
5. Press the TAB key again and double-click the field you want third
in the tab sequence.
Continue to mark fields in the window in the order you want, using the mouse
to double-click the field and the TAB key to move the focus to the next object in
the sequence.
You can use the TabStop property to exclude fields from the tab sequence.
You can stop the process of setting a tab sequence at any time by closing the Layout
window and choosing not to save the changes to the window.
To make radio buttons work properly in your application, the radio group and
radio button fields must be arranged properly in the window. In the tab sequence,
the radio group must come immediately before the radio buttons. For example, in the
Payment Method radio group shown in the following illustration, the Payment
Method radio group field comes immediately before the Cash, Check and Charge
radio button fields in the tab sequence.
U S E R ’ S G U I D E 31
PA RT 2 M O D I F Y I N G F O R M S
Some forms have several tables linked to them. However, each window can have
only one auto-linked table. You can add fields from the window’s auto-linked table
(displayed in the Properties window), but not from any other tables that may be
linked to the form (displayed in the Form Tables window).
In most cases, it’s best to make the fields that you add to a window display-only. If
you add editable fields to a window’s layout, be sure to test the modified window
thoroughly. Use the lesson company to verify that information contained in the field
is updated correctly, especially if the same field appears in more than one window
within the same form.
32 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
Adding pictures
Graphics, such as a company logo, can be added to windows using standard cut-
copy-and-paste techniques. If you want to use several custom graphics throughout
your application, you can store these graphics in the picture library. This library
allows you to add, name and store specific graphics in the forms dictionary. Adding
pictures to the picture library is described in Chapter 11, “Pictures and Native
Pictures.”
If you paste a picture directly into the layout area, you’ll be prompted to name the picture.
The picture will appear in the layout and be added to the picture library automatically.
To link a field to a prompt, choose Link Prompt from the Tools menu. Click on the
field and drag the mouse pointer to its prompt (the text describing the field). A
flashing black line will indicate that the link was made. Linking a prompt is shown
in the following illustration.
When you’ve finished, choose Link Prompt again to turn prompt linking off.
Resizing windows
Windows in Microsoft Dynamics GP can be resized by the user when they are
displayed. The ability to resize a window is controlled by the Resizeable property
for the window. If set to True, the window can be resized. Two types of resizing of
resizing are supported: automatic and per field.
Automatic resizing
With automatic resizing, fields such as list boxes, text fields, tree views and list
views will resize automatically when the window is resized. To use automatic
resizing, set the Resizeable property for the window to True-Automatic. No
additional work is required.
Automatic resizing was the type supported in earlier versions of Microsoft Dynamics GP.
When a window contains many fields, the rules necessary to properly resize the
window and maintain the proper appearance become very complex. When a
window layout becomes too complex for the runtime engine to automatically resize
the window, it will no longer try to resize the controls in the window. When this
occurs, you need to use per field resizing.
You can specify resize characteristics for static text and drawn objects, as well.
U S E R ’ S G U I D E 33
PA RT 2 M O D I F Y I N G F O R M S
The following tables describe the possible values for these properties:
Resize Horizontal
Value Description
Grow The field will keep its current horizontal position and grow
horizontally by the same amount as the window.
Example: When the window is resized 100 pixels wider, the field will
maintain its horizontal position and be 100 pixels wider.
Stay Centered The field will keep its current horizontal size, but will slide
horizontally at half the amount the window grows.
Example. When the window is resized 100 pixels wider, the field will
maintain its horizontal size and slide 50 pixels to the right.
Stay Left The field will keep its current horizontal size and horizontal position.
Example: When the window is resized 100 pixels wider, the field will
maintain its horizontal size and position.
Stay Left - Grow The field will keep its current horizontal position, and grow
horizontally by half the amount the window grows.
Example: When the window is resized 100 pixels wider, the field will
maintain its horizontal position and be 50 pixels wider.
Stay Right The field will keep its current horizontal size, and move horizontally
to maintain a constant distance from the right edge of the window.
Example: When the window is resized 100 pixels wider, the field will
slide 100 pixels to the right.
Stay Right - Grow The field will grow horizontally at half the amount the window
grows, and move horizontally to maintain a constant distance from
the right edge of the window.
Example: When the window is resized 100 pixels wider, the field will
slide 100 pixels to the right and be 50 pixels wider.
Resize Vertical
Value Description
Grow The field will keep its current vertical position and grow vertically by
the same amount as the window.
Example: When the window is resized 100 pixels taller, the field will
maintain its vertical position and be 100 pixels taller.
Stay Bottom The field will keep its current vertical size, and move vertically to
maintain a constant distance from the bottom edge of the window.
Example: When the window is resized 100 pixels taller, the field will
slide 100 pixels down.
Stay Bottom - Grow The field will grow vertically at half the amount the window grows,
and move vertically to maintain a constant distance from the
bottom edge of the window.
Example: When the window is resized 100 pixels taller, the field will
slide 100 pixels down and be 50 pixels taller.
Stay Centered The field will keep its current vertical size, but will slide vertically at
half the amount as the window grows.
Example. When the window is resized 100 pixels taller, the field will
maintain its vertical size and slide 50 pixels down.
Stay Top The field will keep its current vertical size and vertical position.
Example: When the window is resized 100 pixels taller, the field will
maintain its vertical size and position.
Stay Top - Grow The field will keep its current vertical position, and grow vertically at
half the amount the window grows.
Example: When the window is resized 100 pixels taller, the field will
maintain its vertical position and be 50 pixels taller.
34 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
Auto-complete
You can use the AutoComplete property for string fields to automatically fill the
contents of the field as the user types, based on the values previously entered for the
field.
To use the auto-complete capability for a string field, you must set the
AutoComplete property to true for every occurrence of the field for which you want
the functionality. When a user adds a value to the field and moves the focus, the
value is added to the auto-complete list for the field.
When the user begins to type characters into a field with the AutoComplete
property set to true, the auto-complete list for the field will be examined to find any
matches. The matching items will be displayed in a drop-down list. The user can
continue typing a value to refine the items listed, or use the arrow keys or mouse to
select one of the items in the list. If drop-down list isn’t large enough to fully display
the auto-complete items, use the resize area in the corner of the list to expand the
list.
To remove an item from the auto-complete list, right-click the item and choose
Remove From List in the menu that appears.
If the same global field appears in multiple windows, and the AutoComplete
property is set to true for each instance, the fields will share the auto-complete data.
Auto-complete values entered in one field will also be available in the other field
instances. The behavior is the same for a local field that appears in multiple
windows within a form. If each instance of the local field has the AutoComplete
property set to true, the local field will share the auto-complete data.
U S E R ’ S G U I D E 35
PA RT 2 M O D I F Y I N G F O R M S
Values are added to the auto-complete list for a field any time the focus moves to
the field, the content of the field changes, and the focus leaves the field. A user
changing a field’s value, or a lookup window returning a value are common ways
that values are added to the auto-complete list.
Auto-complete items are written to a file that is stored in the “Application Data”
folder for the user currently logged into the workstation. By default, this folder is
hidden in Windows Explorer. The auto-complete values stored in this table will be
used the next time Microsoft Dynamics GP is run. To remove the auto-complete
items for a user, you must delete the table that stores the items.
While the Modifier is in format linking mode, you can link fields to format fields by
dragging from a currency or string field to the integer field you want to link it to. A
flashing border around the integer field will indicate that the link was successful.
The value of the integer field indicates which format string should be used for the
currency or string field. The integer field can be an invisible field or a field such as a
drop-down list, allowing the user to specify the format.
36 U S E R ’ S G U I D E
C H A P T E R 4 M O D I F Y I N G W I N D O W S
The integer value used to indicate the format used can be stored in a table along
with the currency field being formatted. When the record is retrieved from the table,
the currency field will display as it did when the record was saved. The format field
can also be used for a report, allowing the currency field to appear in the report as it
did when it was saved in the table.
Microsoft Dynamics GP can define its own formats, in addition to those shown in the
previous table. This capability is used to define currency format information for
multicurrency support.
The following example describes a Part Number field that has three different format
strings. The user selects the format to apply by selecting the corresponding format
in a drop-down list linked to the Part Number field. The three format strings for the
Part Number field, entered in the Format Definition window, are shown in the
following illustration.
The drop-down list is set to the following value (integer 3), corresponding to the
third format string:
U S E R ’ S G U I D E 37
PA RT 2 M O D I F Y I N G F O R M S
38 U S E R ’ S G U I D E
Chapter 5: Modifying Scrolling Windows
Microsoft Dynamics GP has special windows called scrolling windows that allow
the user to scroll through or enter information into tables. Scrolling windows are
contained in standard windows. This portion of the documentation provides
information about how to modify scrolling windows. It is divided into the
following sections:
The prompts for the scrolling window appear above it in the window layout. To
modify these prompts, simply edit them in the window layout. If you want to
modify the appearance of the scrolling window, you must open a second layout
window. To do this, select the scrolling window and choose Open Scrolling Window
from the Tools menu. A second layout window will appear, allowing you to edit the
contents of the scrolling window.
You can also open a scrolling window by double-clicking it in the window layout that
contains it.
Scrolling windows are composed of lines. In the scrolling window layout, only one
line of the scrolling window is shown. When the scrolling window is displayed, this
line is drawn repeatedly, until the scrolling window is full.
U S E R ’ S G U I D E 39
PA RT 2 M O D I F Y I N G F O R M S
Scrolling windows can display information in two modes: normal and expanded. The
scrolling window layout specifies what items are displayed in each mode. The area
in the scrolling window layout that corresponds to one line in normal mode is the
area between the top of the window and the first dashed line. This area is called the
small line item. The area in the scrolling window layout that corresponds to the extra
items displayed in expanded mode is the area between the second dashed line and
the small line item. This area is called the big line item.
To mark the small line item, choose Mark Small Line Item from the Tools menu and
click where you want the dashed line to appear. You may need to move fields out of
way to see where the small line item is placed. To mark the big line item, choose
Mark Big Line Item from the Tools menu. Click where you want the line to appear.
Note that the big line item must be marked in multiples of the height of the small
line item.
The following illustration shows the layout for the IV_Transfer_Scroll scrolling
window. In normal mode, the window will display the Item Number, Unit of
Measure, Quantity and Unit Cost. In expanded mode, it will also display the
Description, From Site and To Site.
40 U S E R ’ S G U I D E
C H A P T E R 5 M O D I F Y I N G S C R O L L I N G W I N D O W S
To view the scrolling window’s visual properties, only the window that contains the
scrolling window must be open. Select the arrow tool from the Toolbox and click in
the scrolling window to select it. The following table lists the scrolling window
visual properties.
U S E R ’ S G U I D E 41
PA RT 2 M O D I F Y I N G F O R M S
42 U S E R ’ S G U I D E
Chapter 6: Modifying Menus
Microsoft Dynamics GP provides a set of command-based menus that allow
navigation for the application. These menus cannot be accessed with the Modifier.
You can use the Modifier to make changes to the menus that are part of individual
forms. Form-based menus appear as additional menus for individual windows in
Microsoft Dynamics GP. This chapter is divided into the following sections:
The Menu Definition window will appear, as shown in the following illustration.
U S E R ’ S G U I D E 43
PA RT 2 M O D I F Y I N G F O R M S
Display name
The display name is the name that appears when the menu is displayed as a
submenu.
You can define an access key for the menu by placing an ampersand (&) in the menu
display name. The ampersand won’t be displayed in the menu name. Instead, the
character immediately following the ampersand will be underlined. To choose the
menu, a user can press the ALT key and the underlined character at the same time.
Menu items
The items in the menu are listed in the Menu Items list. To change the name of a
menu item, select it in the list and then edit it in the Item Name field. The &, #, -, and
~ characters have special meaning in menu item names. These characters are
described in the following table.
Character Effect
& Causes the next character to appear underlined and act as the access key.
# Draws an ellipsis (…) after the item.
- If used as the item name, causes a separator line to appear in the menu. Use
separator lines to group items in the menu.
~ Draws a forward slash (/).
You can define a shortcut for the menu item by selecting a value from the Shortcut
field. The shortcut is CTRL + the specified character. To avoid conflicts, be sure the
shortcut key isn’t used more than once.
44 U S E R ’ S G U I D E
Chapter 7: Adding New Fields
You can also use the Modifier to create and add new fields to windows. This
capability is designed primarily for users who also use Visual Basic for Applications
(VBA), Visual Studio Tools for Microsoft Dynamics GP, or the Continuum API to
further customize Microsoft Dynamics GP. Any of these code development
mechanisms can use new fields created with the Modifier.
Information about adding new fields is divided into the following sections:
U S E R ’ S G U I D E 45
PA RT 2 M O D I F Y I N G F O R M S
Array Size An array field contains multiple occurrences of the same type of
information. The individual pieces of information stored by the array field are
referred to as elements. The array size of a field indicates the number of elements
that will be included in the array field. If the field won’t be an array, set the
array size to 0.
Control Type The control type determines the function of the data type and
how it will display data. The control type is the main characteristic of a data
type. A list of control types can be found in Control types on page 48.
Keyable Length The keyable length is the number of characters a user can
enter in a field. Control types such as currency, integer and string have a
keyable length.
Static Values Static values are any text and pictures that can be associated
with a data type. Static values are described in detail in Static values on page 62.
46 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
To further specify characteristics of the new local field, set the drop-down list in the
Toolbox to display local fields. Locate the new field in the list and then click Open.
The Local Field Definition window for the new field will be displayed, allowing
you to edit its characteristics.
Adding prompts
Once you’ve created a new field and added it to a window, you may want to create
a prompt for the field. For the best appearance, the prompt should have
characteristics similar to other prompts in Microsoft Dynamics GP. Use the
following procedure to create a prompt.
Appearance 3D Highlight
BackColor System - Button Face
Border True
Font System
FontColor System - Button Text
Pattern (none)
PatternColor Black
U S E R ’ S G U I D E 47
PA RT 2 M O D I F Y I N G F O R M S
Control types
A new local field is assigned one of several predefined control types. This section
describes the recommended control types you can use for new fields. We don’t
recommend creating new fields with control types not in this list. An example or
illustration, keyable length, types of static values used, and a description of the
control type’s function are provided for each control type. The following control
types are described:
• Boolean
• Button drop list
• Check Box
• Combo Box
• Currency
• Date
• Drop-down list
• Integer
• List box
• Long integer
• Multi-select list box
• Non-native list box
• Progress indicator
• Push button
• Radio button
• Radio group
• String
• Text
• Time
• Visual switch
48 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
Boolean
Example None
Function Stores a boolean (true or false) value. The default value is false.
Example
Static values Pictures, text, or both pictures and text for the button. Text for items in the list.
Function Allows one item to be selected in the list. The value in the field is an integer that
corresponds to the position of the last item selected in the list. The items in the list
are numbered starting with 1. This control is used as a means of navigation.
Check Box
Example
Function Stores and displays a boolean (true or false) value. The value in the field is true if
marked and false if unmarked.
U S E R ’ S G U I D E 49
PA RT 2 M O D I F Y I N G F O R M S
Combo Box
Example
Function Allows a text item to be entered by a user or chosen from the list. The value in the
field is a string.
Currency
Example
Keyable length Up to 19
Function Displays a value as a currency amount, with a currency symbol and thousands
separator if specified in the data type’s format.
Date
Example
Keyable length Up to 10
Function Stores and displays a date. The date is entered in MMDDYYYY form and is
displayed according to the system settings, in short form. The year values can range
from 1800 to 9999.
The runtime engine automatically checks each date value to ascertain whether its
values are within the acceptable ranges of a date value. If the date is not valid, a
message is displayed.
An uninitialized date field (one that hasn’t been set to a value) will have the value
00000000. This is an acceptable date value.
50 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
Drop-down list
Example
Function The value of the field is an integer corresponding to the position of the selected item
as it appears in the Static Text Values window. The items in this list are numbered
sequentially so that the first item in the list is 1, the second is 2, and so on. If the
static text items are sorted for display, the value of the field still is based upon the
selected item’s position in the Static Text Values window, not its position as
displayed in the list at runtime. Up to 32,767 items can be displayed in the list.
Integer
Example
Keyable length Up to 5
List box
Example
The value of the field is an integer corresponding to the position of the selected item
as it appears in the Static Text Values window. Items are numbered sequentially so
that the first item in the list is 1, the second is 2, and so on. If the static text items are
sorted for display, the value of the field still is based upon the selected item’s
position in the Static Text Values window, not its position as displayed in the list box
at runtime. Up to 32,767 items can be displayed in the list.
The list box control is created using the current operating environment’s native list
box control. It is preferable to use the list box control, rather than the non-native list
box control.
U S E R ’ S G U I D E 51
PA RT 2 M O D I F Y I N G F O R M S
Long integer
Example
Keyable length Up to 10
Example
Function Allows multiple items to be selected in the list box. Up to 32 items can be displayed
in the list. The CTRL key is used to select non-consecutive items.
Example
The value of the field is an integer corresponding to the position of the selected item
as it appears in the Static Text Values window. Items are numbered sequentially so
that the first item in the list is 1, the second is 2, and so on. If the static text items are
sorted for display, the value of the field still is based upon the selected item’s
position in the Static Text Values window, not its position as displayed in the list at
runtime. Up to 32,767 items can be displayed in the list.
52 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
Progress indicator
Example
Function Allows progress to be shown visually. The indicator position is based on the value
of the progress indicator field. The valid values range from 0 to 100. When set to 0 or
less, no indicator is displayed. When set to 100 or greater, the entire indicator is
displayed. For values in between, the amount displayed is proportional to the
value.
Several properties control the display characteristics of the progress indicator, such
as style and indicator color. If the indicator is composed of blocks, the block size is
set automatically based upon the height of the progress indicator.
Push button
Example
Function Provides a means of starting processing. The action associated with the field is run
when the button is clicked.
Radio button
Example
Function Radio button values are stored using a radio group. The value of the radio group is
an integer that corresponds to the radio button currently selected. A specific radio
button’s value is determined by its position in the tab sequence; the first radio
button’s value is 0, the second is 1, and so on. The radio group must come
immediately before the radio buttons in the tab sequence.
U S E R ’ S G U I D E 53
PA RT 2 M O D I F Y I N G F O R M S
Radio group
Example
Radio group
Function Groups and stores a single value for the radio buttons inside the radio group.
The value stored is an integer corresponding to the position of the selected radio
button in the tab sequence; if the first radio button is selected, the value 0 is stored;
if the second one is selected, the value 1 is stored, and so on. The radio group must
immediately precede the radio buttons in the tab sequence.
String
Example
Text
Example
Function Displays text and allows a user to enter text into the application. The text will wrap
only if the WordWrap property for the field using the data type is set to true. Scroll
bars can be turned off by setting the ScrollBars property for the field using the data
type to false.
54 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
Time
Example
Keyable length Up to 6
Function Time is entered in 24-hour format, such as 181732, and is displayed in 12-hour
format, such as 6:17:32 PM. The runtime engine automatically checks each time
value to ascertain whether it’s within the proper range of a time value.
An uninitialized time field (one that hasn’t been set to a value) will have the value
000000. This is an acceptable time value.
Visual switch
Example
Function Displays a series of items. The next item in the field is displayed when the field is
clicked. The value of the field is an integer corresponding to the position of the
currently-displayed item in the series, starting with 1 and incremented by 1.
U S E R ’ S G U I D E 55
PA RT 2 M O D I F Y I N G F O R M S
Push buttons
Push buttons provide a method of starting processing in an application. A push
button can display a text item, a graphic item, or both text and graphics. Either
pictures or native pictures can be used.
Use the Style property for the push button field to specify which types of items are
displayed on the button. The Style property also controls the arrangement of the
items. The following table shows the arrangements possible for text and graphics on
a push button.
Style Example
Text Only
Graphic Only
Text on Top
Text on Bottom
Text on Right
Text on Left
A push button can have up to three images: an Up image, a Down image and an
Over image. The Up image is displayed when the button isn’t being clicked. The
Down image is displayed when the button is being clicked. The Over image is
displayed when the pointer is positioned over the button.
If you supply only the Up image for a push button, the Down image will be drawn
automatically when the push button is clicked.
56 U S E R ’ S G U I D E
C H A P T E R 7 A DD IN G N EW F IE LD S
Check boxes
You can use picture static values with check boxes. In addition, you can use the
Style property to specify whether the check box will appear as a standard check box
or as a push button. The following illustrations show how check boxes look with the
various styles.
Not marked
If you change the Style property for a check box that uses static picture values, use the Size
to Default tool in the toolbox to resize the check box field to the appropriate size.
If you use pictures (picture resources) as the static values for a push button-style
check box, you can specify two, four or six images. These images are used for the
various check box states.
• If you specify two images, these images will be used for the up and down states,
respectively.
• If you specify four images, these will be used for the up, up clicked, down, and
down clicked states, respectively.
• If you specify six images, the Appearance property for the check box must be
set to 3D Highlight. The images will be used for the up, up clicked, down, down
clicked, up highlight and down highlight states, respectively.
The button portion of a button drop list can display a text item, a graphic item, or
both text and graphics. You must use pictures for graphics that appear on the button
drop list. In versions of Microsoft Dynamics GP prior to 6.0, native pictures were
used.
A button drop list can have up to three images: an Up image, a Down image and an
Over image. The Up image is displayed when the button isn’t being clicked. The
Down image is displayed when the button is being clicked. The Over image is
displayed when the pointer is positioned over the button drop list.
Use the Style property for the button drop list field to specify which types of items
are displayed on the button. The Style property also controls the arrangement of the
items.
If you select 3D Highlight for the Appearance property, the text caption in the button
portion of the button drop list will become bold when the field has the focus. Be sure to
provide extra space for the caption to accommodate the bold text.
U S E R ’ S G U I D E 57
PA RT 2 M O D I F Y I N G F O R M S
Typically, button drop lists have a drop indicator (a small triangle) in the lower-
right corner of the field. It’s not necessary to include the drop indicator in the image
for the button drop list. Instead, set the DropIndicator property to True. Use the
DropPosX and DropPosY properties to specify the distance the drop indicator will
appear from the lower-right corner of the button drop list.
58 U S E R ’ S G U I D E
PART 3: GLOBAL MODIFICATIONS
Part 3: Global Modifications
The Modifier also allows you to make changes that will affect the entire application
interface. This part provides detailed information about the various global
resources you can modify in Microsoft Dynamics GP. The following items are
discussed:
• Chapter 8, “Data Types,” describes data types and how they control
characteristics of fields.
• Chapter 9, “Formats,” describes how formats are used to control how data is
displayed.
• Chapter 10, “Global Fields,” explains how to examine global fields in the
accounting system.
• Chapter 11, “Pictures and Native Pictures,” describes how to use the Modifier to
create and modify picture resources.
60 U S E R ’ S G U I D E
Chapter 8: Data Types
Data type resources specify the characteristics of all fields used in an application. If
you want to change the characteristics of a field, you need to change its
corresponding data type. Keep in mind that a single data type can be used by
multiple fields. When you change the data type, you change the characteristics of all
the fields that use it. Information is divided into the following sections:
The data type’s name appears at the top of the window. The Control Type field
specifies the function of the data type, indicating how it will display and store data.
The other fields in the window specify the additional characteristics of the data
type. The following sections describe the data type characteristics you can change
with the Modifier.
Keyable length
The keyable length is the number of characters a user can enter in a field that uses
this data type. Control types such as currency, integer and string have a keyable
length. You can use the Modifier to change the keyable length. For example, you
may want to increase the keyable length for the STR10_Phone data type to allow the
user to enter more digits. The following table lists control types for which you can
set the keyable length.
U S E R ’ S G U I D E 61
PA RT 3 G L O B A L M O D I F I C A TI O N S
Static values
Certain control types allow you to specify static values for the data type. Static
values are any text or pictures associated with a data type that are displayed by a
field using that data type. For example, the text on a push button and the items in a
list box are static values. To view the static values for a data type, click the Static
Values lookup button.
The Button Items window is used to specify the static text for button drop lists and
push buttons.
To edit a static text value, select the appropriate Up, Down or Over caption. Enter
the new text and then click OK in the Button Items window to save the changes.
Push buttons can be clicked using access keys (pressing ALT in combination with a
letter). When the push button is displayed, an underscore beneath one of the letters
in the static text for the push button indicates the button has an access key. To define
an access key, place an ampersand (&) in the static text value for the button before
the letter that will act as the access key.
62 U S E R ’ S G U I D E
C H A P T E R 8 DA TA T Y P E S
The Static Text Values window is used to specify the static text for check boxes,
drop-down lists, list boxes, radio buttons and visual switches.
To edit a static text value, select it in the Static Text Values list. Make the appropriate
changes in the New Value field, then click Replace. You can mark or unmark the
Sort List option, depending on whether you want the static items sorted.
Modifying pictures and • Native picture resources are specific, or native, to a particular operating system.
native pictures is
described in Chapter • Picture resources are pictures you’ve added to the picture library. They are
11, “Pictures and stored in a generic format that can be used on any supported operating system.
Native Pictures.”
The following table lists the control types that can use static picture values:
Format
A format contains extra characters, spacing and attributes that can be applied to a
data type when data is entered or displayed. Formats are described in the next
chapter.
U S E R ’ S G U I D E 63
64 U S E R ’ S G U I D E
Chapter 9: Formats
Formats are the extra characters, spacing and attributes that can be applied to a data
type to format data when it is entered or displayed. For example, a string data type
for a phone number can have a format applied to it so a field using the data type
will display a phone number as (555) 123-4567 instead of 5551234567.
Formats are stored as separate resources, but are applied to data types to help
define how information is displayed. A single format resource can be used by
several data types. Perhaps the easiest way to understand what formats are is to
view them as data “masks” that simply change the look of the information in a field
without changing the actual information itself. Information about formats is
divided into the following sections:
• Opening a format
• Formatting options
• Format string
Opening a format
To open a list of formats, choose Formats from the Resources menu. The Formats
window will appear. To create a new format, click New. To open an existing format,
select one in the list and click Open. The Format Definition window will appear, as
shown in the following illustration.
Each format has a name. Typically, the name indicates the data type the format is
applied to. For instance, the name STR_Employer_ID_Number indicates a format
that will be applied to a data type used for an employee ID number.
Formatting options
You can use several formatting options to change how specific types of data will
appear. You can use them to specify the following characteristics:
U S E R ’ S G U I D E 65
PA RT 3 G L O B A L M O D I F I C A TI O N S
Numeric formats
Decimal Digits Number of decimal places (0 to 5).
Negative Symbol The operating system setting, a minus sign, the letters CR, or
parentheses.
Alignment Number is left-, center- or right-aligned.
Fill Unused spaces are filled with asterisks, zeros or spaces.
Unsigned If marked, the negative symbol won’t be displayed.
Show Thousands If marked, the field will show thousands separators in the number.
Separator
Show Percent Sign If marked, the field will show the percent sign.
Currency formats
Decimal Digits Number of decimal places (0 to 5).
Negative Symbol The operating system setting, a minus sign, the letters CR, or
parentheses.
Alignment Number is left-, center- or right-aligned.
Fill Unused spaces are filled with asterisks, zeros or spaces.
Unsigned If marked, the negative symbol won’t be displayed.
Show Thousands If marked, the field will show thousands separators in the number.
Separator
Relative Decimal If marked, the number of decimal digits selected is added to the
Position number in the operating system setting. The total can be up to 5
decimal digits.
Show Currency Symbol If marked, the currency symbol specified in the operating system
settings is displayed.
Format string
The Format Definition window allows you to specify a format string for string and
composite data types.
String formats
Format strings are used with string data types to add static elements to a field, such
as parentheses or static text. The Modifier uses the capital X as a place holder to
represent alphanumeric characters that will appear in the field. All other characters
will be displayed as you type them.
66 U S E R ’ S G U I D E
C H A P T E R 9 F O R M A T S
Example 1
For instance, suppose you’re using a specific data type to store information entered
in phone number fields. This Phone_Number data type uses a format and a format
string to determine how phone numbers will appear at runtime:
The Xs are placeholders indicating where the digits will be displayed, while the
parentheses and dash are displayed just as you typed them. When the field is
displayed and the phone number is entered, the format string will automatically
display the special characters in the field.
Also note that a lowercase x is used in the “ext.” abbreviation in the second format
string. Only uppercase Xs are treated as place holders, so the lowercase x is
displayed in the field, instead of being replaced when data is entered.
Static characters in a format string aren’t actually stored with the data in the table. This
allows you to change the format string without affecting how data is stored.
Composite formats
A format string is used with a composite data type to indicate the size and order of
the components of the composite, and to add static elements, such as parentheses or
static text. The numeric characters 1 through 9 are used to represent the characters
of each component of the composite. All other characters will be displayed just as
you type them.
Not all composites use a format string. Some composite fields, such as the Microsoft
Dynamics GP Account Number, have their format defined through program code.
Example 2
The following example shows the use of a format for a standard composite. A
composite must have a format and a format string. This composite contains three
parts, as indicated by the format string.
U S E R ’ S G U I D E 67
68 U S E R ’ S G U I D E
Chapter 10: Global Fields
Fields represent the individual pieces of information in an application. They can
appear in windows and be stored in tables. Each field uses a data type to specify its
characteristics. Two types of fields are used in applications: global fields and local
fields.
• Global fields can be used in window and can also be stored in tables.
• Local fields can be used only in windows. They are described in Chapter 7,
“Adding New Fields.”
You can also open the Global Field Definition window from the Layout window.
Select Global Fields as the type of field to display in the Toolbox. Select a field name
in the list and click Open.
U S E R ’ S G U I D E 69
70 U S E R ’ S G U I D E
Chapter 11: Pictures and Native Pictures
Two types of pictures are used in Dexterity-based applications: pictures and native
pictures. Pictures are stored in a generic format and can be displayed on any
platform. They are typically used to display large graphics and logos in an
application. Native pictures are pictures that are used only on a particular platform.
They are used to display pictures on push buttons and visual switches.
Information about pictures and native pictures is divided into the following
sections:
• Pictures
• Adding a picture to the picture library
• Using a picture from the picture library
• Creating native pictures
• Synchronizing native pictures
• Using native pictures
Pictures
Pictures are stored in a generic format and can be displayed on any platform.
Currently, the Modifier can convert Windows metafiles to a form that can be stored
in the picture library. Pictures up to 32K in size can be stored. Pictures are stored only
once, but can be placed in several windows of an application using the picture tool
from the Toolbox in the Layout windows.
A company or product logo can be pasted into the picture library and used in
Microsoft Dynamics GP windows. The following picture is the logo that is used for
business alerts.
U S E R ’ S G U I D E 71
PA RT 3 G L O B A L M O D I F I C A TI O N S
2. Click in the layout area where you want the picture to appear.
After you click in the layout area, the Pictures window will appear, allowing
you to select a picture to paste into the layout.
You can paste a picture directly into the window layout, bypassing the step of adding the
picture to the picture library. Simply copy the picture to the Clipboard and choose Paste from
the Edit menu to paste it into a window layout. You’ll be asked to name the picture. The
picture will appear in the layout and will be added to the picture library automatically.
72 U S E R ’ S G U I D E
C H A P T E R 1 1 P I C T U R E S A N D N AT IV E P IC T U R E S
4. Select the name of the appropriate picture from the first platform
and click OK.
The pictures will automatically be given the same internal ID.
Push buttons
When you use them for push buttons, two native pictures are required. The “button
up” picture is displayed when the button is not being clicked. The “button down”
picture is displayed when the button is being clicked. Often, the button up and
button down pictures are drawn to produce a three-dimensional effect (offsetting
the button down picture one pixel down and to the right) when the button is
pushed. To have the best appearance, the native pictures used should be the same
physical size.
The following illustration shows the native pictures used for a lookup button. The
button up and button down pictures were synchronized so the correct picture is
displayed for each platform. Native pictures can be created so they appear as
similar as possible, or different for each platform.
U S E R ’ S G U I D E 73
PA RT 3 G L O B A L M O D I F I C A TI O N S
Visual switches
Visual switches can be used to display a series of native pictures. For each image
displayed, only one native picture is required. To have the best appearance, all
native pictures used for the visual switch should be the same physical size.
74 U S E R ’ S G U I D E
Chapter 12: Strings
A string is a sequence of up to 79 characters that doesn’t contain carriage returns.
Strings are used throughout the accounting system for window names, field
prompts and static text values. Information about strings is divided into the
following sections:
• Using strings
• Modifying a string
Using strings
The strings resource allows you to update all occurrences of a string in one step
instead of changing the same string in each place it occurs.
For example, to change all occurrences of the words “Customer Name” to “Client
Name,” you could select the Customer Name string and change it to Client Name
instead of changing each individual prompt, text value or window name.
Note that changing a string with the Modifier will change it only in the interface. The string
won’t be changed in any reports. To change strings in reports, you must use the Report
Writer.
Modifying a string
Choose Strings from the Resources menu. The Strings window will open, allowing
you to select the string to edit.
The Microsoft Dynamics GP dictionary contains several thousand strings. The Strings
window may take a few moments to open.
U S E R ’ S G U I D E 75
76 U S E R ’ S G U I D E
Chapter 13: Messages
Messages are a type of resource that associates a text string with an ID. In Microsoft
Dynamics GP, messages are used to store the text that provides information or
prompts a user to make a selection. Messages are also used to store other strings
used in the accounting system, such as the names of reports. Information about
messages is divided into the following sections:
• Finding messages
• Replacement markers
• Modifying messages
Finding messages
To find messages in Microsoft Dynamics GP, you will need to generate a resource
report. This report lists all of the resources in the current dictionary, including
message resources. To generate a resource report, choose Generate Resource
Reports from the File menu. Specify a file name and location and then save the
report.
After the resource report has been generated, you can use a text editor to search for
specific messages. Once you have found the message, you can see its message ID.
Replacement markers
Some messages contain replacement markers. A replacement marker is a percent
symbol (%) followed by a number. Replacement markers indicate positions in the
message text where additional information will be substituted when the message is
displayed. If you edit a message, be sure to leave the replacement markers in place.
Otherwise, the message won’t be displayed properly.
U S E R ’ S G U I D E 77
PA RT 3 G L O B A L M O D I F I C A TI O N S
Modifying messages
Choose Messages from the Resources menu. The Messages window will open,
allowing you to edit messages.
78 U S E R ’ S G U I D E
PART 4: STORING AND ACCESSING MODIFICATIONS
Part 4: Storing and Accessing
Modifications
This portion of the documentation contains information about how modifications
you make are stored and accessed. The following items are discussed:
• Chapter 14, “Storing Modifications,” explains how modifications are stored and
describes two common Modifier configurations.
• Chapter 16, “Packaging Modifications,” explains how you can package and
distribute modifications to other users.
80 U S E R ’ S G U I D E
Chapter 14: Storing Modifications
All modifications you make with the Modifier are stored in the Forms dictionary.
Information about storing modifications is divided into the following sections:
• Forms dictionary
• Launch file
• Modifier configurations
Forms dictionary
All changes and additions you make using the Modifier are stored in the forms
dictionary for the application. By storing the new and modified resources in a
separate dictionary, the integrity of the main dictionary can be maintained. For
example, the following illustration shows the dictionary for Microsoft Dynamics GP
and its associated forms dictionary.
When you access the Modifier for the first time, all of the core resources for the
application dictionary are copied to the forms dictionary. Core resources include
strings, data types and global fields that are used by several parts of the system.
Once core resources have been copied to the Forms dictionary, the runtime engine
will look there first when it retrieves resources from the dictionary. Any additions or
modifications you make to core resources will be stored in the forms dictionary. The
modifications will be accessed automatically when you use Microsoft Dynamics GP.
When you select a form to modify, that form is copied into the forms dictionary.
Any modifications or additions you make to that form will be stored only in the
forms dictionary. To access the modifications you make to forms, you must set
security in the accounting system to access the modified form. This is described in
Chapter 15, “Accessing Modifications.”
Launch file
When you start Microsoft Dynamics GP, you use the launch file that tells the runtime
engine which dictionaries will be used by the application. The launch file stores the
location of the application dictionary as well as the names and locations of any
forms or reports dictionaries.
By default, the forms dictionary is named Forms.dic and is located in the Data
folder for the Microsoft Dynamics GP installation. You can use the Edit Launch File
window to change the name or location of the forms dictionary.
To update the launch file, you must have appropriate user privileges. Typically, this means
being part of the Administrators group or the Power Users group. If User Account Control
(UAC) is active, it means launching Microsoft Dynamics GP with Administrative
privileges.
U S E R ’ S G U I D E 81
PA RT 4 S T O R I N G A N D A C C E S S I N G M O D I F I C AT I O N S
To display this window, choose Microsoft Dynamics GP >> Tools >> Setup >>
System >> Edit Launch File.
Be sure that you have correctly specified the name and location of the forms dictionary.
Otherwise, the accounting system may not start properly.
Modifier configurations
Two common configurations are used with the Modifier. One configuration has the
forms dictionary stored locally on each workstation. In the other configuration, the
forms dictionary is stored in a network location accessible by all workstations.
82 U S E R ’ S G U I D E
C H A P T E R 1 4 S T O R I N G M O D I F I C A T I O N S
The configuration you choose depends upon how many modifications you want to
make, whether individual users will be making modifications, and how you want to
share modifications among users.
U S E R ’ S G U I D E 83
84 U S E R ’ S G U I D E
Chapter 15: Accessing Modifications
You can control which users have access to the Modifier and which modifications
specific users will see. Information about controlling access is divided into the
following sections:
U S E R ’ S G U I D E 85
PA RT 4 S T O R I N G A N D A C C E S S I N G M O D I F I C AT I O N S
Complete the following procedure to specify that a modified form should be used.
If you later wanted to use the original version of the form, you would mark the original
form instead.
To view modified forms, you must have either the Modifier or the Customization Site
Enabler registered.
86 U S E R ’ S G U I D E
C H A P T E R 1 5 A C C E S S I N G M O D IF IC A T I O N S
Be sure to activate security once you've made your selections by marking the
Security option in the Company Setup window in Microsoft Dynamics GP. When
you open the form to which you made modifications, the modified form will be
opened in its place. You can verify that the modified form is being used by closely
examining the title bar of the window. If the text in the title bar starts with a period,
the modified window is being displayed.
Changes you made to core resources like strings and data types will be seen by all users. No
additional configuration is required.
Modified forms
Any modifications you make to a third-party product will be stored in a separate
forms dictionary for that product. To access these modified forms, you must select
the third-party product in the Alternate/Modified Forms and Reports window. You
can then choose to use the modified version of the form.
U S E R ’ S G U I D E 87
PA RT 4 S T O R I N G A N D A C C E S S I N G M O D I F I C AT I O N S
Alternate forms
Some third-party developers create alternate windows. These are Microsoft Dynamics
GP forms that the third-party developer has enhanced and transferred to their own
dictionary. By choosing the third-party dictionary when you start the Modifier, you
can make modifications to these alternate windows.
When using the Alternate/Modified Forms and Reports window to set access to
these reports, choose the modified version of the alternate report to display the
modifications you made. For example, the following illustration shows how you
would display a modified version of the alternate Country Codes form provided by
the SmartList dictionary.
88 U S E R ’ S G U I D E
Chapter 16: Packaging Modifications
When you have finished making modifications, you may want to distribute those
modifications to other users. This portion of the documentation describes how you
can use package files to distribute modifications. Information is divided into the
following sections:
• Package files
• Package file import/export issues
Package files
Package files are special text files that are used to deliver customizations made with
the Modifier, VBA, and the Report Writer. A developer can create a package file that
contains their customizations, move the package file to the destination workstation,
then import the customizations into the installation.
Modified forms Forms that have been customized with the Modifier.
New or modified reports Reports that have been created or customized with
the Report Writer.
VBA components User forms, code modules or class modules created with the
VBA development environment.
U S E R ’ S G U I D E 89
PA RT 4 S T O R I N G A N D A C C E S S I N G M O D I F I C AT I O N S
To select non-contiguous items in the list, hold down the CTRL key and click the items.
Click Export. A file dialog will appear, allowing you to specify the name of the
package file. Be sure the file has the .package extension. The results of the
export operation will be displayed in the status area at the bottom of the
window.
Note that some global changes you make with the Modifier and Report Writer can’t be
included in a package file. For instance, changes to picture resources or global data types
won’t be included in package files.
90 U S E R ’ S G U I D E
C H A P T E R 1 6 P A C K A G I N G M O D I F I C A T I O N S
If any of the package file items contain VBA code, the user importing them must have
appropriate user privileges to update the .vba files in the Microsoft Dynamics GP
installation. Typically, this means being part of the Administrators group or the Power
Users group. If User Account Control (UAC) is active, it means launching Microsoft
Dynamics GP with Administrative privileges.
Click OK to start the import process. If any errors occur during the import
process, the Errors window will be displayed. The results of the import
operation will also be displayed in the status bar of the Customization
Maintenance window. To view the list of the last errors that occurred, click the
Errors button in the status bar.
4. Set access to any modified forms or reports that are part of the
customization.
If necessary, use the security features in Microsoft Dynamics GP to grant access
to any modified forms or modified reports that are part of your customization.
Microsoft Dynamics GP contains forms, which are groups of windows, menus and
other resources that work together for a common purpose. A form can have several
windows, but you can make customizations to individual windows with the
Modifier and VBA. When you export a form to a package file, you are exporting all
of the windows in that form, not just the windows you modified or applied VBA
code to.
This fact is important to keep in mind when you import a package file that contains
customized forms. If a customized version of the form already exists in the system
and you import another set of customizations for that same form, the original
customizations will be overwritten. This occurs even if the customizations are made
for different windows in the form.
A similar issue occurs for reports. If you’ve made customizations to a report, then
import a package that contains customizations for that same report, the existing
customizations will be overwritten.
U S E R ’ S G U I D E 91
92 U S E R ’ S G U I D E
Glossary Check box
A control type used to define data types that
Definition window
A window that allows you to create or edit a
allow users to mark or unmark an option. resource and specify its functional
3D highlight characteristics.
An Appearance property setting for push
buttons that causes them to have a flat Dictionary
Check boxes have boolean storage types. A group of resources that, when interpreted
appearance until the mouse pointer is
moved over the button. Then the button by the runtime engine, present a complete
Combo box
appears with a 3-D border. functioning application.
A control type used to define data types that
allow users to enter a text value or choose Drop-down list
Accelerator key
that value from a list. A control type used to define data types that
A key or set of keys on the keyboard that can
be used as a “shortcut” to select a menu or allow users to select one item from a list.
The items in the list are determined by the
menu option rather than using the mouse. static text values in the data type definition.
Access key Component
An underlined character in a menu name, One field of a composite field. A series of static text values will appear, or
menu item name or push button that allows “drop,” when a user clicks a field with this
users to select the item by typing the Composite control type. The integer value
underlined character or by holding down the A group of fields and their associated data corresponding to the position of the item
ALT key and typing the character. types that form a single data type. chosen, not the item’s static text value, is
Composite data types are defined by the stored when the user’s selection is saved.
Alphanumeric composite control type and the fields that
A combination of numbers and letters. make up the composite. Element
One of the fields in an array field.
Array field Control type
A field containing multiple occurrences of The main characteristic of a data type, Field
the same type of information. The individual controlling the type of information that can A field contains a single piece of information
pieces of information stored by an array field be stored in fields that use that data type, used by an application. A field can be
are called elements. and some aspects of how the information displayed on a window or stored in a table.
will be displayed. Commonly-used control The kind of information the field displays or
Array index
types are push button, integer, check box, stores depends on the data type associated
The number designating a specific element
date and currency. with it. See also Global field and Local field.
within an array field.
Core resources Focus
Auto-linked table
Resources such as strings, data types or The indicator that shows the object being
The table specified in the AutoLinkTable
global fields that are used by several parts of controlled in the current window.
window property. You can use the Modifier
an application. When the forms dictionary is
to add fields from the auto-linked table to Form
created, the core resources in the application
the window. A collection of windows, menus and other
dictionary are copied to it.
resources that function together for a
Big line item
Customization site enabler common purpose.
The area containing the fields that will be
A Microsoft Dynamics GP module that can
displayed for a scrolling window in Format
be registered to allow access to modified
expanded mode. See also Small line item. The extra characters, spacing and attributes
forms without having to register the
Modifier. that can be applied to a data type when data
Button drop list
is entered or displayed.
A control type used to define data types that
Data type
allow a user to select one item from a list of Format field
A resource that defines the characteristics for
values. A series of static text values will An integer field that specifies the format to
a field, such as its keyable length, control
appear, or “drop” when a user clicks a field use for a string or currency field.
type (push button, check box, string and so
that uses this control type.
on) and format. A single data type can be
Format string
Cancel property applied to several fields, but a field can have
A data “mask” used for string and
A property that can be applied to a push only one data type applied to it.
composite formats. The format string allows
button window field. If this property is set to extra characters to appear in a field without
Default property
true, pressing the ESC key produces the same affecting the way data in the field is stored.
A property that can be applied to a push
result as clicking the push button.
button window field. If this property is set to
Forms dictionary
Cascading menus true, pressing the ENTER key or double-
The dictionary that stores user-modified
Submenus that appear to the right of a menu clicking a list box or scrolling window with
resources. This dictionary is created when
item. the DefaultDblClick property set to true
the Modifier is accessed for the first time.
causes the push button to be clicked.
Only copies of a dictionary’s resources are
Change flag
DefaultDblClick property stored in the forms dictionary.
A boolean value associated with each form
or window in an application. If the contents A property for list box fields, non-native list
Global field
of the form or window change, the change box fields, and scrolling windows. Double-
A field that can be displayed in windows
flag is set to true, indicating the contents clicking the list box or a line in a scrolling
and also stored in tables. The characteristics
have changed. window with this property set to true causes
of global fields can be viewed with the Field
the push button whose Default property set
Definition window. See also Local field.
to true to be clicked. See also Default property.
U S E R ’ S G U I D E 93
G L O S S A R Y
94 U S E R ’ S G U I D E
G L O S S A R Y
String resources
Sequences of up to 79 characters used
throughout a dictionary for window names,
field prompts and static text values.
U S E R ’ S G U I D E 95
96 U S E R ’ S G U I D E
Index auto-linked table (continued)
described 32
composite formats (continued)
format options 66
AutoLinkTable, window property 26 composites
Numerics AutoOpen, window property 26 defined 93
3-D highlight, defined 93 formatting 67
B configurations, for Modifier 82
A BackColor Contents, menu item 12
About, menu item 12 drawn object property 30 control types
accelerator key, defined 93 field property 28 defined 93
access keys scrolling window property 41 described 46
defined 93 window property 26 list of 48
described 44, 62 Basics, part 6-14 static values for 62, 63
Accessing Modifications, chapter 85-88 big line item ControlArea, window property 26
Add button, how used in Modifier 14 defined 93 conventions, in documentation 2
Adding New Fields, chapter 45-58 described 40 Copy, menu item 12
ADMIN_SYSTEM_009 task 85 big text tool 23 core resources
align to bottom tool, using in window boolean, control type 49 defined 93
layout 23 Border described 81
Align To Grid menu item 25 drawn object property 30 currency
align to left tool, using in window layout field property 28 control type 50
23 button drop lists formats
align to right tool, using in window layout caption and images 57 format options 66
23 control type 49 using format fields 36
align to top tool, using in window layout defined 93 tool 23
23 drop indicator 58 Customization Maintenance window 89
aligning using 57 Customization Site Enabler
fields in windows 23 Button Items window 62 defined 93
objects to the grid 25 described 86
Alignment C customizations, see modifications
drawn object property 30 Cancel, field property 27, 93 Cut, menu item 12
field property 28 Cancel button, how used in Modifier 14
alphanumeric, defined 93 cascading menus, defined 93 D
alternate windows change flag, defined 93 Data Type Definition window 61
described 88 charts data types
modifying 88 composite format options 66 chapter 61-63
Alternate/Modified Forms and Reports currency format options 66 characteristics 61
window 86 drawn object properties 30 defined 93
AltLineColor field properties 27-28 described 61
field property 28 formats for currency fields 36 format 63
scrolling window property 41 numeric format options 66 keyable length 61
Appearance standard buttons in the Modifier 14 opening 61
drawn object property 30 static picture values 63 opening from global fields 69
field property 28 static text values 62 static values 62
scrolling window property 41 string format options 66 DataType, field property 27
arrange tools, described 23 window properties 26 date, control type 50
arranging items, in window layout 23 check box date tool, using in window layout 23
array fields control type 49 Default, field property 27, 93
defined 93 defined 93 DefaultDblClick
described 46 static picture values 57 defined 93
array indexes, defined 93 Style property 57 field property 27
arrow tool, using in window layout 22 tool 23 scrolling window property 41
AutoComplete, field property 27 types 57 definition windows
auto-complete Clear, menu item 12 defined 93
adding items 36 CloseBox, window property 26 described 13
described 35 combo box Delete button, how used in Modifier 14
removing items 35, 36 control type 50 deleting modifications 88
saving items 36 defined 93 dictionaries, defined 93
sharing auto-complete values 35 tool 23 Direction, field property 28
AutoCopy, field property 27 components, defined 93 DisableLookup, field property 27
auto-linked table composite formats display name, for menu items 44
defined 93 example 67 distributing modifications 89
U S E R ’ S G U I D E 97
IN DEX
documentation, symbols and conventions FontColor (continued) Getting Started with the Modifier, chapter
2 scrolling window property 41 7-9
DraggableCols, field property 27 FontItalic global fields
drawn objects, properties, list 30 drawn object property 30 adding to a window, illustration 32
drop indicator, for button drop lists 58 field property 29 chapter 69
drop-down list FontUnderline defined 93
control type 51 drawn object property 30 described 69
defined 93 field property 29 opening 69
tool 23 Form Definition window 21, 43 opening data type 69
DropIndicator, field property 28 Format Definition window 65 Global Modifications, part 60-78
DropPosX, field property 28 format fields grid
DropPosY, field property 28 defined 93 described 25
described 36 for window layout 25
E example 37 grid spacing, setting 25
Edit Launch File window 82 use 37 Grid to Back menu item 25
Edit menu, described 12 format linking mode, described 36 GridLines, field property 29
Editable, field property 27 format strings group box, defined 94
EditMode, field property 27 composite formats 67
elements of arrays, defined 93 defined 93 H
EndTransaction, field property 27 described 66 Help menu, described 12
Exit, menu item 12 example 67 HelpContextID
ExpandButtons, field property 28 string formats 66 field property 27
expanded mode, for scrolling windows 40 using to add static elements 66 scrolling window property 41
exporting package files 89 formats window property 26
aligning field information 65 horizontal list box tool 23
F chapter 65-67 Hyperspace, field property 27
Field, field property 27 composite formats 66, 67
Field Definition window 69 currency, format options 66 I
Field Descriptions, menu item 11 defined 93 images, for push buttons 56
field properties, list 27-28 described 65 ImageSize, field property 29
FieldID, field property 27 format strings 66 Import Package File window 90
fields naming 65 importing package files 90
adding prompts 47 numeric, format options 66 Indent, field property 29
adding to a window, procedure 32 opening 65 IndicatorColor, field property 29
adding to scrolling windows 42 options 65 Insert button, how used in Modifier 14
auto-complete fields 35 string formats 66 integer
chapter 69 forms control type 51
creating local fields 45 creating modified forms 18 tool 23
creating new fields 45 defined 93 invisible fields, showing in layout 24
defined 93 described 8
linking format fields 36 example 8
K
linking prompts 33 keyable length
finding form name 17
object properties 27 defined 94
selecting form to modify 17
opening 69 described 46, 61
forms dictionary
opening data type 69 keyboard equivalent, defined 94
changing location 82
properties, list 27
resizing 33
changing name 82 L
core resources 81 launch file, described 81
tab sequence 31 default location 82
types of 69 layout area
default name 82 described 24
visual properties 28 defined 93
FieldType, field property 27 for scrolling windows 39
described 81 for windows 24
focus, defined 93 launch file 81
Font Layout window 22
modified forms 81 layout windows
drawn object property 30 storing locally 82
field property 28 defined 94
storing on network 83 described 14
FontBold FullRowSelect, field property 29
drawn object property 30 opening 21
light bulb symbol 2
field property 28 G line tool, using in window layout 22
FontColor Generate Resource Reports
drawn object property 30 LineColor, drawn object property 30
described 77
field property 28 Lines, field property 29
menu item 11
LineSize, drawn object property 30
98 U S E R ’ S G U I D E
I N D E X
U S E R ’ S G U I D E 99
IN DEX
100 U S E R ’ S G U I D E
I N D E X
small line item The Modifier Interface, chapter 11-14 windows (continued)
defined 95 third-party modifications, accessing 87 positioning 32
described 40 tile horizontally tool, using in window previewing 30
SortMethod, field property 28 layout 24 properties, list of 26
starting the Modifier 9 tile vertically tool, using in window layout resizing 33
static picture values 24 setting, tab sequence 31
defined 95 time, control type 55 windows in Microsoft Dynamics GP
described 63 time tool, using in window layout 23 Alternate/Modified Forms and
native pictures 63 Title, window property 26 Reports 86
pictures 63 toolbar, described 11 Edit Launch File 82
static text values Toolbox Security Role Setup 85
defined 95 arrange tools 23 windows in Modifier
described 62 creating local fields 47 Button Items 62
Static Text Values window 63 defined 95 Data Type Definition 61
static values described 22 Field Definition 69
described 46, 62 local field list 45 Form Definition 21, 43
static picture values 63 tools 22-24 Format Definition 65
static text values 62 Tooltip, field property 28 Layout window 22
storage size, defined 95 types of modifications 7 Local Field Definition 46
storage types, defined 95 Menu Definition 43
Storing and Accessing Modifications, part U Modified Forms 18
80-91 Undo, menu item 12 Native Picture Definition 72
Storing Modifications, chapter 81-83 UseUniqueHelp, field property 28 Picture Definition 71
string, control type 54 Properties 25
String Definition window 75 V Select a form to modify 18
string formats VBA, defined 95 Static Text Values 63
described 66 Visible, field property 29 String Definition 75
example 66 VisibleItems, field property 28 Windows menu, described 12
format options 66 visual properties WindowType
using format fields 37 for drawn objects 30 scrolling window property 41
strings for fields 28 window property 26
chapter 75 Visual Studio Tools for Microsoft word wrap, defined 95
defined 95 Dynamics GP, defined 95 WordWrap, field property 28
described 75 visual switch
example 75 control type 55 Z
formatting 66 native pictures for 74 Zoom
modifying, procedure 75 tool 23 drawn object property 30
tool 23 field property 30
using 75
W zoom pointer, defined 95
warning symbol 2
Style, field property 29
window command configuration, setting
support, available for the Modifier 3
for Modifier 7
symbols in documentation 2
Window Command Display setting 7
synchronizing
window controls
defined 95
lookup buttons 14
native pictures 73
standard buttons in the Modifier 14
T Window Descriptions, menu item 11
tab sequence window fields, defined 95
defined 95 Window Help, menu item 12
described 31 window layout, opening 21
removing fields from 31 window properties, list of 26
setting 31 WindowID
Table Descriptions, menu item 11 scrolling window property 41
TabStop, field property 28 window property 26
task, security task for Report Writer 85 windows
technical support, for the Modifier 3 adding, fields 32
terminology, for Modifier 8 creating new fields 45
text defined 95
aligning 65 described 8
control type 54 invisible fields 24
text tool, using in window layout 22 opening layout 21
pictures in 33
U S E R ’ S G U I D E 101