remove picture from form

  • Follow


I added a picture to a form when I meant to put it in a picture box. How can
I delete it from the form? I'm using VB4-32.



http://davehouston.net
http://tech.groups.yahoo.com/group/roZetta/
roZetta-subscribe@yahoogroups.com
0
Reply nobody9919 (41) 11/30/2006 4:38:20 PM

nobody@whocares.com (Dave Houston)'s wild thoughts were
released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
following fruit:

>I added a picture to a form when I meant to put it in a picture box. How can
>I delete it from the form? I'm using VB4-32.
>
Assuming VB4 works the same, simply select the picture
property and hit the delete key

J

>
>http://davehouston.net
>http://tech.groups.yahoo.com/group/roZetta/
>roZetta-subscribe@yahoogroups.com


Jan Hyde (VB MVP)

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

0
Reply StellaDrinker (799) 11/30/2006 4:40:28 PM


Jan Hyde <StellaDrinker@REMOVE.ME.uboot.com> wrote:

>nobody@whocares.com (Dave Houston)'s wild thoughts were
>released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
>following fruit:
>
>>I added a picture to a form when I meant to put it in a picture box. How can
>>I delete it from the form? I'm using VB4-32.
>>
>Assuming VB4 works the same, simply select the picture
>property and hit the delete key

Nope, that doesn't work. But I remembered what I did once before - I made a
1x1 pixel .BMP of the same color as the form and used it to replace the
unwanted picture.


http://davehouston.net
http://tech.groups.yahoo.com/group/roZetta/
roZetta-subscribe@yahoogroups.com
0
Reply nobody9919 (41) 11/30/2006 8:18:38 PM

>>nobody@whocares.com (Dave Houston)'s wild thoughts were
>>released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
>>following fruit:
>>
>>>I added a picture to a form when I meant to put it in a picture box. How 
>>>can
>>>I delete it from the form? I'm using VB4-32.
>>>
>>Assuming VB4 works the same, simply select the picture
>>property and hit the delete key
>
> Nope, that doesn't work. But I remembered what I did once before - I made 
> a
> 1x1 pixel .BMP of the same color as the form and used it to replace the
> unwanted picture.

When Jan said "select the picture property", he actually meant to say select 
(highlight) the "(Bitmap)" text in the property section of the Picture 
Property line and delete that. If it works the same as here in VB6, the 
"(Bitmap)" text will be replaced by text which says "(None)". Just clicking 
on the Picture Property and hitting Delete will not remove the selected 
picture... you have to highlight the word "(Bitmap)" and delete that.

Rick 


0
Reply rickNOSPAMnews (1770) 11/30/2006 10:53:52 PM

> >>I added a picture to a form when I meant to put it in a picture box. How
can
> >>I delete it from the form? I'm using VB4-32.
> >>
> >Assuming VB4 works the same, simply select the picture
> >property and hit the delete key
>
> Nope, that doesn't work. But I remembered what I did once before - I made
a
> 1x1 pixel .BMP of the same color as the form and used it to replace the
> unwanted picture.



Click twice in the Picture property (the form's property window) to insure
the text cursor (carat) is there blinking away where it says "(Bitmap)"
before you press the keyboard's "Delete" key.  When it's gone, it should say
"(None)".

I'm quite sure VB4 works the same way regarding this as VB5 and VB6.  Don't
have my old VB4 installed anymore, so I can't test to verify it though.


0
Reply no18 (4421) 11/30/2006 11:09:11 PM

"Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@NOSPAMcomcast.net> wrote:

>>>nobody@whocares.com (Dave Houston)'s wild thoughts were
>>>released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
>>>following fruit:
>>>
>>>>I added a picture to a form when I meant to put it in a picture box. How 
>>>>can
>>>>I delete it from the form? I'm using VB4-32.
>>>>
>>>Assuming VB4 works the same, simply select the picture
>>>property and hit the delete key
>>
>> Nope, that doesn't work. But I remembered what I did once before - I made 
>> a
>> 1x1 pixel .BMP of the same color as the form and used it to replace the
>> unwanted picture.
>
>When Jan said "select the picture property", he actually meant to say select 
>(highlight) the "(Bitmap)" text in the property section of the Picture 
>Property line and delete that. If it works the same as here in VB6, the 
>"(Bitmap)" text will be replaced by text which says "(None)". Just clicking 
>on the Picture Property and hitting Delete will not remove the selected 
>picture... you have to highlight the word "(Bitmap)" and delete that.

OK. But that's not very intuitive until after seeing it work.

http://davehouston.net
http://tech.groups.yahoo.com/group/roZetta/
roZetta-subscribe@yahoogroups.com
0
Reply nobody9919 (41) 12/1/2006 4:04:17 AM

>>When Jan said "select the picture property", he actually meant to say 
>>select
>>(highlight) the "(Bitmap)" text in the property section of the Picture
>>Property line and delete that. If it works the same as here in VB6, the
>>"(Bitmap)" text will be replaced by text which says "(None)". Just 
>>clicking
>>on the Picture Property and hitting Delete will not remove the selected
>>picture... you have to highlight the word "(Bitmap)" and delete that.
>
> OK. But that's not very intuitive until after seeing it work.

You will get no disagreement from me on that.

Rick 


0
Reply rickNOSPAMnews (1770) 12/1/2006 4:21:33 AM

On Fri, 01 Dec 2006 04:04:17 GMT, nobody@whocares.com (Dave Houston)
wrote:

>"Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@NOSPAMcomcast.net> wrote:
>
>>>>nobody@whocares.com (Dave Houston)'s wild thoughts were
>>>>released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
>>>>following fruit:
>>>>
>>>>>I added a picture to a form when I meant to put it in a picture box. How 
>>>>>can
>>>>>I delete it from the form? I'm using VB4-32.
>>>>>
>>>>Assuming VB4 works the same, simply select the picture
>>>>property and hit the delete key
>>>
>>> Nope, that doesn't work. But I remembered what I did once before - I made 
>>> a
>>> 1x1 pixel .BMP of the same color as the form and used it to replace the
>>> unwanted picture.
>>
>>When Jan said "select the picture property", he actually meant to say select 
>>(highlight) the "(Bitmap)" text in the property section of the Picture 
>>Property line and delete that. If it works the same as here in VB6, the 
>>"(Bitmap)" text will be replaced by text which says "(None)". Just clicking 
>>on the Picture Property and hitting Delete will not remove the selected 
>>picture... you have to highlight the word "(Bitmap)" and delete that.
>
>OK. But that's not very intuitive until after seeing it work.
>
Ok, how about 'me.picture = LoadPicture("")' in form_load ? :-)

-- 

Regards, Frank
0
Reply fajp1 (1575) 12/1/2006 4:38:21 AM

"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@NOSPAMcomcast.net> wrote in message
news:9bqdnTWEB6ud_PLYnZ2dnUVZ_qmdnZ2d@comcast.com...
> >>nobody@whocares.com (Dave Houston)'s wild thoughts were
> >>released on Thu, 30 Nov 2006 16:38:20 GMT bearing the
> >>following fruit:
> >>
> >>>I added a picture to a form when I meant to put it in a picture box. How
> >>>can
> >>>I delete it from the form? I'm using VB4-32.
> >>>
> >>Assuming VB4 works the same, simply select the picture
> >>property and hit the delete key
> >
> > Nope, that doesn't work. But I remembered what I did once before - I made
> > a
> > 1x1 pixel .BMP of the same color as the form and used it to replace the
> > unwanted picture.
>
> When Jan said "select the picture property", he actually meant to say select
> (highlight) the "(Bitmap)" text in the property section of the Picture
> Property line and delete that. If it works the same as here in VB6, the
> "(Bitmap)" text will be replaced by text which says "(None)". Just clicking
> on the Picture Property and hitting Delete will not remove the selected
> picture... you have to highlight the word "(Bitmap)" and delete that.

The word doesn't actually need to be highlighted, simply place the caret in the
editable field and delete. Clicking twice on the property value, not the
property name, will accomplish this.

David


0
Reply dwy (73) 12/1/2006 6:53:17 AM

>> When Jan said "select the picture property", he actually meant to say 
>> select
>> (highlight) the "(Bitmap)" text in the property section of the Picture
>> Property line and delete that. If it works the same as here in VB6, the
>> "(Bitmap)" text will be replaced by text which says "(None)". Just 
>> clicking
>> on the Picture Property and hitting Delete will not remove the selected
>> picture... you have to highlight the word "(Bitmap)" and delete that.
>
> The word doesn't actually need to be highlighted, simply place the caret 
> in the
> editable field and delete. Clicking twice on the property value, not the
> property name, will accomplish this.

Interesting... all of these years I've assumed that since the text was 
highlight-able, it needed to be highlighted before you could delete it (you 
know, like normal text in a Windows program)... it never occurred to me that 
it would work by highlighting only a portion to as little as none of the 
text. Live and learn.

Rick 


0
Reply rickNOSPAMnews (1770) 12/1/2006 8:14:25 AM


On Dec 1, 3:14 pm, "Rick Rothstein \(MVP - VB\)"
<rickNOSPAMn...@NOSPAMcomcast.net> wrote:
> >> When Jan said "select the picture property", he actually meant to say
> >> select
> >> (highlight) the "(Bitmap)" text in the property section of the Picture
> >> Property line and delete that. If it works the same as here in VB6, the
> >> "(Bitmap)" text will be replaced by text which says "(None)". Just
> >> clicking
> >> on the Picture Property and hitting Delete will not remove the selected
> >> picture... you have to highlight the word "(Bitmap)" and delete that.
>
> > The word doesn't actually need to be highlighted, simply place the caret
> > in the
> > editable field and delete. Clicking twice on the property value, not the
> > property name, will accomplish this.
> Interesting... all of these years I've assumed that since the text was
> highlight-able, it needed to be highlighted before you could delete it (you
> know, like normal text in a Windows program)... it never occurred to me that
> it would work by highlighting only a portion to as little as none of the
> text. Live and learn.
>
> Rick

In fact, all property can be deleted (where deleting is possible) by
pressing delete while highlighting the property box (not highlighting
the text in property box)

0
Reply lie.1296 (854) 12/2/2006 11:45:48 AM

10 Replies
21 Views

(page loaded in 0.195 seconds)

Similiar Articles:













7/27/2012 10:25:08 PM


Reply: