Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - resize taskpanel for MDIform?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

resize taskpanel for MDIform?

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: resize taskpanel for MDIform?
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 2:14am
Hi,
You can put it to DialogBar. see our MDISample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 3:15am
ok. but dilogbar can close . it panel dont must closed. what is answer for this peroblem?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 3:26am
Just set ShowCaption = False, Closeable = False for DialogBar.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 4:13am
thanks oleg.
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.188 seconds.