Print Page | Close Window

How can I move the focus of the panels?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18689
Printed Date: 18 April 2024 at 9:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can I move the focus of the panels?
Posted By: foxpro2000
Subject: How can I move the focus of the panels?
Date Posted: 19 July 2011 at 11:22am
I would like to move the fire with the click of the mouse on the various panels and take control of the control reports. Now when I click on "Sopra Grid" does not turn blue as the "Griglia Grid" and the line of "control report" does not become blue. Help!



Replies:
Posted By: Aaron
Date Posted: 19 July 2011 at 1:48pm
Hi,
 
When RC looses focus, the selected row will be grayed (even when Pane is selected again) If you need selection to be blue when selecting a Pane you could do this:
 
Private Sub wndDockingPane_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean)
    Select Case Pane.ID
        Case 1
            If Action = PaneActionActivated Then Me.ReportControl1.SetFocus
        Case 2
            If Action = PaneActionActivated Then Me.ReportControl2.SetFocus
        Case 3
            If Action = PaneActionActivated Then Me.ReportControl3.SetFocus
    End Select
End Sub  
 
 
 
Hope this helps Wink
 
 
 
 
 


-------------
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....



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