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,337 of 10,840   
   Rick Rothstein to All   
   Re: Draw line on picture   
   22 Mar 05 10:05:16   
   
   From: rickNOSPAMnews@NOSPAMcomcast.net   
      
   > Ive to draw a line on a picture i used this code:   
   >   
   >      ..........   
   >   
   > But i doesnt draw on the picture, only on the form??/   
   > Can someone help me with this??   
      
   Where is the picture? In a PictureBox that is on the form? If so, then   
   you have to place the Line control INSIDE of the PictureBox. There are   
   two ways to do this.   
      
   First method... after placing the Line control on the form by   
   double-clicking it from the ToolBox, cut it from the Form by selecting   
   it (if not already selected) and then pressing Ctrl+X, then select the   
   PictureBox and paste the Line control into it by pressing Ctrl+V.   
      
   Second method... don't double-click the Line control in the first place;   
   instead, click on it once in the ToolBox to select it, then click and   
   drag the mouse directly in the PictureBox to place the Line control   
   directly within the PictureBox.   
      
   Rick - MVP   
      
   --- 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