![]() |
Behavior of a detached panes |
Post Reply ![]() |
Author | |
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() Posted: 16 January 2007 at 7:55am |
I have a question about the behavior of a detached pane. Simple example: Run this programm and double click on the header of Pane1. As soon as you click on Text1 or on the header of Pane1, you will have a "locked situation". You can't change focus by clicking on any part of the application. The only way to "unlock" this situation is to doubleclick the header of Pane1 again. Is there a way to avoid this locked situation? I like to have detached panes without having my main form locked. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Set TabStop for Edit to False
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() |
Edit = TextBoxes? I run my application with TextBoxes.TabStop=False and there's no chance in beavior.
There is still a "locked situation"!
Maybe I misunderstood you?
|
|
![]() |
|
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() |
Any suggestion?
Can you reproduce my problem?
To diable the textboxes is not a solution. In our application there are complex ocx in the panes where the user should input data...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I can't reproduce it. It works for me when I set TabStop for TextBox to False in design time.
Check our samples, you can put TextBoxes to another forms.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() |
![]() After step 1, TextBox1 has the focus and you can edit the text.
If you try to click now in TextBox2 (Step 2) the TextBox2 won't take focus. You can not edit Text2!
![]() But If you first DoubleClick on Pane2s header then there will be no locked situation: You can edit both text!
Don't I use the DockingPanes not as intended? Is there a problem how I create the panes?
Win 2K SP4
VP6 SP6
CJ SuitePro ActiveX 10.4.2
|
|
![]() |
|
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() |
Typo: VP6 is VB6 SP6
![]() I hope you can now reproduce it...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
uploads/20070216_114233_lp.zip
Hi,
As I suggested move panes to different Forms.
it is vb6 thing. At least one control must be on form that not in pane. Some control have to receive focus.
See attachment
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Jean ![]() Senior Member ![]() ![]() Joined: 11 December 2006 Status: Offline Points: 110 |
![]() ![]() ![]() ![]() ![]() |
Thank you Oleg. This way there's no locked situation. The behavior is still a little bit strange starting from step 2: |
|
![]() |
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 |