PC Review


Reply
Thread Tools Rate Thread

Conditionally Hide\show a multipage tab

 
 
greg
Guest
Posts: n/a
 
      25th May 2005
Hi,

I am modifying the standard Contacts Form (OL2003)
On a customised page I have some Multipage tabs, some nested inside
others.

I would like to show or hide selected multipage tabs according to
either a checkbox a toggle button or a command button, I would probably
prefer a checkbox.

It is possible I have this wrong, but the HideFormPage and
ShowFormPage don't seem to work on multipage tabs - just the standard
ones.

Each multipage has a "Visible= true/false" in advance properties, but I
am not sure how to set this via a checkboxs or buttons

Any help would be very welcome

Greg

 
Reply With Quote
 
 
 
 
greg
Guest
Posts: n/a
 
      3rd Jun 2005
Sorted this - vbscript you have to be very literal in addressing the
tabs - include all containers:

Sub UpdateServiceTabs()
Dim PathToMultitabs
Dim objMPRecSrvTabAudit

Set
PathToMultitabs=Item.GetInspector.ModifiedFormPages("Services&Fees").Controls("MultiPage1").pages("Services").Controls
("MultiPage2")
Set objMPRecSrvTabAudit =PathToMultitabs.Pages("SrvTabAudit")

REM objMPRecSrvTabAudit
If UserProperties.item("FF-CB-Audit").value = True THEN
objMPRecSrvTabAudit.visible = True
Else
objMPRecSrvTabAudit.visible = False
End IF

End Sub

Cheers

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditionally hide a cell JeffH Microsoft Excel Misc 1 19th Jun 2008 12:06 AM
How do I conditionally hide a worksheet Jeremehovah Microsoft Excel Worksheet Functions 1 17th Jun 2008 09:30 PM
how do I conditionally hide or show a column in Excel =?Utf-8?B?SGFycmlzb25S?= Microsoft Excel Misc 2 18th Jul 2007 10:08 PM
Is there a way to conditionally hide a row? =?Utf-8?B?TWF4d2VsbCBTcHJpbmtsZXI=?= Microsoft Excel Misc 1 1st Jun 2005 01:56 AM
Conditionally Hide Rows =?Utf-8?B?dGFtYXRvNDM=?= Microsoft Excel Misc 4 11th May 2005 05:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:06 PM.