Print Preview ActiveX Active Users: 3 / Visits Today: 3
Highest Active Users: 3
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
 Refresh - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ShowCustomButton - Property Topic Next Topic: GenerateCustomButton - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 05/26/2006 :  12:46:18  Show Profile
Method Refresh

Action:

This method refreshes the preview window control and is used in conjunction with ShowCustomButton

Syntax:

Refresh ()

Example:

to refresh then preview window control :

Private Sub Command0_Click()

Preview.Modal = False
Preview.AddFirstPage 500, 500, 500, 500
Preview.AddTextAt "any text"
Preview.ShowCustomButton = True
Preview.EndDocument prOTScreen

End Sub

Private Sub Preview_CustomButtonClick() ' the on_click Event

'Custom button behaviour code placed here
preview.addtext "I am active"
preview.Refresh ' I am active pops up in the preview window control
                  ' on the active page at current X and current Y.

End Sub
See also :

ShowCustomButton ---------> : http://www.ppreview.net/forum/topic.asp?TOPIC_ID=461
GenerateCustomButton -----> : http://www.ppreview.net/forum/topic.asp?TOPIC_ID=590

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:30:13
Go to Bottom of Page
  Previous Topic: ShowCustomButton - Property Topic Next Topic: GenerateCustomButton - 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