Image box
Hi,
I need to create a box when I can show different images by selecting
from ether a menu or buttons.
Right now I have some buttons that are portals to other layout where
the image is. What I want is be able to pick on of those buttons and
in the same layout view the image.
Thanks for your help!!!!!
Re: Image box
In article
<1184077677.321292.128000 [at] n2g2000hse.googlegroups.com>dnilo84
<dnilo84 [at] yahoo.com> wrote:
> Hi,
> I need to create a box when I can show different images by
> selectingfrom ether a menu or buttons.
> Right now I have some buttons that are portals to other layout where
> the image is. What I want is be able to pick on of those buttons
> andin the same layout view the image.
> Thanks for your help!!!!!
>
>
Make a calculation field along the lines of the following. Your
buttons will be from a value list based on the Imagename field:
calcDisplayField = "image:/Path/to/imagefolder/" & Imagename
ultimately, we'll return this as Container, but let's make it Text
first.
If the path to the image file is correct as text, it will display the
image when we change the return to Containier. In my setup, it comes
out as image:/HDX/Users/matt/Documents/Photos/Montreal.JPG
Alternately, you could make two fields from the same calculation, one
as text one as Container, as an aid to getting the calc correct.
Matt
Re: Image box
dnilo84 wrote:
> Hi,
> I need to create a box when I can show different images by selecting
> from ether a menu or buttons.
> Right now I have some buttons that are portals to other layout where
> the image is. What I want is be able to pick on of those buttons and
> in the same layout view the image.
> Thanks for your help!!!!!
>
What I do is make thumbs of the buttons, using a rel ID::ID (the record
ID that the image relates to e.g Patient_ID...). This can be a normal
vertical arrangement, or as multiple singe row portal iterations for
horizontal displays,or as multiple rows of thumbs using the portal row
range method.
The button attached to the image then parses the actual image ID to a
global, and using g_ImageID::ImageID establish a second rel for display
of the selected image.
This approach allows filtering the initial display rel for subtypes...
and a hilite selected can be added to the thumbs
regards
Chris