Forum Replies Created

Viewing 15 replies - 496 through 510 (of 712 total)
  • Author
    Replies
  • in reply to: documentation #5501
    Support 1
    Participant

      You are welcome.

      Advansys Support

      in reply to: ref : object and form Designer #7042
      Support 1
      Participant

        You are welcome.

        Advansys Support

        in reply to: Add Boutton at Address Book #7176
        Support 1
        Participant

          You are welcome.

          Advansys Support

          in reply to: documentation #5502
          Support 1
          Participant

            I have found that DateTimePicker (on the Win32 tab of the Component Palette) or the more sophisticated RzDateTimeEdit are both preferable to using MaskEdit for entering a time value.

            Here are EditMask values which restrict entry to time values:

            • Long time (eg. 11:15:59PM): “!90:00:00>LL;1;_”
            • Short time (eg. 23:15): “!90:00;1;_”

            However, these masks will not prevent entry of invalid time values like “33:15” or “23:75” and I don’t believe this can be achieved with the EditMask alone. That is, you will also need to write a handler for the MaskEdit component’s OnChange or OnKeyDown/OnKeyPress event.

            Regards,
            Advansys Support

            [This message was edited by Support 3 on April 14, 2005 at 07:00 PM.]

            in reply to: Rollout of Applet #7171
            Support 1
            Participant

              Cathy,

              The following is from your post in a different thread, which I think was actually intended for this thread.

              quote:


              We have this working. To get it working, we had to set the custom view path under Tools – Environment in GroupWise even though the path is hard coded.

              Now, we have run into an issue with another piece of the code. The following code is not inserting a graphic. This works on two laptops but not on the majority of PCs.

              If ActivityRoom.RoomSetup.itemindex = 0 then
              ActivityRoom.RoomSetupImage.Picture.LoadFromFile_(“p:GroupWiseViewsactivityroomregularactivity.jpg”)
              Utilities.CopyHTMLToClipboard(“
              “)
              End If

              The user has rights to the folder and the graphic is displayed on the form it is just not inserted into the message area. The following is the entire code:

              ‘ Activity Room

              Sub Main(Client, GWEvent)
              Dim iFilePath

              Call GroupWise.ViewOpenFile_(“p:GroupWiseViewsFormativGWViewsResActivity”, “”, “”)
              if ActivityRoom.ShowModal = MROK then
              Call groupwise.focusset(fcsMessage, “”)
              GroupWise.EditPaste
              Call groupwise.focusset(fcsSubject, “”)
              end if

              End Sub

              Sub RoomSetupChange(Sender)

              If ActivityRoom.RoomSetup.itemindex = 0 then
              ActivityRoom.RoomSetupImage.Picture.LoadFromFile_(“p:GroupWiseViewsactivityroomregularactivity.jpg”)
              Utilities.CopyHTMLToClipboard(“
              “)
              End If

              If ActivityRoom.RoomSetup.itemindex = 1 then
              ActivityRoom.RoomSetupImage.Picture.LoadFromFile_(“p:GroupWiseViewsactivityroomyoga.jpg”)
              Utilities.CopyHTMLToClipboard(“
              “)
              End If

              If ActivityRoom.RoomSetup.itemindex = 2 then
              ActivityRoom.RoomSetupImage.Picture.LoadFromFile_(“p:GroupWiseViewsNoSetupNeeded.jpg”)
              Utilities.CopyHTMLToClipboard(“
              “)
              End If
              End Sub


              Can you confirm whether or not the custom view is loading? I have heard (but not confirmed) that the GroupWise token ViewOpenFile() should be used with an unqualified filename, ie.

                call GroupWise.ViewOpenFile("ResActivity", "", "")

              where the custom view path is defined in Tools | Environment.

              An image will not be loaded into the message area when:

              • the message view is not the active window, or
              • the compose mode is plain-text, not HTML.

              Here is a snippet of code that might solve both of these potential problems:

                call GroupWise.ViewOpenFile(iFileName, "", "")
                iHwnd = Utilities.FindWindow("OFMailView","")
                if ActivityRoom.ShowModal = MROK then
                  if not ComposingMessageIsHTML(iHwnd) then
                    call GroupWise.SwitchToHTMLView
                    Application.ProcessMessages
                    call Groupwise.FocusSet(fcsMessage, "")
                    Groupwise.EditPaste
                    ...
                  end if
                end if
              
              function ComposingMessageIsHTML(aHwnd)
                on error resume next
                if aHwnd <> 0 then
                  Utilities.SetForegroundWindow(aHwnd)
                end if
                ComposingMessageIsHTML = (GroupWise.EnvEditorStyle = 2)
              end function

              I hope the above information is helpful.

              Advansys Support

              in reply to: Application Error #5893
              Support 1
              Participant

                Cathy,

                quote:


                We have this working. To get it working, we had to set the custom view path under Tools – Environment in GroupWise even though the path is hard coded.


                It appears that the statement above refers to your post re. the GroupWise token ViewOpenFile() in a different thread. Please see that thread for my comments on your questions above.

                With regard to your first post above:

                quote:


                When installing Formativ RunTime version, on some PCs applets will not run. On those particular PCs, when GW starts, the “with Advansys Formativ” is not below GroupWise words.


                Are you referring to the red, white and orange/blue ‘splash screen’ which appears while loading GroupWise? If so, is this still the case or is it working as normal now? If these problems are continuing on the PC’s with Formativ Runtime installed, then please send the following information from one of these PC’s to support@advansyscorp.com:

                • The Formativ configuration. You can obtain the configuration by selecting Help | About Formativ… from the GroupWise main menu. When the About Formativ dialog appears, go to the Configuration tab and click the button Copy to clipboard. Then paste the text into your reply email.
                • The settings on the first two tabs (General, Local Config) of the Advansys Formativ applet in the Windows Control Panel. Please state whether or not each setting is checked.

                Regards,
                Advansys Support

                in reply to: License Info #5895
                Support 1
                Participant

                  We will contact you offline (by email) to send your licensing information.

                  Regards,
                  Advansys Support

                  in reply to: documentation #5500
                  Support 1
                  Participant

                    Thank you for your enquiry.

                    For reference documentation on the components on the Component Palette of the Visual Forms Designer, please take a look at this Support Forum post.

                    The Formativ Studio/Creator Developers Guide contains an introduction and usage guidelines on the Visual Forms Designer in the section Creating User Interfaces.

                    However, I think we all find it helps to learn from examples. Please feel free to ask if you have a question on how to do something specific with Visual Forms.

                    Regards,
                    Advansys Support

                    in reply to: Personalized Subject #7145
                    Support 1
                    Participant

                      I would suggest you take a look at this post in this Support Forum.

                      Advansys Support

                      in reply to: Custom Field Names #7168
                      Support 1
                      Participant

                        It sounds like the “user-defined” fields you added to the standard appointment view apply only at the user interface. That is, the GW view designer does not automatically define corresponding custom fields in the GroupWise Account or folders. (Note that I don’t have personal experience with this designer – I am guessing on this point.)

                        Assuming this is correct, then you will need to define “TableLinens” manually as a custom field, as per the example in my first response above. Then, to retrieve the “TableLinens” value from an existing appointment, use the approach suggested in my last response.

                        NB: It is not possible to add custom fields to a composing message that has not been saved into the GroupWise message store. The only way to add custom fields is via the Object API-based techniques.

                        As a result, I think you will not be able to use your custom appointment view to enter custom fields while composing a new appointment, though you might be able to use it to view/edit existing appointments.

                        You may like to email your applet to support@advansyscorp.com. We will take a look at the applet and if possible advise you on how to make it work.

                        Regards,
                        Advansys Support

                        [This message was edited by Support 3 on April 10, 2005 at 04:33 PM.]

                        in reply to: Custom Field Names #7161
                        Support 1
                        Participant

                          quote:


                          What did you mean by:

                          This assumes the custom field “TableLinens” has been defined for the GroupWise account.


                          I gather from your earlier message that the above is implied by ‘I have already created “user-defined” fields with the GW view designer.’

                          Regarding the GroupWise Object API, custom fields can be defined at least at the levels of Account object and Folder object, viz.

                          GroupWise.Account.FieldDefinitions

                          In order to retrieve a specific custom field value in a message, you can use the Object API in the following way:

                          const CUSTOM_FIELD_ID = "TableLinens"
                          
                            .
                            .
                            .
                          
                            dim iText
                            dim oField
                            dim oMsg
                          
                            set oMsg = nothing
                            set oMsg = Client.ClientState.CommandMessage
                            if not (oMsg is nothing) then
                              set oField = oMsg.Fields.Item(CUSTOM_FIELD_ID, fgwString)
                              if oField is nothing then
                                iText = "Field " & CUSTOM_FIELD_ID & " not found"
                              else
                                iText = "Field value: " & oField.Value
                              end if
                          
                              MsgBox iText
                            end if
                          

                          Can you confirm that the ‘user-defined’ fields you created with the GW view designer are equivalent to the custom fields in the Object API?

                          I hope this information is helpful.

                          Regards,
                          Advansys Support

                          in reply to: Custom Field Names #7162
                          Support 1
                          Participant

                            You can use the Object API as follows to add some captured information to an existing appointment message.

                            ' This assumes the custom field "TableLinens" has been defined for the GroupWise account.
                            
                            const CUSTOM_FIELD_ID = "TableLinens"
                            
                              .
                              .
                              .
                            
                            ' AddLinensInfo adds the captured information (a string) in aInfo to the open
                            ' message as the custom field represented by the constant CUSTOM_FIELD_ID.
                            sub AddLinensInfo(aInfo)
                            
                              dim oMsg
                            
                              set oMsg = nothing
                              set oMsg = Client.ClientState.CommandMessage
                              if not (oMsg is nothing) then
                                call oMsg.Fields.Add(CUSTOM_FIELD_ID, fgwString, aInfo)
                              end if
                            
                            end sub
                            

                            I hope this helps you.

                            Regards,
                            Advansys Support

                            in reply to: Custom Field Names #7167
                            Support 1
                            Participant

                              As I understand your enquiry, you are looking at how to add custom fields to a GroupWise message. In the GroupWise Object API, the Message object has a property Fields which is a collection of Field (ie. ‘custom field’) objects. Fields is not available via GroupWise.ComposingMessage; as a result you will need to use either an existing message, or else create a new message entirely in code.

                              Here is a simple example:

                                const CUSTOM_FIELD_ID = "Acme Electrical Hardware"
                              
                                ...
                              
                                dim oFieldDef, oFieldDefs, oMsg
                              
                                ' Initialize oMsg to something we can compare.
                                set oMsg = nothing
                              
                                ' Get a reference to the open (not composing) message view.
                                set oMsg = Client.ClientState.CommandMessage
                              
                                ' (Alternatively, create a new message.)
                                ' set oMsg = GroupWise.Account.MailBox.Messages.Add("GW.MESSAGE.MAIL", fgwDraft)
                                ' Initialize other fields...
                              
                                ' Add a custom field.
                                if not (oMsg is nothing) then
                                  set oFieldDefs = GroupWise.Account.FieldDefinitions
                              
                                  ' Is our custom field defined?
                                  set oFieldDef = nothing
                                  set oFieldDef = oFieldDefs.Item(CUSTOM_FIELD_ID, fgwString)
                                  if oFieldDef is nothing then
                                    ' No - add a definition now.
                                    call oFieldDefs.Item(CUSTOM_FIELD_ID, fgwString)
                                  end if
                              
                                  call oMsg.Fields.Add(CUSTOM_FIELD_ID, fgwString, _
                                    "Acme Electrical goods are the best!")
                                end if
                              

                              For more details, see the online documentation for Fields.

                              I hope this helps you.

                              Advansys Support

                              in reply to: Limit Field Size? #7158
                              Support 1
                              Participant

                                You are welcome.

                                Advansys Support

                                in reply to: Template pack #8718
                                Support 1
                                Participant

                                  Thank you for your enquiry.

                                  Could you be more specific about which Template applet you mean? I am not aware of an applet which lets you set the mail priority.

                                  Perhaps you mean that after sending a High priority mail which Templates has inserted text into, the priority of the received mail is Normal? If so, this may well be caused by a problem with the GroupWise 6.5.5 Beta client. We have not had this problem reported previously. Can you duplicate this behaviour without using Templates (try sending a High priority message to yourself)?

                                  Regards,
                                  Advansys Support

                                Viewing 15 replies - 496 through 510 (of 712 total)