Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can anyone confirm that it isn't possible in Word to...

Status
Not open for further replies.

slwolf8

Technical User
Apr 23, 2001
82
US
Can anyone confirm that it isn't possible in Word XP to control the enabled property (through code) of a single tabbed page in a multipage control? I have referenced a thread below where we tried to figure this out. It doesn't seem to be possible.

thread707-769607
 
slwolf8,

Here's something I use quite a bit to "discover" properties of objects in my code.

Open a Watch Window and Look at the Object of interest.

Put a break in your code and then in the debugger, step, if necessary, observing the values assigned to the objects properties.

You'd see, right away, if the Enabled Property was avaiable or active.

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Thanks for the tip. I tried that and it does list the enabled property. However, I can't seem to access it through code. I have tried multipage1.pages("PgGen").enabled and that doesn't work. The link posted above shows the other things I tried. I'm stumped!
 
The syntax is:

MultiPageName.Object.PageName.Enabled = boolean

as in

MultiPage1.Object.Page1.Enabled = False

This will disable Page1 of a two page multipage.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top