PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: [1] 2 3 ... 10
Programming / Re: excel object create error 12
« Last post by harryv on November 16, 2018, 03:19:29 PM »
Make the line

[Running or New]
Programming / excel object create error 12
« Last post by michaelgreer on November 16, 2018, 02:56:49 PM »
I have a customer who has several users running the same version of excel, and of course pvx/windx on different PC's.  One user gets and error 12 on this command:

3215 def object xl,"[running]excel.application"

"[running]ecel.application" is actually in a variable, but the above shows the command.  Does anyone know of an excel setting which would cause this?

Programming / Re: missing rollback on channel close
« Last post by Devon Austen on November 16, 2018, 09:13:29 AM »
A took a quick look at the code that handles a [mysql] channel close and a [odb] channel close and it looks like by design the [mysql] interface will commit and pending transactions when closing the channel. While the [odb] interface just closes the channel.

As this is by design it is possible this behavior was desired and users may be relying on it. The only option we would have is to add a option to allow you to override the default behavior and have it not do a commit before closing the connection. This I believe would mean that the transaction would get rolled back by the mysql driver when closing the connection.

I will put adding this option for [mysql] onto our wish list for consideration. If others would benefit from this feature let us know here and this would make it more likely we do it and help us determine its priority.
Programming / missing rollback on channel close
« Last post by Thomas Bock on November 16, 2018, 07:45:29 AM »
There seems to be a problem with [mysql] and pending transactions. If a [mysql] channel is closed with a pending transaction, then no rollback is performed. A [odb] channel behaves correctly. Is there an OPT-parameter to correct this?
Sample program attached.
Wish List / Re: define query button bitmap by expression
« Last post by Jane Raymond on November 15, 2018, 09:42:05 AM »
We have already added the ability to specify either a fixed value or expression as the bitmap for an individual query in PxPlus 2019 (Version 16). This new feature extends to defining the query bitmap for a query assigned to a multi-line or a grid cell (in grid Presets). It is also available when creating a multi-line Data Class.
Nomads / Re: titlebar has impact on resize actions
« Last post by Jane Raymond on November 15, 2018, 09:19:45 AM »

  • Here is a quote from the Custom Title Bar Display section of the Custom Title Bars documentation:
    If the standard Windows title bar is replaced using a caption-less frame style (see Frame Style above), certain Windows behaviours that are dependent on the caption bar will no longer be available or will be available in a different format. For example, the custom title bar will have no indication to show which panel is active, unlike the Windows caption bar that is dimmed when inactive. In addition, double-clicking the custom title bar will not maximize/restore the panel, nor will moving the panel against the top of the screen. Finally, moving the panel by clicking and dragging the Windows caption bar will be replaced by implementing full screen drag (see Full Screen Drag), which allows you to move the panel by clicking and dragging any blank area of the panel.
    Continue to use the Windows caption bar with your custom title bar to retain these features.
  • Depending on the type of frame is chosen for the title bar, Windows does not support re-sizing for all of them, so PxPlus had to add re-sizing logic to the right, bottom and corner edges to handle it. The sensitivity of the grabbing the edges to resize is slightly different, but is still there. If you use the Windows caption bar with your custom title bar it will retain the Windows resizing characteristics.
  • Maximizing PxPlus panels may not be exact, as the panels width and height are integral and are rounded to the nearest line/column. I found no difference in the size of the maximized panel whether it had a Windows caption or not, and whether it had a custom tool bar or not.

Nomads / titlebar has impact on resize actions
« Last post by Thomas Bock on November 15, 2018, 03:12:17 AM »
After defining a titlebar panel as a library default the resize actions change.
The environment is PxPlus V14, SCS, Win10

  • The window isn't maximized by double clicking the titlebar any more. (I think that has been reported before.)
  • The resize corner (bottom right) is drawn but not active(?). The only way to resize a window is to move the mouse over the window border on the right hand side. Despite the cursor shape you can resize the window in all directions now. All other borders are disabled.
    In the Data Dictionary the resize corner works, but the top and left borders don't. That's why I see a relation between menubar and titlebar. Our panels don't use menubars, they only use titlebar panels and statusbars.
  • Only the upper half of a statusbar is displayed in a maximized window with the taskbar option "small buttons in taskbar" enabled.
Wish List / define query button bitmap by expression
« Last post by Thomas Bock on November 15, 2018, 02:06:40 AM »
In the last days I would have enjoyed to define the query button bitmap by an expression like %qryImgCalendar$ or %qryImgFolder$. There are many queries which need a different bitmap than defined in %nomads'qry_btn$.
I'd like to have that option in the future.
Programming / Disappearing Process
« Last post by James Zukowski on November 14, 2018, 11:30:44 AM »
One of our users just had a problem I was working to resolve. I was at command level, and when I tried to string search:
*[" "]
the entire Windows process just disappeared! Totally gone, dropping the WindX connection to Linux with it.
She logged in again, got to the same error location as earlier, and this time, I entered:
Same results: totally gone. When I give the same command on my PC, I get the typical reponse: a list of statements with the desired text, or:
Error #71: String not found
Has anybody run into this before? Any ideas?
Programming / Dialogue Create Failure
« Last post by James Zukowski on November 14, 2018, 10:55:09 AM »
Here's an interesting one: I've been creating a working command window on my 1920x1080 screen using:

Code: [Select]
print 'dialogue'(66,16,82,25,"Work Window",opt="-cX"),'show'(1),'sr','cs','black','_white','cs','df','black','_white','cs','df',
It works fine, but no menu bar. When I change the opt= to "-cMX", I get an Error message box window stating only "Create failure". However, it does seem to be partly created, as the cursor is now at the top of the creating window, but nothing is erased, and nothing echoes when typed, though the cursor moves. Popping the window returns me to where I started.

Any ideas?

PxPlus 13.10, Linux 5 server, WindX on Win7Pro
Pages: [1] 2 3 ... 10