Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Pane Contents Disabled - Can't Type
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pane Contents Disabled - Can't Type

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: Pane Contents Disabled - Can't Type
    Posted: 07 January 2009 at 7:07am
I am getting a problem where a form has a docking Pane control on it with a few docking panes created. 
One of the docking panes has another form in it with text boxes and combo boxes etc. on it.  For some reason it won't let me type on the form in that particular docking pane - no matter what form I put in that docking pane it won't allow any typing.
 
I have come across this before and had to work around it.
 
 
Any Ideas?
 
Activex version 12.0.2
 
Regards
Lee
Back to Top
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2009 at 8:58am
Try this and see
 
have 2 forms - form1 and form2. 
 
add the dockingpanecontrol to form1
add a text box to form2
 
place the following code in form 1 and you will see that you can not type in the text box in form2.  You can however type in the text box if you click on the Pane Caption Line first - which seems to activate the pane.  You can't do this if your pane has no caption !
 
Regards
Lee
 
Private Sub Form_Load()
With DockingPane1
    Dim dp As Pane
    Set dp = .CreatePane(0, 100, 300, DockBottomOf, Nothing)
        dp.SetHandle Form2.hWnd
End With
End Sub
Back to Top
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2009 at 11:20am
Very Interesting...
 
IF you have a textbox on form1 and Form2 then it does not move to the textbox on form2 and allow you to type when you click on it.
 
However - if you replace the textbox on form1 with a codejock control like the FlatEdit then you can click between the two and edit them quite happily.
 
Why is this?
 
Lee
Back to Top
robdon View Drop Down
Groupie
Groupie
Avatar

Joined: 27 April 2006
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote robdon Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2009 at 4:38pm
Hi,
 
Yes indeed, I get the same problem as you, but if I put a CJ text box on both forms, it 'fixes' it.
 
However, I dont want the 2nd form to have a text box on it.
 
Is this a bug? And when will it get fixed?
 
Thanks,
 
Rob.
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.078 seconds.