Print Page | Close Window

resize taskpanel for MDIform?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=11611
Printed Date: 09 May 2024 at 10:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: resize taskpanel for MDIform?
Posted By: mozaheb
Subject: resize taskpanel for MDIform?
Date Posted: 28 July 2008 at 6:56am
hi.
how do setting size of taskpanel for MDIform ?
more info: i have commandbar and taskpanel and statusbar in MDIform.
now add this code in CommandBars_Resize:

Private Sub CommandBars_Resize()
    On Error Resume Next
    Dim Left As Long, Top As Long, Right As Long, Bottom As Long
    Dim nWidth As Long
    CommandBars.GetClientRect Left, Top, Right, Bottom
    nWidth = IIf(Right - Left < 3000, Right - Left, 3000)
    toolbox.Move Me.Width - toolbox.Width - 150, Top + 25, nWidth, & _    
                          Bottom - Top - 60 - StatusBar.Height
    ReportControl.Move 20, Top + 25, Me.Width - 25, Bottom - Top - 60 - & _
                           StatusBar.Height
End Sub

.now run this app. but i see tskpanel without details on the commandbar.
(this problem is not in SDIform).
if you dont understand, tell me until i send linke my example.
please help me for this problem.



Replies:
Posted By: Oleg
Date Posted: 29 July 2008 at 2:14am
Hi,
You can put it to DialogBar. see our MDISample.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mozaheb
Date Posted: 29 July 2008 at 3:15am
ok. but dilogbar can close . it panel dont must closed. what is answer for this peroblem?



Posted By: Oleg
Date Posted: 29 July 2008 at 3:26am
Just set ShowCaption = False, Closeable = False for DialogBar.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mozaheb
Date Posted: 29 July 2008 at 4:13am
thanks oleg.



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