home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,563 of 10,840   
   Steve Gerrard to Nicolas Poirier   
   Re: Copy from a Picture Box   
   16 Jun 05 20:44:06   
   
   From: mynamehere@comcast.net   
      
   "Nicolas Poirier"  wrote in message   
   news:jlmse.9388$Qr3.1060171@news20.bellglobal.com...   
   >I filled a picture box with "Line" function and I'd like to copy my drawing   
   > to another Picture Box.   
   >   
   > Using this function does not work:   
   > Picture2.PaintPicture Picture1.Picture, 0, 0, 1000, 1000, 0, 0, 1000, 1000,   
   > vbSrcCopy   
   > because Picture1 does not contain a picture. It contains lines from "Line"   
   > function   
   >   
   > Does anybody have a suggestion ?   
   > Thank you   
   > Nicolas Poirier   
   >   
   >   
   >   
      
   First, set the AutoRedraw property of Picture1 to True.   
      
   Then draw your lines.   
      
   Then use   
       Picture2.Picture = Picture1.Image   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca