ACC: Can't Enable Pages Option Button in CommonDialog ControlLast reviewed: September 19, 1997Article ID: Q174002 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. The Pages option button of the CommonDialog ActiveX control remains disabled when you set the Flags property to the cdlPDPageNums constant.
RESOLUTIONYou must set the Max property of the CommonDialog control to a value greater than 0, and greater than the value of the control's Min property. To enable the Pages option button, follow these steps:
MORE INFORMATIONThe Flags property of the CommonDialog control allows you to specify the cdlPDPageNums constant to enable the Pages option button and associated edit controls. However, because the default value for both the Min and Max properties of the CommonDialog control is 0, the user cannot enter a valid page range in the From and To boxes. Therefore, your code must automatically set the Max property to a value greater than the Min property.
Steps to Reproduce Behavior
REFERENCESFor more information about the Common Dialog control, search the Help Index for "CommonDialog control," or ask the Microsoft Access 97 Office Assistant. For more information about using the Max property with the Common Dialog control, search for "Max property," and then "Max, Min Properties (CommonDialog)" using the Help Index.
|
Additional query words: prb custom
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |