resize taskpanel for MDIform? |
Post Reply |
Author | |
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can put it to DialogBar. see our MDISample.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
ok. but dilogbar can close . it panel dont must closed. what is answer for this peroblem?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Just set ShowCaption = False, Closeable = False for DialogBar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
thanks oleg.
|
|
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 |