Print Preview ActiveX Active Users: 58 / Visits Today: 1162
Highest Active Users: 361
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 ShowCustomButton - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: zzz Page sizes  - Constants Topic Next Topic: Refresh - Method  


327 Posts

Posted - 07/24/2005 :  11:01:56  Show Profile
Property ShowCustomButton


This property sets and returns the value for the show- or hide-status of the custom button icon on the printPreview window and activates the On_click Event.


ShowCustomButton [ = bValue As Boolean] As Boolean


This property determines whether the custom button icon is included on the PrintPreview window.

This button generates a CustomButton event in the application. The feature only works when Modal = False.


To show the custom button:

Public WithEvents Preview As PrintPreview5.Preview 

Preview.Modal = False
Preview.ShowCustomButton = True 

Private Sub Preview_CustomButtonClick() ' the on_click Event
        ' Custom button behaviour code placed here
End Sub
See also:

GenerateCustomButton : -->
Refresh : ------------------->

Come and visit :

Edited by - emiel on 05/26/2006 13:34:46
Go to Bottom of Page
  Previous Topic: zzz Page sizes  - Constants Topic Next Topic: Refresh - Method  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.02