Developer Tool Kit Fileprogi Instruction Manual: Written By: Christopher L. Henschen (All Rights Reserved 2002)
Developer Tool Kit Fileprogi Instruction Manual: Written By: Christopher L. Henschen (All Rights Reserved 2002)
fileProGI
INSTRUCTION
MANUAL
This manual is written to assist the developers in setting up and using the Developer Tool Kit
written by the Visual Legacy Group, Inc,. also known as WinFAST in conjunction with and
distributed by fP Technologies, Inc. Mr. Christopher L. Henschen, the author of this manual,
heads the development team of Henschen and Associates, Inc,. and was the liaison and
coordinator in the development of fileProGI and the Developer Tool Kit.
fileProGI Enhancements:
Section 1: Status Bar & Special Features ............................................................Page 9
i
SETTING UP A CLIENT EXECUTABLE
After modifying all the parameters within your development system, the next step is to configure
a client.
1) Change directories to the fpGIdev folder. (These systems have it under c:\appl\fp\fpgidev.
The default location would normally be c:\fp\fpgidev.)
1
APPLICATION CONFIGURATION TABLE - DEVELOPER
The Developer is the module which opens the door to features similar to those you would find
using Windows. When the Developer is loaded there is a GIserver directory within fp.
Eventually, we will discuss this in further detail but for now, let’s just say the executable is
named fpGIdev. When opening fpGIdev, you will notice that the opening screen has a couple of
options the runtime version doesn’t. Clicking the “Setup Configuration” button will bring up
the “Identify Server” window. Click on the “Application Configuration Table” button. Once
you do, you will see tabs along the top of the screen: System Settings, Menu Screen Details, Data
Entry Screen Details, and Drop Down Lists.
SYSTEM SETTINGS
Use Bevels for Protected Edit Fields - This enables a three-dimensional look to protected fields
on the filePro screens.
Use filePro colors in a Browse - Enables/disables the use of filePro colors in a browse window.
Show Cursor in DE Screen - Enable/disable the blinking block cursor on the screen usually
associated with character screen types.
Show ‘Appearance’ Button in DE Screens - This allows you to enable the “Appearance” option
on the toolbar of the data entry screens, and the “Option” option on the toolbar of the menu
screens. Enabling will give the user the ability to change the colors and characteristics of the
screens.
You should uncheck the “Pass Keystrokes thru HTML” box if you don’t want the keys passed
through. This is used in custom html menus.
Action keys are the labels for menu items, which appear to the left in character versions. You
should check the “Show Action Keys in Menu” if you would like for this to happen.
3
The “Define Popup Menu” button consists of a table of commands, which show up when you
right-click on menus.
To add features:
1) Under the “Enabled’ column, change the statement from “false” to “true.”
2) Under the “Menu Item” column, type in the label you want to appear in the right-clicked
menu. Example: “Help”
3) Under the “Send to Server” column, place the keyboard option you wish to send upon
selecting the item. Example: Click “Help” would be the same as depressing <F10> key.
4) To preview, right-click on the Test Popup Here edit box.
5) Finally, click the
“Done–Save
Changes” button.
4
Colors are associated with the
color on the
character screen.
For example, to set
the colors of this
blue/white screen
with red/white
reverse, follow the background color for blue down to
the foreground color for white in the “Customize Form
Colors” table.
Click the box
where the two
colors meet.
Other options include setting the Edit Normal, Edit Hilite, and Default colors, with edits being
the field location where the data is entered. By clicking the buttons you are allowed to set the
form’s background and text color. All button colors used within the application can be changed
in the same manner. The “Gradient Color” button allows for changing of colors boarding the
typical filePro screen boarders and the login splash screen.
If we return to the “GUI Data Entry Screen Characteristics” screen, you will see that the check
boxes for automatic links to WWW addresses and email are set to “off.” By checking these
boxes, text formats such as [email protected] and www.fptech.com become executable by
double-clicking the mouse on the titles. The “Popup for Edit Fields” button is the same as
the”Define Popup Menu” button mentioned above, except that it works only in the edit fields.
The “folders containing image/text files for display” have the same conditions mentioned above
for html menu paths; however, if absolute paths are desired do not place anything in these
locations.
5
DROPDOWN LISTS
To the right, you will see the “Drop Down Lists” screen. You will need to fill in the following
fields in order to create a dropdown.
6
File containing the Dropdown entries – This is the text file that contains the dropdown text.
Clicking on the file folder image to the right of this field allows you to navigate to the desired
text file and edit it from this location.
Number of Lines to Ignore at Top of File – Usually this would be “0"; however, if you need an
offset from the top of the field which will NOT display headings, it is provided.
Title to be shown at the top of the Dropdown – This is where you would enter the title(s) of the
columns that will be shown in the dropdowns.
Delimiter separating fields for multicolumn dropdown – This is a user definable delimiter for
cases when the semicolon might be used as part of the dropdown descriptions.
Example: Code;Description NOTE: no spaces
Search Row & Col – Zero being the default allows for the checking of the field label in any row
or column. If this is changed to a number, the text for the dropdown must reside on that row or
column only.
Test the Dropdown – After defining the dropdown, click the “Update Entry” button. This
records the changes to the list
shown during the dropdown
test.
When all adjustments have been made, click the “Done” button at the bottom of the screen to
store your changes.
7
EXERCISE 2 - LOCAL DROPDOWNS
8
fileProGI ENHANCEMENTS - STATUS BAR
When you logon, the following menu will appear on your screen. These default menus use keys
that act like the character version. On the toolbar there is an “Options” menu. The “Show
images” option is checked in the application configuration.
1) Uncheck “show
images”causing the
background images to
disappear from the GIclient.
9
2) Uncheck “Show Menu
Action Keys.” This
leaves only the labels as
shown in the image to
the right. This is
especially useful for
those who don’t like the
single character key
association
10
When viewing a file, you will notice a different toolbar.
This is the disconnect button. Hopefully you will never need to use this; however, you
can use it to disconnect if the GIclient hangs and nothing else seems to work.
The Cut, Copy and Paste options for edit fields. The Ctrl-V option (for paste) and the
Ctrl-X option (for cut) work from the keyboard. However, the Ctrl-C option (for copy)
does not work because the GIclient uses the Ctrl-C option to cancel actions as the
character version does. Use Ctrl-Z to place the text back into a field if accidently
removed.
11
Appearance Button - You will see the basic changes
associated with the screens; however, this option must be
enabled in the “Application Configuration” in order to show
on this toolbar.
Fonts and color for main form - Allows the user to re-map
the colors as mentioned in the developer section. As
previously stated, it is highly recommended not to adjust the
fonts. Adverse affects can occur.
Templates - These are the same background templates as used on the menus. The “Transparent
Background” must be unchecked. (See figure above.)
Cursor – allows you to use a blinking cursor much like that used in the character version. If
“show” is unchecked, the annoying little square cursor will disappear.
12
SPECIAL FEATURES
3) The “Color” option allows you to change the highlight color (see the yellow area in the above
figure). The normal colors consist of the color of the edit boxes (see the white areas in the
above figures). The font should not be adjusted. The wrong size font can cause the
cursor position to disappear.
4) If “3D Borders” is unchecked, the screen will have a flat two-dimensional look in the edit
fields.
As mentioned before in the Developer section, these options can be turned off. Under the
“Application Configuration Table”, select the “Data Entry Screen” tab and click on the popup for
“Edit Fields” and set the options to “False” or add your own. I added the “Help” option <F10>.
13
fileProGI - SHOW AND EDIT BUTTONS
FileProGI automatically converts the standard FilePro keys to action buttons usable by the click
of the mouse. User defined keys however need to be defined. The basic show button is one
where a single letter is the clickable label created with a simple show statement.
@entsel
show “\{0}-Screen 0, \{1}-Screen 1";end
@entsel
show “\{Screen 0:0} \{Screen 1:1}”;end
If you’d like an underline under the associated key use the &.
@entsel
show “\{Screen &0:0} \{Screen &1:1}”;end
The last two examples work fine on the GI clients, but the character clients have no way to
express the associated key in this manner. To solve this problem one can condition the show
command based on the “GUI” interface in use.
Other uses of the show buttons are within inputs, input popups,
message boxes, etc.
14
For special keys you can display them using something
like: \{F1 Key:[INSC]}
When using the GIclient, you will notice that some prior coding statements were passed over;
however, now they may be revealed. Some things to think about when creating buttons are
how and when they should appear. To make things easier a couple of flags, similar to -D, were
added to dclerk for execution.
These are:
-D While not new in 5.0 as the other -D type flags, this flag suppresses all the filePro
default buttons.
-DE This suppresses the default Delete, Hardcopy, Update, Exit, Print Form, and
Browse buttons, but leaves the default buttons in update mode as Record, Cancel
and Browse Lookup. This flag is useful when the button descriptions exceed the
one show line or you want the description of the default buttons changed.
-DU This flag suppresses the default buttons in update mode, such as Record, Cancel
and Browse, leaving the Delete, Hardcopy, etc. buttons when not in update mode.
1) With the definition of these buttons, what happens when one goes into update mode, using the
examples above?
2) How do we solve this problem? Simply add this to your input processing table.
@update If:
Then: show "";restart
15
Edit fields can be made into buttons in a similar manner. To accomplish this, make sure the
“Suppress Status” check box in the Application Configuration is unchecked.
With the “Suppress Status” box in the “Application Configuration” checked, the line with the
“Male” and “Female” buttons will not appear, nor will anything else send to this line, such as the
“next match” button in index mode. You do not have to worry about losing command ordinated
text, since this line is not beyond the normal filePro display.
16
NEW MESSAGE SEND COMMAND
There are several client side functions which can take place in GI. For these to be accessed, the
program must be setup with the new message command. This command only has to be executed
once in order to initialize, and then can be called throughout the processing.
From this point the Message command can call client side commands. Place the above
processing within the input processing table. Now that we have the variable defined, let us
enable some of the GI features. All messages are sent through the Message menucall SEND
“(@...@)” type format.
BUILT-IN VIEWING
There is built-in viewing available in the GIclient. Using this viewer, one can bring up images
and text files local to the client (map drives included). These file types must end in txt, jpg or
bmp (see the following examples). In order to see a picture appear whenever you hit the F8 key
within a field, type the following within your processing table. (Remember the @once
processing mentioned above is required for this to work.)
@wuk*
If
Then Message menucall SEND “(@D,1,1,C:\ “{“appl\ “{“office\ “{“photos\ “{“pic2.jpg@)”
If
Then end
17
In order to view a read-only note, enter the following to bring up a text notation with the included
viewer.
@keyn
If ‘ **** the 1,1 represent the starting row and column for display
Then Message menucall SEND “(@D,1,1,C:\ “{“appl\ “{“office\ “{“note.txt@)”
If
Then end
EMBEDDED FILES/GRAPHICS
18
Take a look at screen 1 of the demo example. Notice
there is a big clear space on the right hand side of the
screen. This is where we will place the pic2.jpg image
we used in the viewer example. As always with these
calls the @once processing in exercise 2 must first be
within our processing table.
@keye If
Then
Message menucall SEND "(@E,C:\ "{"appl\ "{"office\ "{"photos\ "{"pic2.jpg,1,45,40,18@)"
If:
Then: end
Now to close the embedded image use the following type of process:
@keyc If
Then: Message menucall SEND "(@EX@)”;end
19
LAUNCHING CLIENT SIDE APPLICATIONS
Client side applications can easily be launched within GI. For launching web sites or emails it
can be as simple as a showing statement on a
screen and clicking the name:
Example:
@keyw If
Then Show “@Go to Web site www.henschen.com”;end
@keym If
Then Show “@Email me at [email protected]”;end
@keyr If
Then Message menucall SEND "(@R,C:\ "{"appl\ "{"office\ "{"photos\ "{"pic2.jpg,@)"
If
Then end
@keyt If
Then Message menucall SEND "(@R,C:\ "{"appl\ "{"office\ "{"note.txt,@)"
If
Then end
20
Now let’s proceed a step further, by creating a WordPerfect Merge. To accomplish this we need
three things: 1) A WordPerfect form to merge with - for our example we will use demo.frm; 2)
A macro which merges the data to the form (demo.wcm); and 3) A Filepro Output “processing
only” form (demo_w) which creates
the ASCII string and executes the
macro. We are going to create the
filePro processing and use the existing
WordPerfect document and macro.
The following is a simple export ASCII
command followed by the execution of
the macro demo.wcm. In order to run
the macro, you need to run the
following from the Windows start run:
subst U: c:\appl\office\class
This creates a drive U: from the directory c:\appl\office\class. For networks, you would simply
map drive U: to the servers \appl\office\class directory.
-------------------------------------------------------------------------------
1 ------- - - - - - - - - - - - - - - - -
If:
Then: '********** WordPerfect Data ****
2 ------- - - - - - - - - - - - - - - - -
If: ' define variable for ascii export
Then: declare wpdata
3 ------- - - - - - - - - - - - - - - - -
If: ' Set path for ascii export fplogin internal variable giserver
Then: wpdata="C:\ "{"appl\ "{"office\ "{getenv("FPLOGIN"){"\data.wp"
4 ------- - - - - - - - - - - - - - - - -
If:
Then: export word field=(wpdata)
5 ------- - - - - - - - - - - - - - - - -
If:
Then: ' Fields Used in string
6 ------- - - - - - - - - - - - - - - - -
If:
Then: field(1)=1
7 ------- - - - - - - - - - - - - - - - -
If:
Then: field(2)=5
21
8 ------- - - - - - - - - - - - - - - - -
If:
Then: field(3)=12
9 ------- - - - - - - - - - - - - - - - -
If:
Then: field(4)=13
10 ------- - - - - - - - - - - - - - - - -
If:
Then: field(5)=10
11 ------- - - - - - - - - - - - - - - - -
If:
Then: aa=instr(52,"1","1")
12 ------- - - - - - - - - - - - - - - - -
If:
Then: field(6)=mid(52,"1",aa-"1")
13 ------- - - - - - - - - - - - - - - - -
If:
Then: field(7)=53
14 ------- - - - - - - - - - - - - - - - -
If:
Then: field(8)=39
15 ------- - - - - - - - - - - - - - - - -
If:
Then: field(9)=38
16 ------- - - - - - - - - - - - - - - - -
If:
Then: field(10)=50
17 ------- - - - - - - - - - - - - - - - -
If:
Then: field(11)=6
18 ------- - - - - - - - - - - - - - - - -
If:
Then: field(12)=7
19 ------- - - - - - - - - - - - - - - - -
If:
Then: field(13)=8
20 ------- - - - - - - - - - - - - - - - -
If:
Then: field(14)=25
21 ------- - - - - - - - - - - - - - - - -
If:
Then: field(15)=""
22
22 ------- - - - - - - - - - - - - - - - -
If:
Then: field(16)=""
23 ------- - - - - - - - - - - - - - - - -
If:
Then: write field;close field
24 ------- - - - - - - - - - - - - - - - -
If:
Then: Message menucall SEND "(@R,C:\ "{"appl\ "{"office\ "{"demo.wcm,@)"
25 ------- - - - - - - - - - - - - - - - -
If:
Then: end
26 ------- - - - - - - - - - - - - - - - -
@once If:
Then: declare global menucall (8,.0,g)
27 ------- - - - - - - - - - - - - - - - -
If:
Then: menucall=new message ()
28 ------- - - - - - - - - - - - - - - - -
If:
Then: end
29 ------- - - - - - - - - - - - - - - - -
Explanation of Code:
Line 2: Declares a variable to use for the directory path
Line 3: This line defines the path and name of the exported file. Notice the
getenv(“FPLOGIN”). Getenv(“FPLOGIN”) is referring to a GI server
variable of how the user logs in. This is platform independent, so even
though there is no @id in the Windows version, one can use this variable
in its place. Using this type of file structure allows us to keep each
individual’s data separate from another. From this location, the client can
map a drive letter to their log-in location, giving the ability to address the
same location for all users’ macros.
Line 4: Setting up the export for comma delimited ASCII.
Lines 5-22: Assigns the filePro field to its position within the ASCII string.
Line 23 Writes and Closes the ASCII string. This must be done so the data
becomes a file prior to the form finishing. Forgetting this can cause
improper data or no data from getting to the document.
Line 24: The message SEND command. The C:\appl\office\demo.wcm is referring
to the macro wishing to execute from the GIclients reference.
Line 25: Terminates the processing
Line 26: Sets up the processing which runs once to setup the messaging to the
GIclient. Sets up the long dummy variable for the message handle.
Line 27: Assigns the message handle to the variable menucall
23
ADDITIONAL MESSAGE SEND OPTIONS
Now that you have your dropdowns and buttons create, let’s go over some other message send
options. As mentioned in the viewer section, the @once processing must be setup for these to
work:
@once If:
Then: declare global menucall(8,.0,g)
28 ------- - - - - - - -
If:
Then: menucall=new message ()
29 ------- - - - - - - -
If:
Then: end
(@P,pathname@) Sets a Global pathname that can be used for the client when defining
locations.
(@P,@) Clears the pathname
This is a very useful message. Let’s say you have an application which uses various codes for
filings. Although the same dropdown description (“entry”) is on each file screen, you want
different context depending on the “filePro file”. You must set up the dropdown as described
on page 6. However, in the file containing the dropdown entries, change the “full path to file”
(literal path) to:
C:\appl\office\$path\entry.txt
Create two text files called “entry” and place them in directories C:\appl\office\{your ”filePro
file” names}. Now when you set the Message send command to the {“filePro file” name} the
$path will be replaced with the {“filePro file” name}. This might be within the @once
processing routine. Example of setting demo to the path:
27 ------- - - - - - - - - -
@once If:
Then: declare global menucall(8,.0,g)
28 ------- - - - - - - - - -
If:
Then: menucall=new message ()
29 ------- - - - - - - - - -
If:
Then: Message menucall SEND "(@P,demo@)"
30 ------- - - - - - - - - -
If:
Then: end
24
Display a Dialog Box (@DLG,box-type,buttons,text-of-message@)
Clickable message buttons (comma “,”delimited) can be created by setting 1-> on, 0-> off.
Button Descriptions are listed below and must follow the order shown below.
Button Descriptions
1 - Yes A button with a green check mark and the text 'Yes' on its face
2 - No A button with a red circle and slash mark through the circle with ‘No’ on its face.
3 - OK A button with a green check mark and the text 'OK' on its face
4 - Cancel A button with a red X and the text 'Cancel' on its face
5 - Help A button with a cyan question mark and the text 'Help' on its face
6 - Abort A button with a red check mark and the text 'Abort' on its face
7 - Retry A button with two green circular arrows and the text 'Retry' on its face
8 - Ignore A button with a green man walking away and the text 'Ignore' on its face
9 - All A button with a green double check marks and the text 'All' on its face
Example:
If exists ("V:\photos\demo\ "{50{".jpg")ne "1"
Then: Message menucall SEND "(@DLG,3,0,0,1,0,0,0,0,0,0,No File Exist for"<50{"@)";end
This would display an INFORMATION dialog box with OK text button, with a “NO FILE
EXIST” message.
25
MISCELLANEOUS CHANGES
26
1) < a href="\documents\example.doc#EXTERNAL">
2) <a href="http://henschen.com">
This brings up an external html browser and goes to the site mentioned. Great to point
users to your site for updates, etc.
3) <a href="mailto:">
This brings up the Windows mail program. Following the mailto: one could add an
email
address. Example mailto:[email protected].
These changes become universal, in that all menus have the same linking information. Please
note that this is a very basic Browser used for the menus. Java and some html codes do not run
with this environment.
27
MISCELLANEOUS CHANGES
26
1) < a href="\documents\example.doc#EXTERNAL">
2) <a href="http://henschen.com">
This brings up an external html browser and goes to the site mentioned. Great to point
users to your site for updates, etc.
3) <a href="mailto:">
This brings up the Windows mail program. Following the mailto: one could add an
email
address. Example mailto:[email protected].
These changes become universal, in that all menus have the same linking information. Please
note that this is a very basic Browser used for the menus. Java and some html codes do not run
with this environment.
27
Variables and Pitfalls of GI
the cls command has to be on a line of it’s own or else the show on statement on the line is
cancelled when an additional show command is issue. Ex:
IF: GUI
Then CLS
IF: GUI
Then: showctr(“22") “\rH\r-Hardcopy, \rX\r-Exit”
IF: GUI
Then showctr(“23") “\rI\r-Image, \rF\r-Forms”
Local Printing within the Giclient works with the new windows version of Filepro/GIclient
combo
set PFPT=on
set PFPRTC=hplaser
The Autogoto warning that comes up when the cursor can’t reach the distanation of the mouse
click can be surpressed with the variable:
set PFAUTOGOTOWARN=off
Turns of the cursor Path logic on the Giclient to quickly skip to the entry field. If this is set to
off any @wlf/@wef logic in between the location the cursor leaves and goes to isn’t honored.
set PFFORCECURSORPATH=off
GISERVER
On Unix servers if the current time coming up with the colon is off by server hours, one may
have to set the TZ variable within the ~/fp/giserver/lib/giserver.cfg.
GIClient
If you desire to change the title on minimized program name and title bar, one can use the title
option upon execution. This way one could have different applications icons executing the same
program with different titles. First create a shortcut of the fileproGI executable. Then go to
properties and add to the target line.
Change: fileproGI.exe
To: fileproGI.exe “title=My Title”
Creating Buttons in
fileProGI
filePro components
! Show statements
< These statements allow you to display messages, letters
or buttons at the bottom of the screen.
! Gui/Not gui statements
< These statements allow filePro to distinguish between
graphical commands and character commands.
! Inverse Brackets (\{text goes here})
< These highlight the text that is in between them. For
graphical, they give the appearance of a button. In
character, they only highlight the text.
Show statements
------------------------------------------------------------------------
If:
Then: show “This centers at the bottom of screen”
------------------------------------------------------------------------
If:
Then: show (”1",”5") “This shows at position indicated”
------------------------------------------------------------------------
If:
Then: showctr (”22") “This centers on that specific line”
------------------------------------------------------------------------
Gui/Not gui statements
--------------------------------------------------------------------
If: not gui
Then: show “If character, then show this”;end
--------------------------------------------------------------------
If: gui
Then: showctr (”22") “If graphical, then show this”;end
--------------------------------------------------------------------
Inverse Brackets
-------------------------------------------------------------
@entsel If: not gui
Then: show “\{A}-Address”;end
-------------------------------------------------------------
If: gui
Then: showctr (”22") “\{Address:A}”;end
-------------------------------------------------------------
------------------------------------------------------
@entsel If:
Then: show “\{A}-Address”;end
------------------------------------------------------
If there is no condition as to whether it is to be
used in graphical or character, it will display the
same in both. However, in graphical it will be a
clickable button, while in character it will just be
the highlighted letter of the function.
One Letter Button
Graphical look:
Character look:
Full Word Button
----------------------------------------------------------------
@entsel If: gui
Then: showctr (”22") “\{Address:A}”; end
----------------------------
The “ : ” lets filePro know the
corresponding key associated with
the button.
filepro also has special keys that can be made into
buttons:
-------------------------------------------------------------
If: gui
Then: showctr (”22") “\{\K4:[SAVE]:Record}”
-------------------------------------------------------------
Full Word Button
Character look:
The “&” creates the underline under the letter that it is next to.
Which should always be the corresponding key stroke on the
keyboard for that function. (GI only)
---------------------------------------------------
@entsel If: gui
Then: show “\{&Address:A}”;end
---------------------------------------------------
-------------------------------------------------------------------------------------------------
If: gui
Then: input popup za(1,allup) “Please select button: \{One:1} or \{Two:2} “
-------------------------------------------------------------------------------------------------
Additional Button Information
(hints & tips):
In GI, edits can be made to be a clickable button as well:
Define Edits:
---Name-- ----------------------- Edit ----------------------
avd .’\{Add:A} \{View:V} \{Delete:D}’ {~”A”|”V”|”D”}
Additional Button Information
(hints & tips):
Tip: when using a button on the bottom of a screen, if the
function is an “@key” process and it calls for one to add,
view, or delete, here is a shortcut:
*instead of giving the option of add, view or delete, just
automatically start the function in view mode and then add
the buttons for add and delete once in the browse mode:
Additional Button Information
(hints & tips):
Dropdowns in filePro
Training In Orlando
October 2003
What’s In the Toolkit?
! Additional appearance controls for GIclients
< Suppressing Status Buttons
< 3D protection fields
< Enable the “Appearance Button” in data entry
screens for color mapping in the GIclient.
< Add and subtract information from popup menus
< Activate the GIclient messaging commands
! Dropdown definitions enabling
< Based on screen information, create drop downs
using text local files.
Configuration
GIclient Toolkit
Dropdown Listing
File containing
dropdown definitions.
When associated with
the Vrbl Name can be
Name referenced in the used to call additional
message send command dropdown list in
for alternate dropdown conjuction with the
list (@LDD,extra2) default list
Changing Dropdown List Definition File Name
Unchecked
Checked
Beveled Protection Fields
Checked
Unchecked
Appearance Button on DataEntry Screens
Checked
Places appearance
button on the
GIclient screen for
end user to make
adjustments to
screen color and
characteristics.
Unchecked
Menu Screen Detail
Action Key
No Action Key
Dropdown Menu on FP Menus
Define Dropdown
Menu Options For FP
Menus, Like the F10
Help.
Data Entry Screen - Font Use
Checked to Automatic
Highlight data
Unchecked to not
highlight data when
entering field
Dropdown Menus on Screens
To do this:
! Right click on the FileproGI shortcut on the desktop
! Select Properties
! Add to the end of the Target the “title=My Title”, where My
Title is the beginning label of the titlebar and minimized titles.
New FP Enviromental Variables
! PFPT=on – Local printing to GIclient added to Windows Giserver
! PFPRTC=printer_code – Local print codes added to Windows Giserver
! PFAUTOGOTOWARN=off – Removes the warning relating to a mouse
cursor location could not be reached. This is caused from an interruption
due to a popup, input, or other user prompt request, or the cursor returns
to the position it left from. If set to “off” no warning message appears.
! PFFORCECURSORPATH=off – Turns the cursor pathing off,
preventing @wef/@wlf processing not to be honored and skips directly to
the location.
Enviromental Variables used for
Cleaner Presentations
! PFEDITFAILBOX=on – Edit Failed messages appear in a
box in the center of the screen instead of the bottom.
! PFLOCKBOX=on – Flashes Record Being updated Message
! TEXTNORMAL, TEXTINVERSE, DIALOGNORMAL,
DIALOGINVERSE, POPUPNORMAL, POPUPINVERSE,
ERRORNORMAL, ERRORINVERSE, HELPNORMAL,
HELPINVERSE – Sets Colors for screen when used with
proper TERMCAP, (ex: cansi/ansic – Unix)
Quick Changes
! Show Buttons
! Drop downs added to screen
! Web page/email launching from a show, or msgbox
command
< show “@Click email address: [email protected]”
< Msgbox “Click and go to www.domain.com”
Message Send Command
! Message Send Commands are the means for filePro to
communicate to the GIclient to execute local applications
and commands.
! All Message Send Commands must declare a handle
! Most Message commands have the syntax:
< Message handle SEND “(@option,....@)”
! Message Send Commands Only work on License files
received from a party with the Toolkit.
< If one purchases the toolkit directly
< If a Developer has purchased a toolkit and license their
customers GIclients.
Current Message Commands
! Read-Only Display @D
! Embedded Files/Graphics @E
! Running Giclient side Applications @R
! Alternative $path value @P
! Secondary Dropdown Descriptions @LDD
! Dialog Box @DLG
Display Message Commands
! Read-only Display (@D,r,c,file@) (@D,r1,c1,file1,r2,c2,file2@)
< Files consist bmp, jpg, and txt files
< Though two display files can be told to come up from one
message send. One can’t just address file2 in the manner
(@D,,,2,3,file2@)
< There is no sizing parameters, so it takes on the resolution of
the image or file in the built in viewer.
< One can resize and move the window for the period of time the
display is up and return to original size and location when
executed.
< Can be closed by either the by right corner X or using the
(@X,1@) (@X,1,2@) message send option
35 ------- - - - - - - - - - - - - - - - -
@keye | If: ' display embedded image
Then: Message menucall SEND "(@D,1,1,C:\ "{"appl\ "{"note.txt@)"
36 ------- - - - - - - - - - - - - - - - -
| If:
Then: end
37 ------- - - - - - - - - - - - - - - - -
@keyc | If: ' close embedded image
Then: Message menucall SEND "(@X,1,@)"
Embedded Files/Graphics
Address Book
Customers Vendors
/textfiles/$path/address.txt
/textfiles/customers/address.txt /textfiles/vendors/address.txt
Dialog Box @DLG
! Format (@DLG,box-type,Button,text-of-message@)
! For Information Use only at this time.
! Requires User to close, before continuing on.
< Box Types:
1) Warning – Yellow Exclamation Point symbol
! Format (@DLG,box-type,Button,text-of-message@)
< Buttons are setup in a binary series of 1(on) and 0 (off) with
the list below.
< Buttons:
1) Yes
2) No
3) Ok ------ - - - - - - - - - - - - - - - -
| If:
4) Cancel Then: message menucall SEND "(@DLG,1,1,1,1,1,1,1,1,1,1,Warning Dialog Box@)”
------ - - - - - - - - - - - - - - - -
5) — Unused —
6) Abort
7) Retry
8) Ignore | If:
Then: message menucall SEND "(@DLG,2,1,1,0,0,0,0,0,0,0,Error Dialog Box@)”
9) All
Things Henschen & Associates Has Done
! Word /WordPerfect Merges
< Export Data from filePro using jsfile or export command
< Run Macro Merge document
! Photo List and Copy Routine
< Collect Directory file Information
< Writes html using jsfile command
< Embedded Display list
! HTML Menus
< Executed from startcmd
< Ahrefs are setup to “send” the results to command prompt
! HTML Scheduler
< Using HTML frames ahrefs pass results to dreport to generate next
page.
GIadmin
! User Accounts
< Delete add and change GI accounts
< See associated processes of user
! Administer several servers from a single location
< Shutdown Clients
< Check logs
! Configure new servers
! Shutdown remote GIserver
GIadmin -- Select Server
Servers configured
for Giadmin to login
to.
Remote Shutdown
of GIserver logged Disconnect the
in to for GIadmin from the
administration. logged in toGIserver.
Closes GIadmin
GIadmin – Edit
No Login
Check Filepro
Giclient IP/Port
Character and GI
Address
versions
Giserver
Running?
Giserver.lic in
Java Install and ~/giserver/lib
Path Set? licensed for this
server?
Check Log
Giserver.err
~/giserver/logs/
Call
Support
Determine filePro Versions
< GIclient can be obtained by either clicking on the
login logo, or Help -> About from the titlebar menu
after logging in.
< GIserver – ~/fp/giserver/giserver -ver
< GIadmin – Under help about of the GIadmin toolbar
menu
< Runmenu – On character menu hit Shift-Tab
< D/Rclerk – set the PFVER=on and look in the upper
right corner of the Inquire/Update/Add from the Main
menu.
< D/Rreport – set the PFVER=on upper right corner of
Request Output menu item.
GIserver Running
! Unix: (For Unix giserver to run properly both lserv and giserver.jar
processes must be running.)
< # ps -ef|grep giserver.jar
< # ps -ef|grep lserv
< If not running execute ~/giserver/start
! Windows:
< Go to the Task Manager
< Processes Tab and look for jsl.exe
< If not running execute the giserver from Services
Java Install and Path Set (Windows)
! Windows:
<~\fp\jsl\bin\jsl.ini [java] section match the file Location
[java]
params=4
param00=-cp
param02=com.fptech.giserver.Server
param03=%1
jrepath=c:\appl\fp\jre1.4.1
wrkdir=c:\appl\fp\giserver
param01=c:\appl\fp\giserver\giserver.jar
Java Install Path Set (Unix)
! Locate the Java Program (version 1.2 and above)
< java -version -or- pkginfo -x|grep java
< Most located under either /usr/java2/bin or /usr/jre2/bin
< Set pathing in the /etc/profile –
PATH=/usr/java2/bin:$PATH;export PATH
! If Java isn’t installed a copy can be downloaded at www.fptech.com
under the download link, or by the vendors site.
! ~/giserver/giserver.sh files path should match the java location.
Licensed for Server
Fri Aug 15 07:41:29 EDT 2003 Gethost library not found. Using license server ins
tead.
Fri Aug 15 07:41:30 EDT 2003 MAC addresses found 00c00d00dcce 000000000000 00000
0000000^@
Fri Aug 15 07:41:30 EDT 2003 3 addresses were return for validation check.
Fri Aug 15 07:41:30 EDT 2003 Checking license for MAC address 00c00d00dcce
Fri Aug 15 07:41:30 EDT 2003 Comparison of 00c00d00dcce to 00c00d00dcce suceeded.
Fri Aug 15 07:41:30 EDT 2003 License validated using MAC address
No Menu After Login
~/fp/fpdaemon_sco
permissions to
execute
Users account
information setup proper
Number of
Processes
exceeded nproc
Call
Support
No Menu After Login
!Most cases after an install where all users can’t login, it’s due to
fpdaemon_sco not being executable.
!Check ~/giserver/lib/giserver.cfg
< exec=/appl/fp/fpdaemon_sco line consistent with fpdaemon_sco
location. (Fpdaemon_win/fpdaemon_NT for windows platforms)
< Recheck your license port is the same as requested (default 4350)
!Check Log /tmp/daemon2.log (Unix) or X:\daemon.log (Windows)
--- fpdaemon started ---
Date: Mon Sep 22 14:50:59 2003
[0] = '/appl/fp/fpdaemon_sco'
[1] = '/appl/fp/runmenu'
[2] = 'dpromenu'
!Number of Processes used may need increased if several have logged
in and no additional users can. (nproc=~6*GIsessions)
Other Issues
If variable set
This is validated against the PFSCRAPERLOG=/tmp/scraper.log
~/fp/giserver/lib/giserver.lic file begins logging all GI-related filepro
programs activity. No logging for
non-filePro programs.
~/fp/giserver/users/default.cfg
parameters are setup