MDIchild window Focus behavior

MDIchild window Focus behavior

Postby AHF » Mon Oct 15, 2007 11:40 am

Hello,

In FW CaClipper when any control on MDIchild is clicked the MDIchild gets focus. On FWH this doesn't happens anymore.
How can I make it work the same way ?

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Antonio Linares » Mon Oct 15, 2007 12:33 pm

Antonio,

Please test samples\TestMdi5.prg and click on the GET, the focus its given to its mdichild window
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby AHF » Mon Oct 15, 2007 2:16 pm

This app wich works fine in 16bt however in 32 bt xharbour has the following diferences :

1) You can't click a get in a unfocused mdichil. you must 1st click teh mdichild to get it focused then click the get.

2) You can however click buttons and browses and scrollbars on unfocused mdichild without focused on it.

This is a totally diferent behavior than 16bt.
All mdichilds have a dialog inside and all controls are in the dialog not in the mdichild directly.

How can I solve it ?
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Antonio Linares » Mon Oct 15, 2007 4:02 pm

Antonio,

If you find some difference behaviors from 16 bits apps to 32 bits apps is due to Windows, as we use exactly the same code for both FW and FWH.

We don't place dialogs inside the MDICHILD windows. It can be done, but we don't do it by default.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 79 guests