Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, The Picture property has been set at design time, but later changed to another image with the line:- frmSerial.imgNegLabelA.Picture = frmLabelIcons.Controls(k).Picture frmSerial.imgNegLabelA. is where I want the image and frmLabelIcons has a bank of thumbnails. If the form is closed then reopened the original embedded picture appears, if the above line is skipped. What I'd like to do is, without closing the Form, show that original pictue if (k) is Not Found. Is this possible? I seem to be heading to the 'item' command but haven't had any success yet. Thanks - Kirk |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sep 14, 6:56*am, kirkm wrote:
Hi, The Picture property has been set at design time, but later changed to another image with the line:- frmSerial.imgNegLabelA.Picture = frmLabelIcons.Controls(k).Picture frmSerial.imgNegLabelA. is where I want the image and frmLabelIcons has a bank of thumbnails. If the form is closed then reopened *the original embedded picture appears, if the above line is skipped. What I'd like to do is, without closing the Form, show that original pictue if (k) is Not Found. Is this possible? *I seem to be heading to the 'item' command but haven't had any success yet. Thanks - Kirk if frmLabelIcons.Controls.Items.Count < k is that what you mean? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sun, 14 Sep 2008 01:28:39 -0700 (PDT), NOPIK wrote:
if frmLabelIcons.Controls.Items.Count < k is that what you mean? I don't think so... k isn't a number... but if it were I'd still need to set the picture to the default (the one assigned at design time). How's that done? Anyone know? Thanks - Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Manually changing a picture (shape) name property | Excel Discussion (Misc queries) | |||
Runtime Error 1004 Unable to set the top property of the picture c | Excel Discussion (Misc queries) | |||
Where does excel store the pictures of a userform's 'Picture' property? | Excel Programming | |||
changing property of a picture that is already pasted on excel | New Users to Excel | |||
Picture Tiling property | Excel Programming |