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.


Messages - Thomas Bock

Pages: 1 ... 8 9 [10] 11 12
136
Wish List / stop *plus/jrnl/apply
« on: January 23, 2019, 04:10:58 AM »
Looks like *plus/jrnl/apply can only be stopped while it is idle.
We're currently re-applying some journal files. As long as the apply program hasn't reached the end of the latest journal it is not looking for the apply.stop file. We use PxPlus V14.

We would like to have the apply program look for the stop file after 100 records or so. May be a parameter in jrnlapply.ini makes sense.

137
Programming / set windows titlebar color
« on: January 10, 2019, 04:42:04 AM »
I'm looking for a way to set sereval colors in the standard window titlebar using PxPlus program logic.
These are text color, background color and if possible the color of the min /max icons.
Does someone know how to do this?

138
Programming / Re: draw button as empty rectangle
« on: January 10, 2019, 01:43:19 AM »
Thank you. That's it.

btnCcl= 10501
button btnCcl, @(10, 10, 10, 1.5)="&Cancel"
btnCcl'border$ = "Solid"
btnCcl'borderColor$ = "DARK GRAY"
btnCcl'hoverTextColor$ = "WHITE"
btnCcl'hoverBackColor$ = "DARK GRAY"

I wonder, if there is a way to apply the current theme/VC to such a self drawn control.

139
Programming / draw button as empty rectangle
« on: January 09, 2019, 10:17:38 AM »
I want to create a button with my own program logic (not nomads). What is necessary to make it look like an empty rectangle?

btnCcl= 10501
button btnCcl, @(10, 10, 10, 1.5)="&Cancel",opt="F"
btnCcl'borderColor$ = "DARK GRAY"
btnCcl'hoverTextColor$ = "WHITE"
btnCcl'hoverBackColor$ = "DARK GRAY"

I'm missing the border.

140
Programming / delete empty nodes from treeview listbox
« on: December 19, 2018, 04:04:51 AM »
I want to recursively delete empty nodes from a treeview listbox after deleting a leaf item.
What is the smartest way to do this?

141
Programming / missing rollback on channel close
« 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.

142
Nomads / titlebar has impact on resize actions
« 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.

143
Wish List / define query button bitmap by expression
« 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.

144
Programming / Re: journal files size issue
« on: November 08, 2018, 06:52:27 AM »
That is strange. That file has the same size on both sides in the filesystems. After the copy everythings works again.
Thank you EVa.

145
Nomads / Re: change caption using titlebars
« on: November 08, 2018, 05:03:00 AM »
As it turns out omitting 'CI' produces unpredictable side effects in our application. So this is not an option.
I tried to add the logic from *winproc (line 1202) to our caption changes, but _tbarCaptionInfo$ is always empty unless ctl has a value of -1109.
Can you permamently provide _tbarCaptionInfo$, so I can do an instant caption change where needed? What other solution do you suggest?

BTW, the option "merge-jumpto" seems to ignore the title bar, though it is defined in the library defaults.

146
Programming / Re: journal files size issue
« on: November 08, 2018, 01:21:39 AM »
I explain the problem again.
The send process quits directly after starting. It writes this log entry:
** Journal 314 send error - Receiving system file is larger than host - stopping
I cannot make it start with journal 315.

147
Programming / Re: journal files size issue
« on: November 07, 2018, 10:17:29 AM »
I don't use the utility. All processes are stopped.
The problem ist to start the send process again.

148
Programming / Re: journal files size issue
« on: November 07, 2018, 02:41:02 AM »
I have no clue how to restart the sending process. I created sent.314 but it still tries to send journal.314 and stops with that error message. I also modified apply.sts to start with journal 315 at position 4.
How can I restart the sending process?

149
Nomads / Re: change caption using titlebars
« on: November 05, 2018, 10:56:12 AM »
In the post display logic of many of our panels a 'CI' mnemonic is issued in order to clear the input buffer from whatever has been typed ahead.
So this is the reason why the change of the caption isn't correctly reflected everywhere.

After removing some of the central occurrences things work better, but not entirely. I found statement 2473 in *winproc, which issues a 'CI'. I removed the mnemonic and now the titles are reflected correctly ... ... ... so far.
Is it save to remove it or what other change to *winproc needs to made?

150
Programming / journal files size issue
« on: November 05, 2018, 02:37:37 AM »
Every now and then I see this message in send.log:
** Journal 314 send error - Receiving system file is larger than host - stopping
I don't understand, what it wants to tell me. The file journal.314 has 10937034 bytes on both sides. The pointer value in apply.sts is 10937014. The difference of 20 bytes makes me wonder. Maybe these are the result of some system_jrnl swap issues over the weekend.
The main problem is to get the journal transfer running again, as the sending process constantly stops with this error message.

Pages: 1 ... 8 9 [10] 11 12