Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically add a Word olecontrol and load with a file
Message
De
23/04/1998 13:55:52
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Programmatically add a Word olecontrol and load with a file
Divers
Thread ID:
00094373
Message ID:
00094373
Vues:
81
IF .NOT. EMPTY( cDoc ) .AND. FILE ( cDoc )

this.addobject('oOLEobj','olecontrol','word.basic' )
this.oOLEobj.FileOpen( cDoc )
this.oOLEobj.left = 2
this.oOLEobj.Top = 60
this.oOLEobj.height = this.parent.pageHeight - 60
this.oOLEobj.width = this.parent.pageWidth - 4
this.oOLEobj.refresh()
this.oOLEobj.Visible = .t.

ENDIF
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform