FMTPTX - Text Formating Power Tools eXtension

Version 1.0

Written by Andrew Ross MacNeill [76100,2725], PC Edge Inc., 1994
Placed in the Public Domain - October 8th, 1994

NOTE: 	THERE IS NO CHARGE FOR USING THIS TOOL. IT IS PLACED IN THE PUBLIC DOMAIN
		TO ENCOURAGE TECHNOLOGY EXCHANGE BETWEEN DEVELOPERS. AS SUCH,
		THERE IS NO COPYRIGHT ASSOCIATED WITH THIS PROGRAM.

		IF YOU HAVE ANY COMMENTS, SUGGESTIONS OR PROBLEMS, 
		PLEASE CONTACT THE AUTHOR AT THE ADDRESS BELOW.

FMTPTX is a Power Tools Extension designed to provide a Tabbed-interface to the text formatting 
features of FoxPro/Windows and Macintosh. Because there are no font and size properties in either
DOS or UNIX, FMTPTX is strictly a GUI PTX, similar to the 3D/PTX provided with the PTX Editor.

Its design is based on Property Sheets as implemented in Windows 95. These property
sheets are not like the scrolling lists provided in Visual Basic, Access or the Props/PTX; they are
tabbed dialogs designed to make identifying the various properties easier to the user.

FMTPTX contains four property sheets: Styles, Fonts, Colors and Alignment.

The Styles Property sheet allows users to define and apply standard text formats to objects without 
having to set them individually. In version 1.0, Styles allow the following characteristics of an object
to be applied: Font Face, Font Size, Font Style and Color. When a style is highlighted, the style 
characteristics are displayed in the area down below.

The Fonts Property sheet controls an object's font face, size and style without having to activate the
FoxPro Font dialog. The Fonts Property sheet also displays the type of object that is being changed.

The Colors Property sheet controls an object's Fill and Pen color settings. All of the standard FoxPro
colors are displayed in the lists. 

The Alignment Property sheet controls an object's mode (transparent/opaque), and for text objects, it also
controls the alignment and spacing.

FMTPTX will not run for the general layout of a screen or report as changing the font for an entire screen
may cause some undesired effects.


INSTALLATION

Normal PTXEDT
To install FMTPTX, create a new entry in the PTXEDT table by right-clicking on the command window. 
Add a new record to the table with the following attributes:

PTXCODE:		1 
PTXNAME:		Styles (or any other name you choose)
PTXPROGRAM:	FMTPTX.APP
PTXCLASS:		SCREEN, REPORT.

Close the PTXEDT table. The next time you run PTXEDT, the Format/PTX will be available in the PTX
list.

POPPTX
POPPTX is a special Extension that provides developers with a popup showing specific PTXs before the
PTX Editor screen is called. This provides an interface feel similar to Visual Basic and Access.
If you use POPPTX, you can install FMTPTX the same way, but instead of identifying a PTXCODE of 1,
change it to the PTXCODE that is identified in the POPPTX section of the PTXEDT.INI file. This is 
normally set to 31.
When you run PTXEDT, POPPTX will display Format as an available PTX to run without running the actual
PTX Editor.

WARNING:	If you plan on using FMTPTX with POPPTX, be sure that you have selected the appropriate
			object on the screen or report before making changes. The object type is displayed on the
			Fonts screen.


This PTX is the first of many designed to make using the Power Tools easier by means of Ken Levy's 
wonderful PTX Editor. As such, I strongly encourage questions, comments and enhancement requests
be sent to me on the FOXUSER forum. 

Comments and suggestions should be reported in the Third Party Library section on the 
Compuserve FOXUSER forum (GO FOXUSER/ GO FOXGANG):

Andrew Ross MacNeill (76100,2725)

