Focus Problem with FlatEdit & DateTimePicker (MDI) |
Post Reply |
Author | |
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
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 |
|
Enjoy life. Everything is OK... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Seems that FlatEdit Control is guilty at all charges
|
|
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.... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
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... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
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... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
We agree this problem and fixed for 12.0.1 release. please wait a week.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |