FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Missing Cursor / Loss of Focus
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Missing Cursor / Loss of Focus
Posted: Fri Jan 09, 2009 08:09 PM

I have received complaints from several clients recently with the following problems:

1) There has been a loss of focus or dialogs sometimes go out of focus and "disappear".
2) Using TSBrowse ( not current version ) there is sometimes a Workoarea not in use: ADSKEYNO message which comes from a TS Browse lostfocus call
3) The cursor on some computers disappears when moving from one field to another

These problems did not occur under older FWH versions.

Here are some more specifics:
I'm currently using FWH 8.12
I'm using database objects with tData ( I mention this because I know there were changes made )
I'm using xHarbour.com Professional with the default compiler ( xCC ) September 2008 plus all updates
I'm using tsBrowse as modified by James Bott ( not the new one ). We did not have these problems on earlier FWH versions
The clients with problems are using the Advantage Database Client Server

I wonder if others have had similar experiences using 8.12 ( or 8.11 ) with the tDatabase revisions or if you are aware of other possible issues that have arisen recently. The people having problems are on XP machines. I cannot replicate these problems so I cannot build a consistent example, but I do see it at several locations and on multiple machines.

I would appreciate any input. Thanks.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Missing Cursor / Loss of Focus
Posted: Fri Jan 09, 2009 08:20 PM

Tim,

> 1) There has been a loss of focus or dialogs sometimes go out of focus and "disappear".

What controls are you using in those dialogboxes ? Do you use a buttonbar in those dialogs ?

Please post some screenshots if possible, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Missing Cursor / Loss of Focus
Posted: Fri Jan 09, 2009 08:23 PM

Tim,

Just a quick idea: You could set a timer to show the current focused control classname in the main window caption:

SetWindowText( oWndMain:hWnd, GetClassName( GetFocus() ) )

That way, when the focus is gone you could know where it really is. You could activate such timer when you want to trace it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Missing Cursor / Loss of Focus
Posted: Mon Jan 12, 2009 06:18 PM

I guess I'm wondering if the changes in tDatabase may be causing some problems. Were there significant changes from 8.10 to 8.12. I didn't notice these problems until version 8.11 and 8.12.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Missing Cursor / Loss of Focus
Posted: Mon Jan 12, 2009 09:15 PM

Tim,

I don't think that Class TDataBase may be related with a focus issue, anyhow you can add the 8.10 TDataBase PRG to the bottom of your main app and rebuild your app, so you will be using 8.12 and TDataBase from 8.10, to check if that makes a difference.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion