home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tolkit45.zip
/
os2tk45
/
samples
/
pm
/
template
/
template.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1999-05-12
|
11KB
|
360 lines
ΓòÉΓòÉΓòÉ 1. About Template ΓòÉΓòÉΓòÉ
The Template Sample application is a sample Presentation Manager application
which an application developer can use as a base for his own applications. The
sample program uses many of the standard menus and dialogs that most
applications would use. The source is designed to serve as a base for any
Presentation Manager application and was written in such a way that it can be
easily modified to handle any application specific commands.
ΓòÉΓòÉΓòÉ 2. File Menu ΓòÉΓòÉΓòÉ
The File menu contains commands that you use to create, open, and save data
files. In addition, it also contains the command that you use to exit the
Sample application. The following commands appear in the File menu:
New Creates a new untitled file
Open Opens an existing file
Save Saves any changes to current file
Save As Saves the current file using a new name
Exit Quits the Sample application
ΓòÉΓòÉΓòÉ 3. New ΓòÉΓòÉΓòÉ
You can create a new file in the Sample application window by using the New
command. To create a new file, do the following:
Select the File menu and choose the New command.
The word "Untitled" appears in the title bar of the new file.
ΓòÉΓòÉΓòÉ 4. Open ΓòÉΓòÉΓòÉ
You can open a file that exists on any drive or in any directory by using the
Open command. To open a file, do the following:
Select the File menu and choose the Open command.
A dialog box appears, showing you a list of files in the current directory.
ΓòÉΓòÉΓòÉ 5. Save ΓòÉΓòÉΓòÉ
You use the Save command to save changes you've made to your file. To save
changes to the current file, do the following:
Select the File menu and choose the Save command.
ΓòÉΓòÉΓòÉ 6. Save As ΓòÉΓòÉΓòÉ
You use the Save As command to name and save a new file.
Follow these steps to save a new file:
1. Select the File menu and choose the Save As command.
A dialog box appears, prompting you for a new filename.
ΓòÉΓòÉΓòÉ 7. Exit ΓòÉΓòÉΓòÉ
You quit the Sample application by using the Exit command. To quit the Sample
application, do the following:
1. Select the File menu and choose the Exit command.
ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
1. Select the down arrow to the right of the Drive list to display all the
drives on your system.
2. Select a drive from the Drive list.
3. Select a directory from the Directory list.
4. Select a file name from the File list or type in a file name and select
the Open pushbutton to display the file you want to edit.
For specific help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> List of Fields ΓòÉΓòÉΓòÉ
File name Type of file
Drive File
Directory Open pushbutton
ΓòÉΓòÉΓòÉ <hidden> Help for File name ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for File name ΓòÉΓòÉΓòÉ
Type the name of the file you want to open in the File name field and select
the Open pushbutton.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> List of Fields ΓòÉΓòÉΓòÉ
File name Type of file
Drive File
Directory Open pushbutton
General help
ΓòÉΓòÉΓòÉ <hidden> Help for Type of file ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Type of file ΓòÉΓòÉΓòÉ
Select the down arrow to the right of the Type of file field to display the
available file types. The sample has set this field for all file types.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
The Drive list displays the drives on your system. Select the drive that
contains the files you want to edit.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
The File list displays all the files in the directory you selected from the
Directory list. Select the file you want to open.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
The Directory list displays the directories on the selected drive. Select a
directory to display the list of files from that directory in the File list
box.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Open ΓòÉΓòÉΓòÉ
Select the Open pushbutton to display the file you want to edit.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Save ΓòÉΓòÉΓòÉ
Use Save to store the file you are editing. After the file is saved, the text
remains in the window so that you can continue editing it.
Note: If you are editing a new file, select the Save or Save as choices to
display the Save as pop-up so that you can name the file you are
editing. A file must have a title to be saved.
ΓòÉΓòÉΓòÉ <hidden> Help for Save as ΓòÉΓòÉΓòÉ
Use Save as to name and save a new file or to save an existing file under a
different name, in a different directory, or on a different disk.
ΓòÉΓòÉΓòÉ <hidden> Help for Save as ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Save as ΓòÉΓòÉΓòÉ
1. Select the down arrow to the right of the Drive list to display all the
drives on your system.
2. Select a drive from the Drive list.
3. Select a directory from the Directory list.
4. Type the name of the file you want to save in the File name field and
select the Save pushbutton.
For specific help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> List of Fields ΓòÉΓòÉΓòÉ
File name Type of file
Drive File
Directory Save pushbutton
ΓòÉΓòÉΓòÉ <hidden> Help for File name ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for File name ΓòÉΓòÉΓòÉ
Type the name of the file you want to save in the File name field and select
the Save pushbutton.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> List of Fields ΓòÉΓòÉΓòÉ
File name Type of file
Drive File
Directory Save pushbutton
General help
ΓòÉΓòÉΓòÉ <hidden> Help for Type of file ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Type of file ΓòÉΓòÉΓòÉ
Select the down arrow to the right of the Type of file field to display the
available file types. The sample has set this field for all file types.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
The Drive list displays the drives on your system. Select the drive that
contains the files you want to save.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
The File list displays all the files in the directory you selected from the
Directory list. Select the file you want to rename and save.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
The Directory list displays the directories on the selected drive. Select a
directory to display the list of files from that directory in the File list
box.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ <hidden> Help for Save ΓòÉΓòÉΓòÉ
ΓòÉΓòÉΓòÉ <hidden> Help for Save ΓòÉΓòÉΓòÉ
Select the Save pushbutton to save the file to the drive and directory you
selected and with the file name you specified.
For more help, select a topic below.
ΓòÉΓòÉΓòÉ 8. Edit Menu ΓòÉΓòÉΓòÉ
Enter text for the main Edit Menu help screen here.
ΓòÉΓòÉΓòÉ 9. Undo ΓòÉΓòÉΓòÉ
Place information for the Edit Undo menu item here.
ΓòÉΓòÉΓòÉ 10. Cut ΓòÉΓòÉΓòÉ
Place information for the Edit Cut menu item here.
ΓòÉΓòÉΓòÉ 11. Copy ΓòÉΓòÉΓòÉ
Place information for the Edit Copy menu item here.
ΓòÉΓòÉΓòÉ 12. Paste ΓòÉΓòÉΓòÉ
Place information for the Edit Paste menu item here.
ΓòÉΓòÉΓòÉ 13. Clear ΓòÉΓòÉΓòÉ
Place information for the Edit Clear menu item here.
ΓòÉΓòÉΓòÉ 14. Help Menu ΓòÉΓòÉΓòÉ
Insert standard Help menu text here.
ΓòÉΓòÉΓòÉ 15. Index ΓòÉΓòÉΓòÉ
Place information for the Help Index menu item here.
ΓòÉΓòÉΓòÉ 16. General help ΓòÉΓòÉΓòÉ
Place information for the General Help menu item here.
Note: This screen will usually be handled by the default.
ΓòÉΓòÉΓòÉ 17. Using Help ΓòÉΓòÉΓòÉ
Place information for the Help Using Help menu here.
ΓòÉΓòÉΓòÉ 18. Keys ΓòÉΓòÉΓòÉ
Place information for the Help Keys menu item here.
ΓòÉΓòÉΓòÉ 19. Tutorial ΓòÉΓòÉΓòÉ
Place information for the Tutorial menu item here.
ΓòÉΓòÉΓòÉ 20. Product information ΓòÉΓòÉΓòÉ
Place information for the Product information menu item here.
ΓòÉΓòÉΓòÉ 21. Product information dialog ΓòÉΓòÉΓòÉ
This dialog displays information about the application, such as version
number and copyright notice.
ΓòÉΓòÉΓòÉ 22. OK ΓòÉΓòÉΓòÉ
The OK button closes the Product information dialog.