Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Popup for Footnotes (Word2002)

    In my previous version of WORD (97, on another PC), a little yellow note always popped-up when I hovered my mouse over a footnote indicator in the text. In that note, the footnote itself was shown.

    With my new WordXP system / new PC, I see that the display quickly changes if I hover my mouse over the indicator but nothing shows up... is this a Word problem, a video-driver issue or something else???

    Anyone who recognizes this?

    EJ

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Popup for Footnotes (Word2002)

    If I recall correctly, these are "screen tips" that display if you turn them on under:

    Tools>Options...>View>Screen Tips

    It could also be that you are using a very tiny font and the mouse pointer is just sliding in and out of the area that would trigger the screen tip. If you zoom to 200% and try it, and it works, then... well, I don't have a solution for that.

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Popup for Footnotes (Word2002)

    From Woody's Office Watch 7-29
    <hr>> If you hover your cursor over the footnote reference, the contents of the footnote appear as a Tooltip. (For the life of me, I can't get this feature to work in Word 2002. Ah well.)<hr>
    So there you are...

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Popup for Footnotes (Word2002)

    I wonder if it's related to video drivers?? It works for me.
    Attached Images Attached Images

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Popup for Footnotes (Word2002)


  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Popup for Footnotes (Word2002)

    Open the document map? I don't remember... the only reason I ever would have done that is in trying to answer a question here in the Lounge. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  7. #7
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Popup for Footnotes (Word2002)

    Great, the "Document Map" thing worked for me!! I love this forum <img src=/S/kiss.gif border=0 alt=kiss width=34 height=15>

    EJ

  8. #8
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Popup for Footnotes (Word2002)

    Well.... yes, that Document Map thing works: but it doesn't stick... Each time you re-open the doc (not WORD, re-opening the doc itself is already enough) the odd behavior resets itself... Hope MS fixes this soon: it's a nuisance!

    Maybe a global macro that would "Show & Hide" the Document-Map on each Doc-open might patch this? Anyone who already has done something like that?

    EJ

  9. #9
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Popup for Footnotes (Word2002)

    In order to avoid putting code in every document, you must use application-level events. You could put the following bits of code in Normal.dot or in a global template:

    1. Create a new class module; name it for example clsApp. Put the following code in the class module:

    Public WithEvents app As Application

    Private Sub app_DocumentOpen(ByVal Doc As Document)
    FixDoc doc
    End Sub

    Private Sub app_NewDocument(ByVal Doc As Document)
    FixDoc doc
    End Sub

    2. Create a standard module with the following code:

    Public myCls As New clsApp

    Public Sub FixDoc(doc As Document)
    With doc.ActiveWindow
    .DocumentMap = True
    .DocumentMap = False
    End With
    End Sub

    3. Put the following code in ThisDocument:

    Private Sub Document_Open()
    Set myCls.app = Application
    End Sub

  10. #10
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Popup for Footnotes (Word2002)

    Is great and... it works!

    Thanks (again).

    EJ

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Popup for Footnotes (Word2002)

    This is craziness. Perhaps if you open Normal.dot, display and hide the document map, add a space and delete it, and then save the template, the magic will stick?

  12. #12
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Popup for Footnotes (Word2002)

    Thanks Hans!

    I have tried this but cannot get it working.


    <Public Sub FixDoc(doc As Document)
    < With doc.ActiveWindow
    < .DocumentMap = True ' What exactly does these two methods?
    < .DocumentMap = False
    < End With
    <End Sub

    <3. Put the following code in ThisDocument: ' I presume "ThisDocument" is the module "ThisDocument" in the Global template?
    The document I'm opening does not have areference to a .dot file and thus cannot know anything about the code.

    This procedure in "ThisDocument" will not run:
    Private Sub Document_Open()
    Set myCls.app = Application
    MsgBox "Open works"
    End Sub

    Rgds
    Bj

  13. #13
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Popup for Footnotes (Word2002)

    The code with DocumentMap was in reply to a specific problem ErikJan had. I directed you to this thread just to provide an example.

    A global template is loaded with Word, and the code in the global template is available to all documents; they don't need a reference to the global template.

  14. #14
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Popup for Footnotes (Word2002)

    OK, but have I understood it right that I should place

    Private Sub Document_Open()
    Set OpenCls.app = Application
    MsgBox "Open works"
    End Sub
    in the Global template's ThisDocument

    and the other code "Public Sub FixDoc(doc As Document)" in a standard module in the Global template?

    Rgds
    Bj

  15. #15
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Popup for Footnotes (Word2002)

    Yes. You must have a class module in the global template; in your example, it should be named OpenCls.

    The Class module declares a public "with events" variable of type Application, and contains event procedures for this variable. Although you could put the code executed by these event procedures in the class module itself, it is better to make the event procedures call code in a standard module, since it is easier to debug code in a standard module. In the example in this thread, the DocumentIOpen and DocumentNew events both call FixDoc, but you can replace this by the name of a procedure you wrote.

    I thought that the Document_Open event procedure in ThisDocument would be executed automatically in a global template, but apparently that is not the case. Try a macro named AutoExec in a standard module instead:

    Sub AutoExec()
    Set OpenCls.app = Application
    MsgBox "Open works"
    End Sub

    I have attached an extremely simple example; the only thing it does is write a message in the Immediate window (in the Visual Basic Editor) for each document that is opened. The global template should be stored in the folder specified as "Startup" in the File Locations tab of Tools | Options... The standard location for Word 2002 is Cocuments and Settings<username>Application DataMicrosoftWordSTARTUP.
    Attached Files Attached Files

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •