PTool

Selects the designated tool in the Tool palette.


Command constructor

PTool(short cTool);
kPointerTool (these are defined in PKeywords.h)
kTextTool
kOvalTool

kRoundedRectTool
kDiagLineTool
kPerpLineTool
kPolygonTool
kZoomTool
kRotationTool
kCropTool
Layout view only. The PTool command works only in layout view.

Example. The following example selects the oval tool in the Tool palette. It first checks the tool with the PGetTool query.

PGetTool currTool();
if (currTool == kPolygonTool) PTool(kOvalTool);


See also

Adobe PageMaker 6.5 Help > Commands > Window > Toolbox


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support