Print Preview ActiveX Active Users: 65 / Visits Today: 365
Highest Active Users: 109
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
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  

emiel
Administrator

Belgium
327 Posts

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

Action:

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.

Syntax:

ShowCustomButton [ = bValue As Boolean] As Boolean

Remarks:

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.

Example:

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 : --> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=590
Refresh : -------------------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=489

Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

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.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02