
Götz Krija
Forum Replies Created
-
Götz Krija
MemberApril 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
-
Hi Uwe,
I can reproduce the problem in revision 36251, but it seems to be fixed in Omnis Studio 11.1 37255.
Götz
-
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
-
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
-
Götz Krija
MemberOctober 8, 2024 at 9:54 am in reply to: Omnis remote task async method for parallel execution – Dev vs RuntimeIs the ‘Start server’ command missing? It can be executed in the $construct of the Startup_Task, for example.
-
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
-
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
MemberApril 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=” -
Götz Krija
MemberMarch 8, 2024 at 9:48 am in reply to: Catching Keyboard events AND getting the current value of an edit fieldHi 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
MemberFebruary 19, 2024 at 11:03 am in reply to: Display text horizontally for the left side tab controlHello 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
-
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
-
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
-
<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
MemberFebruary 19, 2024 at 11:19 am in reply to: Display text horizontally for the left side tab controlYou 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;
} -
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