Forum Replies Created

Page 1 of 3
  • Götz Krija

    Member
    April 30, 2025 at 9:18 am in reply to: Tree List Control – NOT enterable: bug or feature?

    Hi Uwe,

    This seems to be a bug.

    I have raised a fault for engineering to investigate and fix the problem. The reference is ST/JS/3784.

    Götz

  • Götz Krija

    Member
    February 7, 2025 at 3:08 pm in reply to: Error in PDF Printing with Web Client?

    Hi Uwe,

    I can reproduce the problem in revision 36251, but it seems to be fixed in Omnis Studio 11.1 37255.

    Götz

  • Götz Krija

    Member
    October 24, 2024 at 10:27 am in reply to: Misaligned Line in PDF Report

    Hello Rafael,

    This looks like a known fault: ST/EC/1888 – Printing to PDF seems to extend lines further than expected

    I would suggest that you contact your local Omnis office as the fault should be fixed in the latest Omnis Studio Now build.

    Götz

  • Götz Krija

    Member
    October 14, 2024 at 11:36 am in reply to: Subform references

    Works fine for me. For example, in the JS Subform Set Panels sample in the HUB, the following code returns a reference to the remote form instance with ID=3:

    Do $root.$sfsmember(‘SubformPanelsSet’,3) Returns itemRef

    Götz

  • Is the ‘Start server’ command missing? It can be executed in the $construct of the Startup_Task, for example.

  • Götz Krija

    Member
    August 26, 2024 at 12:41 pm in reply to: Close/Exit/Kill Omnis

    It looks like it is not necessary to execute the command in the Startup_Task. Just execute the following directly in your RemoetForm: Quit Omnis (Force quit)

    Götz

  • Götz Krija

    Member
    August 26, 2024 at 11:58 am in reply to: Close/Exit/Kill Omnis

    Hi Martin,

    add a new method to the Startup_Task of your library, e.g.: $quitomnis

    Add the following code to the method: Quit Omnis (Force quit)

    In your RemoteForm you can call the method as follows: Do $itasks.[$clib().$name].$quitomnis()

    Götz

  • Götz Krija

    Member
    April 8, 2024 at 9:05 am in reply to: Pasting from Clipboard into range of fields?

    You could paste the clipboard into a character variable and then parse the string into a list using a Carriage Return as delimiter.

    The code should look something like this:

    Paste from clipboard charVar1
    Do listVar.$define(charVar1)
    Repeat
    Calculate charVar2 as strtok(‘charVar1’,chr(13))
    Do listVar.$add(charVar2)
    Until charVar2=”

  • Hi Uwe,

    I think you can do this without Javascript.

    Set the Edit control’s $systemkeys property to kTrue and check the pKeyList event parameter in evKeyPress.

    Götz

  • Götz Krija

    Member
    February 19, 2024 at 11:03 am in reply to: Display text horizontally for the left side tab control

    Hello Roland,

    I think this can be done via CSS.

    The following CSS works for me in Omnis Studio 11 when I add it to the user.css file in C:\Users\[USER]\AppData\Local\Omnis Software\OS 11 35659\html\css\:

    a.ctrl-tabs-vertical-text-left {
    transform: rotate(0deg);
    width: 200px !important;
    top: 0px !important;
    padding-top: 20px !important;
    }

    Götz

  • Götz Krija

    Member
    February 9, 2024 at 9:19 am in reply to: PDF’s Images on Linux

    I’m not sure if this restriction only applies to background images. However, you can use PNGs in picture controls in reports. To do this, you need to set the $rawpictformat property to PNG.

    Götz

  • Götz Krija

    Member
    February 10, 2025 at 8:19 am in reply to: Error in PDF Printing with Web Client?

    Hi Uwe,

    I do not think there is a patch for this particular fault. The fix is part of Omnis Studio 11.1 37255.

    Götz

  • Götz Krija

    Member
    August 26, 2024 at 1:52 pm in reply to: Close/Exit/Kill Omnis

    <div>The ‘Quit Omnis’ command can be used to close Omnis (the Omnis server or development environment). It cannot be used to close the browser or the browser tab.</div>

    What you can do is to display a different RemoteForm, e.g.: Do $ctask.$changeform(‘jsLoggedOut’)

  • Götz Krija

    Member
    February 19, 2024 at 11:19 am in reply to: Display text horizontally for the left side tab control

    You do not need to add the CSS class to $cssclassname. Leave it empty and just add the following to the user.css file in your Omnis installation:

    a.ctrl-tabs-vertical-text-left {
    transform: rotate(0deg);
    width: 200px !important;
    top: 0px !important;
    padding-top: 20px !important;
    }

  • Götz Krija

    Member
    January 26, 2024 at 8:24 am in reply to: Javascript:

    Wie es aussieht wird die Methode (TopHintergrund) aus der $construct aufgerufen und somit ebenfalls serverseitig ausgeführt. Das funktioniert nicht. Der Aufruf muss aus einer clientseitigen Methode erfolgen – also nicht aus der $construct, sondern aus der $init Methode.

    Götz

Page 1 of 3