Results 1 to 12 of 12
  1. #1
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    'Tear Off' menus (Ideally, FrontPage 200x)

    I'm trying to create a tear off menu in FrontPage. With very little success. I haven't been able to find much info in the on-line help. Has anyone done this in another office app?

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    Explain the meaning of "tear off" menu, please.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    A tear-off menu can be opened and dragged away from its parent menu-bar, toolbar or menu. It remains on the screen after the mouse button has been realeased. It was initially an Motif concept, but now has been extended to Java.
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    Sam,
    Thanks for the explaino. But since I'm a visual sorta guy can you point me to a url that shows the tear off menu in action? Not sure I've ever seen this.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  5. #5
    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: 'Tear Off' menus (Ideally, FrontPage 200x)

    Are you coding it into a page (e.g., with JavaScript) or creating something like a floating toolbar configured as a menu within FP itself? I don't see any problem creating the commandbar itself, but how to actually detach it from its "home" commandbar by dragging on it... is there an event for dragging?

  6. #6
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    I'm not sure what version of FP you have - but if your in FP 2000 and you go to the Insert, Component menu, you'll find at the top of the component menu that there is a gray stripe. Hover your mouse over the gray strip and it turns blue - at that point you can drag the component menu away and it turns into a toolbar.
    In FP 2002 you'll find its the Insert, Form menu that behaves this way.

    Hopefully,
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  7. #7
    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: 'Tear Off' menus (Ideally, FrontPage 200x)

    Ooh, that is way cool.

    Well, that submenu is not like the others, its msoControlType is <font color=blue>msoControlButtonPopup</font color=blue> instead of <font color=blue>msoControlPopup</font color=blue>. I haven't tried it out with code, but judging by the picture under Type for CommandBarControl in the VBA help, that difference does seem to explain that gray bar.

    Hope this is it! <img src=/S/crossfingers.gif border=0 alt=crossfingers width=17 height=16>

    (For future reference, this was how I determined that, this plus using the object browser to find out what the numbers corresponded to:

    <pre>Sub SniffComBar()
    Dim cbctrl As CommandBarControl
    For Each cbctrl In CommandBars("Insert").Controls
    Debug.Print cbctrl.Caption, cbctrl.Type
    Next
    End Sub</pre>

    )

  8. #8
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    Can you modify your sniffer to peek at the Forms submenu?
    I'm still having no joy and I wonder if the buttons placed on the submenu make a difference?

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  9. #9
    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: 'Tear Off' menus (Ideally, FrontPage 200x)

    Sadly, it doesn't add anything:
    <pre>Sub SniffComBarPopup()
    Dim cbpop As CommandBarPopup, cbctrl As CommandBarControl
    Set cbpop = CommandBars("Insert").Controls("Form")
    Debug.Print cbpop.CommandBar.Name, cbpop.CommandBar.Type
    Debug.Print String(30, "-")
    For Each cbctrl In cbpop.Controls
    Debug.Print cbctrl.Caption, cbctrl.Type
    Next
    End Sub</pre>

    I've now also spent many hours on this, and cannot track it down. I keep thinking there might be some way to plant a ToolBar onto a menu, but have found no way to do it. There was this "oh so close" information on the web

  10. #10
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    Kevin wrote:
    <img src=/w3timages/blackline.gif width=33% height=2>
    > can you point me to a url that shows the tear off menu
    <img src=/w3timages/blackline.gif width=33% height=2>

    Kevin, tear-off menus are only implemented on Solaris boxes, but if you have a Sun on the web, check out http://www.ecs.umass.edu/ece/wireless/peop...nents/menu.html. If you don't have a Sun (you're too young to have a son!), then hopefully you were able to do Catharine's FrontPage demo.
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  11. #11
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    I don't have a Sun (or son) and still can tear off those menus!! (sounds kinda powerful!). So I don't think it is OS dependent.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  12. #12
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Tear Off' menus (Ideally, FrontPage 200x)

    > I don't think it is OS dependent

    I think it must be. I have WinNT / IE6. Since you're running IE5, it must be the OS. Wish I have FP on one of these NT computers, so I could check it, but I was able to tear off the FP menu on a Win2K machine. I'll try the web site tomorrow when I'm on Win2K.

    But, all this is off-thread: I was only responding to Kevin's request for info on what they looked like. I'm trying to find time to work on a parallel project: a tear-off menu for Excel. I'll post if I learn anything, but first I have to do some "real" work! <img src=/S/bummer.gif border=0 alt=bummer width=15 height=15>
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

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