![]() |
MDI Forms |
Post Reply ![]() |
Author | |
erdogdum ![]() Newbie ![]() Joined: 03 November 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
|
|
![]() |
|
erdogdum ![]() Newbie ![]() Joined: 03 November 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
|
![]() |
|
GarethThom ![]() Groupie ![]() ![]() Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
I too would like to know how to set a background picture on an MDI form. I am using VB6 though.
Thanks,
G.
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Maybe you guys are looking for this?
CommandBars.TabWorkspace.ThemedBackColor = False |
|
![]() |
|
GarethThom ![]() Groupie ![]() ![]() Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
Perfect, thanks!
![]() |
|
![]() |
|
erdogdum ![]() Newbie ![]() Joined: 03 November 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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 |