FIELDX Ver. 1.0

FIELDX currently contains only the following function which can be called
from OV2 applications:
  
    SelectAll   -  When used in an Event Tree (Select) this function
		   causes an Edit type OV field to behave like standard
		   Windows Edit controls.  When the field receives the
		   focus, the entire contents of the field are highlighted
		   and the caret is poistioned at the end.  This function
		   has no effect on, and should not be used with, list
		   boxes, combo boxes, radio buttons or check boxes.

FIELDX.OVD is an OV2 application which illustrates the use of this
function.  The function is registered in the application stack as
follows:

@REGISTER("@SELECTALL","I","","fieldx.dll","SelectAll",1)

The C source and project file are provided.  These files are distributed
without restriction but also without warranty.  If  you experience
problems or have improvements, please post them to the ObjectVision forum
on Compuserve.

NOTES FOR DLL PROGRAMMERS:

When a field is to receive the focus, an Edit control is created to handle
user input.  My best guess is that OV fields don't behave like normal
Edit controls because the text is set after the control receives the
focus.  The Event Tree (Select) functions are called after the
control is set with the current field value.  SelectAll simply retrieves
the Edit window's handle, checks that it is an Edit class window and
if it is selects the entire contents.  It is my expectation that this
function will have no use in future versions of OV (above 2.1), since
many users have requested that fields behave like normal Edit controls.

The LibMain and WEP functions are contained in wwovlib.c.  This is the
same source as is used in wwovlib.dll which has also been uploaded to
the ObjectVision Forum library.  The SelectAll function can easily be
added to wwovlib.dll by adding fieldx.c to the project and rebuilding.



Welcom H. Watson, Jr.
350 SE 2nd Street, Suite 200
Fort Lauderdale, FL  33301
70324,3656

