Print Page | Close Window

Focus Problem with FlatEdit & DateTimePicker (MDI)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=10733
Printed Date: 11 December 2024 at 6:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Focus Problem with FlatEdit & DateTimePicker (MDI)
Posted By: origos
Subject: Focus Problem with FlatEdit & DateTimePicker (MDI)
Date Posted: 22 May 2008 at 12:04am
In a MDI application with 2 or more child windows, if you click on a Codejock's FlatEdit or DateTimePicker of any not topmost child window, the control gets the focus and it even receives keystrokes, but the form does not get really activated and remains behind the active form (zOrder).
I have not verified all of codejock controls, but possibly these are not the only ones that behave this way.

Image:
(The FlatEdit with selected text has the focus and receives keystrokes, but child window remains behind the other one. Clicking on the combobox or any other not codejock control or directly on the form or caption do gets the window topfront.)




Demo application:

uploads/20080522_000353_Focus_Error.zip - uploads/20080522_000353_Focus_Error.zip





-------------

Enjoy life. Everything is OK...



Replies:
Posted By: Aaron
Date Posted: 22 May 2008 at 1:38am
Hi,
 
Seems that FlatEdit Control is guilty at all charges
 
see http://forum.codejock.com/forum_posts.asp?TID=10679 - http://forum.codejock.com/forum_posts.asp?TID=10679


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: origos
Date Posted: 22 May 2008 at 3:16am
Thanks Aaron. You've been busy here ;-)

Unfortunely no one replied to that message either, so maybe codejock engineers are not aware of that issue.

I am posting here at the forums all bugs I have found, with images and code where needed, not just to inform codejock, but because I am looking for a solution. But maybe it is a lost cause and I am just wasting my time.

Well, at least you are commenting on some of my posts.

Thanks for that!



-------------

Enjoy life. Everything is OK...


Posted By: Aaron
Date Posted: 22 May 2008 at 4:18am
Hi,
 
Some things have to work as they should and they have to be solved by CodeJock. I don't like workarounds myself only in the worst case when I have to release a version of my app I would do this.
 
In your case the FlatEdit does not set the focus to the form, you could set the focus to the form yourself:
 
Private Sub FlatEdit1_GotFocus()
    Me.SetFocus
End Sub
I know this is terrible but at least it looks like the form is focused


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: origos
Date Posted: 23 May 2008 at 12:51pm
Yes, I could do that.
And I could also use a text box with a small button at its right side that will make visible a list and.... ah!, now I remember why I am buying third party controls: so I don't have to code them myself!

I understand it is normal to have bugs, sometimes my own code has them! ;-)
And I am aware that codejock has some of the finest controls I have found, is not included everything you could ask for, but what they have is great, at the point that I am letting go of 10 year of being with ComponentOne (formerly Videosoft) and changing to codejock.

But man, if the documentation is way insufficient, and I don't even receive an aknowledge to know if codejock is aware of the issue (or it is an error on my code), and if they have plans to correct it, then it is very easy to feel lost, not supported and asking myself: Is this one the right company?

I agree with you that "Zero replies is not an option..."

OK... back to work.
Thanks again.


Product: Xtreme SuitePro (ActiveX) version 12.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



-------------

Enjoy life. Everything is OK...


Posted By: Oleg
Date Posted: 23 May 2008 at 3:44pm
Hello,
 
We agree this problem and fixed for 12.0.1 release. please wait a week.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net