![]() |
MDI Forms |
Post Reply
|
| Author | |
erdogdum
Newbie
Joined: 03 November 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: MDI FormsPosted: 03 November 2006 at 1:22pm |
|
Hi,
i have a big trouble about backgrounds while using MDI forms and a commandbar together in VB.NET 2005. i can not show commandbar without code above : ( Dim ctrl As Control For Each ctrl In Controls If (ctrl.GetType Is GetType(System.Windows.Forms.MdiClient)) Then AxCommandBars1.SetMDIClient(ctrl.Handle.ToInt32) End If Next ) i use this code to show the commandbar, but this code prevents to show the form background image. So when i use commandbar, i cant show the background image in the Parent MDI Form. does anyone help me? Thanks. |
|
![]() |
|
erdogdum
Newbie
Joined: 03 November 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 November 2006 at 5:57pm |
|
|
![]() |
|
erdogdum
Newbie
Joined: 03 November 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 November 2006 at 5:58pm |
|
|
![]() |
|
GarethThom
Groupie
Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 November 2006 at 5:18am |
|
I too would like to know how to set a background picture on an MDI form. I am using VB6 though.
Thanks,
G.
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 November 2006 at 4:13pm |
|
Maybe you guys are looking for this?
CommandBars.TabWorkspace.ThemedBackColor = False |
|
![]() |
|
GarethThom
Groupie
Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2006 at 9:07am |
|
Perfect, thanks!
|
|
![]() |
|
erdogdum
Newbie
Joined: 03 November 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 November 2006 at 10:58am |
|
yeah that works a little. but still there is a problem. i can not
change anything by designer (forex: backgroundcolor of mdiparentform)
if i once used commandbar even i m using with or without disabling
themedbackcolor property..
|
|
![]() |
|
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 |