Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Word
Message
De
01/07/1998 17:57:14
 
 
À
01/07/1998 03:27:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00113034
Message ID:
00113588
Vues:
24
This works fine.

oword.visible = .t.
oword.windowstate = 1

However, if I switch the order:

oword.windowstate = 1
oword.visible = t

it comes up full screen but the menus and toolbars are not visible!

>>I would like to maximize the Word application window when it is displayed. There is a property called WindowState that can be assigned a value to maximize, minimize, etc. The command line:
>> oWord.application.WindowState = 1
>
>>maximizes the window but hides all menus and toolbars. How do I maximize the window and keep the menus and toolbars.
>
>This is working for me:
>
>oword.visible = .t.
>oword.windowstate = 1 && without application cause oword is application
>
>if you use oword = createobject("word.document"), then you must use 'application' to refer word but not if you use oword = createobject("word.application")
>
>If you continue losing menus and toolbars, you must have something wrong configured in word.
>Hope this helps
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform