Microsoft KB Archive/224674

= OL98: Standard Toolbar Buttons Change on Custom Form =

Article ID: 224674

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q224674



SYMPTOMS
You customize a form in Outlook, but when using the form, the buttons on the standard toolbar unexpectedly change or replicate when you briefly rest the mouse pointer on them.



CAUSE
You see this behavior if all these conditions are true, and you typically have followed this sequence:
 * Delete the Notes or Message field from the first page of the form, or if the form page is unmodifiable, hide the first form page.
 * Add the Notes or Message field to another form page, as long as it is not the first form page displayed when the form is used.
 * Display the Formatting toolbar on the form by default.
 * Use or run the form, switch to the form page that contains the Message or Notes control, and then briefly rest the mouse pointer on the standard toolbar.



RESOLUTION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

You can work around this problem by placing the following Visual Basic Scripting Edition (VBScript) code in the form:

Sub Main

' Set the form page to whatever page has the Notes field on it, in  ' this case the P.2 page. Item.GetInspector.SetCurrentFormPage "P.2"

' Switch the form page back to the first form page, in this case the ' the General page of a contact form. Item.GetInspector.SetCurrentFormPage "General"

End Sub



MORE INFORMATION
For more information about creating solutions with Microsoft Outlook 98, please see the following articles in the Microsoft Knowledge Base:

180826 OL98: Resources for Custom Forms and Programming

182349 OL98: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol98 OL2K 98

Keywords: kbbug kbfix KB224674

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.