

Uwe Smidt
Forum Replies Created
-
Uwe Smidt
MemberNovember 21, 2023 at 4:54 pm in reply to: $currentlayoutbreakpoint not behaving as expectedDear Götz,
Yep, that worked fine!
Thank you!
Uwe
-
Uwe Smidt
MemberNovember 19, 2023 at 4:10 pm in reply to: $currentlayoutbreakpoint not behaving as expectedDamn… still not working!
I put
Do inherited
Calculate myVariable as $cinst.$currentlayoutbreakpoint
If $cinst.$currentlayoutbreakpoint=320
Do $cinst.$objs.native_list.$width.$assign(10)
Else If $cinst.$currentlayoutbreakpoint=768
Do $cinst.$objs.native_list.$width.$assign(100)
Else
Do $cinst.$objs.native_list.$width.$assign(0)
End Ifin my remote forms $init, but $cinst.$currentlayoutbreakpoint just doesn’t do anything
Any ideas?
Thanks in advance
Uwe
-
Uwe Smidt
MemberNovember 17, 2023 at 11:21 am in reply to: $currentlayoutbreakpoint not behaving as expectedHi Michael,
This makes perfect sense – thanks for your help!
Best regards
Uwe
-
Dear $Omnis,
Do you have an update for me? We have Omnis 11 now, and when starting Omnis, there is a message ‘restoring previous IDE state’. So the basic toolkit to fulfill my wishes seems to be there…
Maybe there is a work around for me in the meantime, like having multiple config files, one for each screen setup…?
Best regards
Uwe
-
Uwe Smidt
MemberApril 10, 2023 at 5:11 pm in reply to: Schema mapping database value type “date” to wrong data typeDear Minh Phuong,
I recently had a mis-mapping between a Postgres Servertable and an Omnis Schema on the primary key property.
I don’t know if it was a problem of the Postgres-DAM or of Postgres itself. But when I recreated the Postgres Object (via PGAdmin), in this case the table, the mis-mapping stopped, and primary was primary on both sides.
This is only a workaround, but it could help you to isolate the problem.
Best regards
Uwe
-
This reply was modified 2 years, 3 months ago by
Uwe Smidt.
-
This reply was modified 2 years, 3 months ago by
-
Dear Marten,
Thank you for your answer!
My wish to do it in just one line of code seems to be like ‘sawing off the tree branch on which you sit’ – so I’ll do it in 2 lines as proposed by you 😉
Best regards!
-
Dear Andreas,
Thank you for your prompt and comprehensive answer!
I assume your solution works fine for an isolated problem in one form.
But if the problem is more complex or difficult to locate in an application/library, it may become more economic to include the whole database for the troubleshooting, as opposed to rebuilding parts of an application into a stand-alone prototype to reproduce the problem.
Therefor I look for an approach to include the database structure & data along with the library.
But I assume there is no such easy way with little effort on the sending and receiving side. Instead, probably doing a database dump and sending it along side, plus a dialog to edit connection parameters, is the better way…
Thank you anyway
Best regards
Uwe
-
This reply was modified 2 years, 5 months ago by
Uwe Smidt.
-
This reply was modified 2 years, 5 months ago by
-
Thanx for your response, Paul!
I am using 10.2, and quite honestly, I don’t know how many concurrent users my developer license allows for – I’ll check.
But even so, there seems no way to log in to the headless server when I’m the n+1’th user, in order to kick out users as admin.
I assume your command kills all processes, as opposed to resetting client connections. Then I’d rather restart the container with ‘docker restart <containerID>
But instead of using a sledge hammer I was looking for a way to check & kick out client connections…
-
Dear Andreas,
Thank you for your great sample – I have integrated it into my library, and it works fine!Best regards
Uwe -
Great, thanx Andreas!
-
Uwe Smidt
MemberNovember 3, 2023 at 12:19 pm in reply to: ERROR: failed to bind Omnis Server SocketHi Andreas,
Thank you for your prompt answer!
So the error message refers to the Node.js port on 6102, and not the Omnis Server port which I put on 5902?
I’m not using the worker object, but where could I change Node.js port on 6102?
Thanks a lot & have a great weekend!
Uwe
-
Uwe Smidt
MemberApril 3, 2023 at 8:47 am in reply to: Displaying Document Previews – with picture control?Dear Götz,
Thanks for your answer.
I had hoped for an easier and more general way to display previews of any kind of file, as in MacOS’s Finder…
But this should work for PDFs!
-
Uwe Smidt
MemberMarch 6, 2023 at 12:08 pm in reply to: Displaying Document Previews – with picture control?Hi Götz,
Thank you for your help! I tested it, and yes, it works fine for all(?) image formats as jpg, png, svg etc, also for PDF, and even for special formats like NEF (Nikon RAW format).
But it does not preview text files, XML, CSV, Docs etc – which would be great for what I want to do – a small Document Management system. Maybe that needs a special tool / external site etc …?
With
Begin statement
Sta: <div>
Sta: <h2>Pictures</h2>
Sta:You can embed pictures.
Sta:
Sta: </div>
End statement
Get statement lcHTML
Calculate $cinst.$objs.ctrHTML.$html as lcHTMLI could display all these image files, but I needed to put them to a directory on my Web server first.<div>Is there a way to display test.pdf in ctrHTML when the file is stored in irData.File?</div><div>
Sta:
irData.File] width=”200″ height=”176″ alt=”Test” />
did not work!
Thanks in advance!</div><div>Uwe</div>
-
This reply was modified 2 years, 4 months ago by
Uwe Smidt.
-
This reply was modified 2 years, 4 months ago by