these are just zooming controls right?
selFitWidth, selFitHeight
-
-
- Offizieller Beitrag
Yes, they are modifying the property AutoZoom
-
Hi,
Can anybody tell me how to make a shortcut for the option: SelFitWidth, Selheight, SelZoomIn, SelZoomOut, SelNextPage and SelPriorPage.
thanks.
Jen
-
- Offizieller Beitrag
Hi,
If you have a menu item here you can adjust the properties AutoZoom and Zooming and PageNumber in code.
You can call the function which is used for almost all actions: WPRichText.SelectToolbarIcon
SelectToolbarIcon(nil, wptIconSel, '', WPI_GR_PRINT , WPI_CO_ZoomOut)
other command codes are:
WPI_CO_FitWidth = 3; { AutoZoomWidth }
WPI_CO_FitHeight = 4; { AutoZoomHeight }
WPI_CO_ZoomIn = 5;
WPI_CO_ZoomOut = 6;
WPI_CO_NextPage = 7;
WPI_CO_PriorPage = 8;It would be best to see the source for this procedure in unit WPCtrRich.pas
Julian