TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Jan Hyde
date: 2005-01-13 15:08:00
subject: Re: Picturebox and anchor

"Ferdinand Oude Elferink" 's
wild thoughts were released on Thu, 13 Jan 2005 17:40:59
+0100 bearing the following fruit:

>Can anyone tell me what the trick is to anchor a label or any object inside
>an picturebox.
>am looking at the vb 5 sample application biblio , but could not find a clue
>how this is done.
>
>the clue is to move the picturebox as a whole with all the objects inside
>when doing development
>
>If your answer is to lock the objects , that is not what i am looking for ,
>the objects inside the picturebox
>should be moveable , but not be able to dragged outside the picturebox and
>remain on top of the picture box too .
>
>and when i move the picturebox all objects in there shoudl remain their
>position within the picturebox .
>It is done in biblio sample application. but dont know how i can do this
>myself.
>
>Thx for any support in advance
>
>Ferdinand
>

This is how I do it.

Add a control to the form
Select the control
Hit Ctrl+X
Select the picture control
Hit Ctrl+V




Jan Hyde (VB MVP)

-- 
Stifle: A pen full of pigs (Stan Kegel) 

[Abolish the TV Licence - http://www.tvlicensing.biz/]
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 1/13/05 3:08:00 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270 5030/786
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.