|
The Resource Kit
contains several scripts and projects, all expertly documented and simple to
understand. To better help you in understanding the concepts that Formula
Graphics is built upon, you can load these samples into the Formula Graphics
editor and deconstruct or add to them.
This hands on
approach to learning will allow you to rapidly begin producing projects with
Formula Graphics.
Below is a listing
of samples and what they accomplish:
Animation Samples: Animations.fgx and Animations.sxt Description:
Learn the basics of using animated graphics within FGX. The associated script
will show you how to manipulate the animations dynamically while the projects is
running. The script and project are tied together so you can see how things work
together.
Database Samples: Database.fgx and
Database.sxt Description: This will show how to load information into
an array, which can then be easily transferred into a database of your liking.
The project sample takes user input and then the associated script will transfer
that input into an array.
Data Files Samples: DataFiles.fgx and
DataFiles.sxt Description: Data Files, such as text files, can be
manipulated in many different ways with Formula Graphics. This project will show
you how to open files, add to files, search through files, and other tasks. The
associated script is responsible for making these things happen.
Data Screen Samples:
Datascreen.fgx and Script.sxt Description: Use this project and
script to understand how an interface can be created for data stored in an ASCII
text file.
Dynamic Link Libraries Samples: DLL.fgx and
DLL.sxt Description: By manipulating DLLs you can extend the
capabilities of FGX greatly. This project and script will show you how to access
DLL functions and use them in your project.
Edit Boxes Samples: Editbox1.fgx and
Editbox.sxt Description: See how to manipulate different functions
that have a bearing on how information is displayed in Edit Boxes.
Understanding
Formula Graphics Samples: fgxhelp.fgx
and fgxhelp.sxt Description: This is a full version of the popular manual
"Understanding Formula Graphics". This was written totally with FGX and
demonstrates several features. This project and the associated script
demonstrates how to make a project that can download updates to itself over the
internet.
Files and
Directories Samples: FilesandDirectories.fgx and
FilesandDirectories.sxt Description: Discover many of the functions
that can be used to manipulate files and directories of a users machine through
FGX. The project calls many functions through it's associated script.
Global Variables Samples: GlobalVariableScreens.fgx
and GlobalVariableScreens.sxt Description: Global variables make
storing user information a snap. This sample shows how to save the screen the
user last viewed before exiting the project. The next time the user opens the
project, he is taken right back to where he left off.
Graphics Window Samples: GraphicsWindow.fgx and
GraphicsWindow.sxt Description: Through calls to the associated
script, this project will demonstrate how to manipulate the graphics window to
accomplish different techniques such as transitions and testing the
resolution.
Windows Start
Menu Program Groups Samples: icons.fgx
and Icons.sxt Description: Installing program groups and icons is easy
when following this sample. This is very useful when writing setup programs with
FGX.
If
Statements Samples: IfStatements.fgx and IfStatements.sxt Description: This
simply demonstrates the use of "IF" statements in a Formula Graphics script to
produce logic in your project.
INI
Files Samples: ini_project.fgx and INI.sxt Description:
This project and it's associated script will show you how to use INI files
in your project. This is a useful alternative to using the Windows Registry to
store information about your project.
Email and Web Samples: Internet.fgx and
Internet.sxt Description: This great project has a web
browser created totally with FGX. The second screen in the project will allow
you to send email, right through FGX.
Listings Samples: Listings.fgx and
Listings.sxt Description: This project illustrates "looping" from a script as
well as how to use a Combo Box.
Loops Samples: Loops.fgx and Loops.sxt Description: This
project and its associated script demonstrates the programming concept of
Looping.
Splash Screen Samples: manual.fgx and
FGXHelp.sxt Description: This is a one screen project that shows how
you could create a splash screen for your project.
Multimedia
System Samples: MultimediaSystem.fgx and
MultimediaSystem.sxt Description: This is the largest and most
comprehensive project included in the resource kit. It contains demonstrations
for the following elements: Background, Rectangle, Picture, Animation, Animation
with Sound, Video, Sounds, Text, Buttons, Dialog Box, Specials, Input, Wait,
Actions, Control, and End.
ODBC Samples: ODBC.fgx and ODBC.sxt Description:
Access to ODBC is possible through FGX as this project and its associated
script demonstrate.
Pictures Samples: pictures.fgx Description:
An extensive review of the Picture element and how to manipulate it during
run time, with out scripting.
Picture
Viewer Samples: PicViewer.fgx and PicViewer.sxt Description: By
using the HTML element, this project demonstrates how you could use FGX to
create a picture viewer.
Progress
Bar Samples: Progress.fgx and Progress.sxt Description: Use
this project to demonstrate the use of the Progress Bar element in FGX. Using
the associated script, you will see how to make a progress bar display a
countdown from a user specified amount of time in minutes and
seconds.
Screen
Saver Samples: screensaver.fgx Description: Learn how to make
a screen saver in FGX that actually works.
Scripts Samples: Scripts.fgx
and Scripts.sxt Description: This demonstrates the basics of
incorporating a script into your project, such as how to call a procedure from
within the project.
Setup
Project Samples: setup1.fgx and setup.sxt Description: In order
to use the Setup Utility function of FGX, you must first create a setup project
that will carry out the necessary setup procedures, such as copying files and
installing icons in the program group. This project and script can be used as a
template in creating such a system.
Shareware Samples: Shareware.fgx and Shareware.sxt Description:
If you have ever wanted to create functionality into your project so that it
would act like shareware (stops operating after a certain number of uses), then
this project and its script will be helpful.
The Switch
Statement Samples: Switch.fgx and Switch.sxt Description: A cousin
to the "If" statement, this project and script demonstrates the use of the
switch statement in making your projects more logical.
Variables Samples:
Variables.fgx and Variables.sxt Description: As one of the most
basic concepts in any programming language, variables are used quit extensively
in FGX scripting. This project and associated script very thoroughly show the
differences between different variables in FGX and how they can be used most
effectively in your project.
Windows Messaging Samples: WindowsMessages.fgx and
WindowsMessages.sxt Description: FGX has the ability to be tightly
integrated into Microsoft Windows. This project and script demonstrates
techniques that make use of Windows Messaging.
Windows Registry Samples: WindowsRegistry.fgx and
WindowsRegistry.sxt Description: Accessing the Windows Registry from
FGX can be tricky, but this sample makes it simple to see it in
action.
|