PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Thomas Bock

Pages: 1 [2] 3 4 ... 6
16
Programming / ERR option ignored
« on: July 20, 2022, 10:42:32 AM »
For a few weeks we encounter a strange error 65 every now and then, when our programs create a COM object.
Code: [Select]
ON_CREATE:
def object outlook, "[LCL]Outlook.Application", err = *next
if not(tcb(2)) then nameSpace = outlook'getNameSpace("MAPI")
return
This has been a save way ever since. On the WindX side MSG(-1) returns "Exception occured (err/ret=2/0)"
According to Eric we should check for the object reference > 0. But I wonder why the err option is ignored in these cases.

17
Wish List / query version of ODBC-driver
« on: March 03, 2022, 09:11:40 AM »
I would like to query the version of the local ODBC-driver and the SQL-server.

18
Nomads / redefining keys
« on: February 24, 2022, 07:25:45 AM »
I removed kno #2 and #3 from a file and added a new kno #2. After a click on "Update File" that kno has the name of the old kno #2.
The segment notation is correct but the name is wrong. How can I get rid of it?

19
Nomads / buttons
« on: January 18, 2022, 07:23:49 AM »
I'm looking for a way to create "buttons" like the one in the attached hardcopy. It looks like a panel ON a button.
The hardcopy was taken from a MS-Teams dialog. A style like this is used in many applications now.
All ideas are welcome.

20
Programming / pass composite string to an extended command
« on: December 22, 2021, 09:47:34 AM »
I'm looking for a way to pass one or more composite string(s) to an extended command.
Something like:
-}dim rec$:iol(1)
-}read record (1,key="abc")rec$
-}extCmd rec$

21
Nomads / *browser and Ctrl+F
« on: November 05, 2021, 04:43:31 AM »
Is there a way to enable Ctrl+F in *browser while viewing a PDF file?

22
Programming / taskbar location and size
« on: September 29, 2021, 09:16:12 AM »
How can I retrieve the location and size of the taskbar?
I can determine the current monitor with fin(0,"XYMonitors") and obj(0). But a call to *winapi;getMonitorInfo only seems to work for monitor #1.

23
Programming / SSL connection to MySQL
« on: July 06, 2021, 09:17:42 AM »
Is it possible to build a SSL connection to a MySQL-Server?
How to do it with the OPEN directive?

24
Wish List / construct popup menu
« on: April 19, 2021, 05:58:42 AM »
In some programs we use user data in popup menus. In order to avoid an error 87 we strip out/replace all theses characters: [{,}]
This often leads to disscussions concerning the wrong display of their data.
Can you please allow for escaping these characters or provide an up to date API for constructing a menu?

25
Wish List / lock file only if required
« on: April 01, 2021, 02:20:06 AM »
During our updates we use "*dict/dd_updt;UPDATE_PHYSICAL" in order to keep the files in sync with the current DD. Every now and then that tool reports a file in use, though that file doesn't need to be converted.
Wouldd it be possible to lock the file only if there is a need to convert it?

26
Nomads / *wingrp
« on: March 10, 2021, 02:56:19 AM »
Is there a tool to define a group for *wingrp on the fly?

27
Programming / tab size in multilines
« on: February 03, 2021, 08:40:22 AM »
We convert tabs ($09$) to a number of spaces in textblocks comming from multilines with a height>1. Prior PxPlus 2019 the tab size has been 8 blanks. With PxPlus 2019 the tab size has changed to another amount of blanks(?). If I'm connected to a customer's server, then I have a tab size of 6. Some users of that customer have a tab size of 4 on the same server and in the same program. I cannot see any tab size property, so that must be a user setting.
Is there a way to set the tab size or can I query that value somewhere?

28
Programming / representation of unicode characters
« on: August 19, 2020, 10:06:43 AM »
A customer expects "B%C3BCchse" for the german word "Büchse" e.g. This looks like an URL encoded UTF8 character. So I gave it a try, but had no luck so far. This is what I tried:
Code: [Select]
thing$="Büchse"
thingUTF8$=cvs(thing$,"ASCII:UTF8")
print hta(thingUTF8$), " OK"
thingURL$=cvs(thingUTF8$,"UTF8:URL")
print hta(thingURL$)," nOK"
print thingURL$
Is there a way to do it with CVS()?

29
Wish List / prevent error 65 in *obj/xml
« on: August 18, 2020, 09:55:41 AM »
It is very laborious to ask for the existance of a node, if the logic must be able to deal with the missing value:
xml'find_node("missing/node")'value$

As mid($$,4,5) doesn't throw an error 47, I would prefer to get an empty string in this case, too.

30
Nomads / h-scrollbar in listbox
« on: May 05, 2020, 04:32:10 AM »
Is there a way to tell a listbox of type "Standard" to use h-scrollbars if required?
I have set the attribute "Enable Scrolling", but that doesn't change anything.
The type "Report View" is not an option.

Pages: 1 [2] 3 4 ... 6