Problem:
This demo shows how to place the cursor at the end of a Dialog System entry field.
Resolution:
INTRODUCTION
==========
This demo shows how to place the cursor at the end of a Dialog System entry
field. By default the cursor appears at the beginning.
SOURCE FILES:
==========
Program Files Description
------------------- -----------------------------------------------------------
TEST1.CBL Dialog System control program.
DSCSRPOS.CBL Utility program that moves the entry field cursor.
Copy Files:
------------------- -----------------------------------------------------------
TEST1.CPB Example Dialog System screenset Datablock copybook.
Form Files:
------------------- -----------------------------------------------------------
TEST1.GS Example Dialog System screenset.
OPERATION:
==========
Load the DSCSRPOS.APP project file in to Net Express and rebuild the project. You can then run or animate the demo. A window will appear with five entry fields on it which you can tab between. Each time an entry field gains focus it calls the DSCSRPOS utility passing it the handle of the entry field. The DSCSRPOS utility then calls a number of Panels2 functions to reposition the cursor.
The utility source code is fully documented.
==========================================================
Keywords: demonstration, sample, example, demo, Dialog System, dscsrpos.zip
demo.ex
demo.ne



