Forum Replies Created

Page 20 of 20
  • Andreas Pfeiffer

    Administrator
    September 9, 2022 at 8:03 am in reply to: Toast Messages

    Hi Silvan,

    ok – I did not know that you are working on fat client windows. Sorry.

    You may want to use a timer object to achieve this. I would personally not use a toast message for this rather some kind of animation. There is also a sample app for this.

    Hope this helps.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    September 9, 2022 at 7:44 am in reply to: Toast Messages

    .. and finally you can have another toast message in your loadList method that will come last.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    September 9, 2022 at 7:38 am in reply to: Toast Messages

    Hi Silvan,

    Now I understand your requirement.

    This is something that you can achieve using an overlay. There is a sample library “JS Loading Overlay” in the samples section of your HUB.

    You can also achieve this using a toast message if you want:

    1. Put your code that loads the data into another method (not the $event method that you use to load the data)

    2. Make the $event method of your button that is used to load the data “client executed”. You can do this using the context menu onto the method name.

    3. Then the first line in your $event method after the on evClick will be to start the toast message. After that you would then call your server side method using the “Do method” command.

    I.E.

    On evClick

    Do $cinst.$clientcommand(‘showtoast’;row(‘loading’))

    Do method loadList

    So, since the $event method will now be executed on the client the toast message will appear first and then the data will be loaded on the Omnis server.

    I hope this makes sense.

    Best regards,

    Andreas

  • Andreas Pfeiffer

    Administrator
    September 9, 2022 at 6:47 am in reply to: Toast Messages

    Hello Silvan,

    The reason why this happens might be that you run the code server side. Omnis automatically synchronises all instance variables in that instance with the client (browser). In that moment it will also send any client command to the browser. So in a way you would need to think asynchronously when it come to communication with the client.

    What is the reason you want any other code after your message? Maybe I can help you finding a different approach to achieve what you want?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    July 27, 2022 at 4:10 pm in reply to: Administrators please check this

    Hi Scotte,

    Thanks for letting us know. I have deleted this user from this forum. We are currently about to clean this up.

    Thanks again.

    Best regards,

    Andreas

  • Andreas Pfeiffer

    Administrator
    July 27, 2022 at 10:09 am in reply to: oAuth2

    Hi Mike,

    Did you see there is a sample app in the sample section of the HUB. Search for SMTP OW3 worker.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 22, 2022 at 9:23 am in reply to: Desktop client – $allowcopy for Masked Entry Field

    Maybe you can use a page pane object that switches between a normal entry field which is disabled and allows copy and a masked entry field when you allow to enter the data?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 22, 2022 at 9:17 am in reply to: Desktop client – $allowcopy for Masked Entry Field

    Sorry, just saw that you are asking for the masked entry field. I miss-read your question.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 22, 2022 at 9:15 am in reply to: Desktop client – $allowcopy for Masked Entry Field

    Hi Giacomo,

    As far as I can see there is a $allowcopy property for multiline entry fields in Omnis Studio 10.2.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 10, 2022 at 9:22 am in reply to: Working-environment Omnis studio

    Alternatively there is a “Fonts” item in the menu that pops up when you click on “view” in the toolbar. You can also change your font size there.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 10, 2022 at 9:20 am in reply to: Working-environment Omnis studio

    Hi Martin,

    We just have tested with the latest release (10.2 build 31315) on Windows. It does work after doing a “save window setup”.

    Best regards,

    Andreas

  • Andreas Pfeiffer

    Administrator
    June 9, 2022 at 6:13 pm in reply to: Working-environment Omnis studio

    Hi Martin,

    changing the font size can also be done using Cmd/Ctr.+ in the IDE. When you then save the windows setup it should remember the new font size.

    Here are the keyboard shortcuts: https://www.omnis.net/developers/resources/onlinedocs/index.jsp?detail=Programming/04debug.html#keyboard-shortcuts

    I think what you are looking for might be the Debugger interrupt which is Alt-I on Windows and Cmd-Option-I on macOS.

    You can change this in the $keys property of your Omnis. Click on the root level in the tree list of the class browser – then onto the Prefs link. That opens the property manager and shows all the properties of your Omnis environment. Then search for “keys”.

    Regarding the crashes you should contact Omnis support and send them your library together with a description how to reproduce the problem.

    Best regards,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 26, 2021 at 10:08 am in reply to: Hide menus

    Great!
    Have a great day!
    Best,
    Andreas

  • Andreas Pfeiffer

    Administrator
    October 26, 2021 at 9:24 am in reply to: Hide menus

    Hi Denis,
    You may want to remove the libraries from the /Startup folder of your Omnis installation. Note if your installation is split in two locations (Application and AppData) you also want to remove those libraries from the /firstruninstall folder. Otherwise Omnis re-creates the deleted libraries in the /appData
    Best,
    Andreas

  • Andreas Pfeiffer

    Administrator
    January 16, 2020 at 11:57 am in reply to: refresh page jsForm

    Hi Coralie,
    I am a little bit confused when you write that the form is launched by the Startup_Task. One can actually do this but normally a remote form is instantiated by either using the html file that points to it or using i.e. $ctask.$changeform or $openform. That said they are using a remote task (not the Startup_Task) as a container for its own instance.
    However you could try to find out why the crash happens using the command
    Do sys(3000) somewhere in the code. This brings up a message that the code is then traced in a log file. When Omnis crashes you can have a look in that log file and possibly see what command caused the problem.

Page 20 of 20