Missing Cursor / Loss of Focus

Missing Cursor / Loss of Focus

Postby TimStone » Fri Jan 09, 2009 8: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Missing Cursor / Loss of Focus

Postby Antonio Linares » Fri Jan 09, 2009 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Missing Cursor / Loss of Focus

Postby Antonio Linares » Fri Jan 09, 2009 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Missing Cursor / Loss of Focus

Postby TimStone » Mon Jan 12, 2009 6: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Missing Cursor / Loss of Focus

Postby Antonio Linares » Mon Jan 12, 2009 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests