Alaska Software Inc. - Program hangs after lots of gui action
Username: Password:
AuthorTopic: Program hangs after lots of gui action
Eelko OosterbaanProgram hangs after lots of gui action
on Tue, 15 Sep 2020 09:14:16 +0200
Hi,

With a client of outs we are having issues with xBase++. 
When a lot of GUI interaction is done the program just hangs.
For instance we have a xbpListBox created as follows:
  lbFonts             := XbpListBox():new(oDlg:drawingArea,,{320,55}, {300,175})
  lbFonts:tabstop     := .T.
  lbFonts:create()
  lbFonts:itemMarked  := {| uNIL1, uNIL2, self | oFontPreview:setFontCompoundName('12.'+lbFonts:getItem(lbFonts:getData()[1])) }

After creation we add items:
  For z := 1 to len(aThisFont)
      lbFonts:addItem(aThisFont[z])
   Next

This works fine on our machine, but at the client the program will hang.
When we add a sleep(2) in the loop the program runs fine.

This is just one example of a part whee the program hangs. But it will hang on other places in the code as well randomly.

Our client is using Windows Server 2016 with Citrix.

Best Regards,
Eelko.
Jim LeeRe: Program hangs after lots of gui action
on Tue, 15 Sep 2020 23:29:51 +0200
hi,

which Xbase++ Version ?

i do have same with XbpListbox in "some" Xbase++ v1.9x Apps
as i cant figure out why it does hang so i change it with my native Listbox 
Control using Ot4xb

search at www.xbwin.com for DXE LIB