AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TWordApplication und Commandbar

Ein Thema von Sergej_Molotov · begonnen am 23. Jul 2008 · letzter Beitrag vom 23. Jul 2008
Antwort Antwort
Sergej_Molotov

Registriert seit: 18. Jul 2006
61 Beiträge
 
Delphi 11 Alexandria
 
#1

Re: TWordApplication und Commandbar

  Alt 23. Jul 2008, 15:17
Kurz vor meinem Seelbstmord habe ich bei der MSDN einen Beitrag gefunden, der sich mit der Anpassung von Word mit Hilfe von Templates (so wie ich es ja mache) beschäftigt.

Dort bin ich auf folgende Zeilen gestoßen:
Delphi-Quellcode:
'Force the customization context to return to the active document's
   'attached template, or to Normal.dot if no document is open.
'This helps ensure that Word continues to display
   'all current customizations.
If Documents.Count > 0 Then
CustomizationContext = ActiveDocument.AttachedTemplate
'Danach klapps auch mit der Leiste
   Else
      CustomizationContext = NormalTemplate
   End If
Hier die URL:
Customizing Word 2003

Ps:
Jedes Word verhält sich anders.
Thomas
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:29 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz