![]()  | 
 
Item.Backcolor in VB.NET with windows.forms.panel | 
 
    Post Reply  
   | 
  
| Author | |
   
   gaudetm  
   
   Senior Member  
   Joined: 23 September 2006 Location: Canada Status: Offline Points: 134  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Item.Backcolor in VB.NET with windows.forms.panelPosted: 08 May 2008 at 1:17pm  | 
 
| 
   
    
   Hi, I'm moving all my applications to VB.NET from VB6 (VB.COM) but with a full redesign from the ground to top but one thing that what working fine in VB6 was that trick for the background color of controls in taskpanel
 
   
  in form_load() 
set myitem = mygroup.items.add(1,"",3) 
myitem.control = picControls 
picControls.backcolor = myitem.backcolor 
but in vb.net i replace that by 
myitem = mygroup.items.add(1,"",3) 
myitem.control = panelControls 
panelControls.backcolor = Color.FromArgb(myitem.backcolor) 
no error on running but the backcolor isn't changed i event put the code in the paint event of the panel but nothing changed  | 
 |
![]()  | 
 |
    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  |