Lorenz Hölscher said:
Hi everyone,
the Access 2010beta image (picture?) form control has a PictureType
property with a new third option 'deallocated' or 'released' or
'enabled' (the english translation of 'freigegeben', I use the german
version). Did anyone find out what this is good for? The (german) help
only lists the other two options.
Thanks,
Lorenz
The 3 options are:
Linked - this is direct path name to an external picture
Embedded - the picture is stored with the application. If you insert this
picture in 15 places, then you have 15 copies of this picture in your
application.
Shared - NEW feature!!
This is just like embedded, but if you choose this option, then the picture
NEXT option right below in the property sheet is an combo box BASED on the
embedded images! This is really nice, as it means when you develop an
application, you don't have 15 or 20 copies of the SAME icon or cute
corporate graphic. while the new image control does not have bloat..this is
even an better design.
EVEN MORE cool is this feature/option is feed from the new option on the
ribbon. If you bring up a form in design mode, you see an NEW insert image
option on the ribbon. When you click on that option you see an image
gallery. This gallery is the LIST OF EMBEDDED icons.
While the above option is cool for client based applications, it also
instantly promotes the re-using of images for web based applications. Here
is a screen shot of the ribbon insert image..and you can see the "gallery"
of images.
http://nrfu5a.bay.livefilestore.com...gGKNnol1J8pQLjoPYn2ETnRpO1vPgm5mlN/imageG.png
if above don't work, try:
http://cid-b18a57cb5f6af0fa.skydrive.live.com/self.aspx/.Public/roomboking/imageG.png
Note the above picture is the insert icon gallery in an WEB form. Note that
at the bottom of the picture gallery you do have an "browse" option on the
bottom. So, if you want to add a new image, choose browse..it adds the image
and again chooses shared for you. In web forms, your choice is defaulted to
"shared", and you don't have an choice in this matter. (so, when in WEB
design mode you MUST use the insert picture option from the ribbon...you
don't have the image control in the tool box area when building web forms).
However, the icon gallery is exactly the same when designing client based
forms. You get an dialog like:
So, to reduce bloat, and if you have 15 forms that all need + use the SAME
image, you only have once copy of the image being used over and over.
If you look close at the above image gallery, you can see I have about 3 or
4 copies of the SAME graphic for a button called "save". The reason for this
is I did not realize that you SHOULD USE INSERT image and CHOOSE an EXISTING
image, as that means you are selecting an shared image.
These shared images are just like imbedded images..they travel with the
applications.
note that in client forms, you can manually insert the image control from
the tool box (on the ribbon), and then bring up the properties sheet, and
then choose shared, and the Picture option becomes a combo box of EXISTING
embedded images to choose from. However, by using the ribbon insert image,
you wind up doing this whole process in one quick step if you choose the
ribbon.
Very slick option...great question...