Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Focus Problem with FlatEdit & DateTimePicker (MDI)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Focus Problem with FlatEdit & DateTimePicker (MDI)

 Post Reply Post Reply
Author
Message
origos View Drop Down
Groupie
Groupie
Avatar

Joined: 28 March 2008
Location: Mexico
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote origos Quote  Post ReplyReply Direct Link To This Post Topic: Focus Problem with FlatEdit & DateTimePicker (MDI)
    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...
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2008 at 1:38am
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....
Back to Top
origos View Drop Down
Groupie
Groupie
Avatar

Joined: 28 March 2008
Location: Mexico
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote origos Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
origos View Drop Down
Groupie
Groupie
Avatar

Joined: 28 March 2008
Location: Mexico
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote origos Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.