/ Forums / Advansys Formativ / Creating Solutions with Formativ / Right-click integration in calendar view / Groupwise-Shutdown event

  • Creator
    Topic
  • #4251
    griesserag
    Participant

    Hello

    Is it possible to make the popup-integration also avaible in the calendar view? So I can do a right-click on an appointment and start my applet.

    Is there an event for the groupwise shutdown, so that my applet runs before the groupwise client is closed?

    Thanks.

    Regard

  • Author
    Replies
  • #7599
    Support 3
    Participant

    quote:


    Is it possible to make the popup-integration also avaible in the calendar view?


    Integrations – “GroupWise Main Window” – Check the Popup checkbox option.

    quote:


    Is there an event for the groupwise shutdown, so that my applet runs before the groupwise client is closed?


    Try the following integration:
    Integrations – “GroupWise Application” – Events – “On CloseWindow”

    Hope this helps.

    Regards,
    Advansys Support

    #7602
    griesserag
    Participant

    And how can I detect the CloseWindow-Event in the code? Which value should GWEvent have?

    Thanks

    Regards

    #7597
    Support 3
    Participant

    Check the GWEvent value for different events. For the “On CloseWindow” event, the value is “GW#C#TKN#292”.

    Sub Main(Client, GWEvent)
      msgbox GWEvent
    End Sub
    

    Regards,
    Advansys Support

    #7600
    griesserag
    Participant

    Thanks. But this doesn’t completly solve my problem, because the OnCloseWindow-event occurs also when I close i.e. a new mail window. So I have to identify which window has been closed. How can I do that or is there another event value for the OnCloseWindow-event for the main window?

    Thanks.

    #7598
    Support 3
    Participant

    Unfortunately there is no other event for on close GroupWise main window. However, you can use “OnCloseWindow” event and check the message ID from view. ItemMessageIDFromView token return a message ID for all GroupWise message, this token will fail if no message view found. If this token failed then you can be sure GroupWise main window is closed. See the sample code below:

    if (GWEvent = "GW#C#TKN#292") then
      if (instr(1, groupwise.ItemMessageIDFromView, "token failed execution", vbTextCompare) > 0) then
        msgbox "Closing GroupWise window"
      else
        msgbox "Closing message window"
      end if
    end if
    

    Hope this helps.

    Regards,
    Advansys Support

    #7603
    griesserag
    Participant

    Thank you. It works now.

    Regards

    #7601
    Support 3
    Participant

    Great news.

    Regards,
    Advansys Support

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.