GuiXT Tutorial General Topics 1 2 3 4 5 6 7 8 9 Data dependent images 10 11 12 continue
The picture of a product or a scanned document, the graphic representation of a complex task, the photo of a staff member - these are some examples of meaningful data dependent images. 

Even if the user already knows the image, it gives her the immediate certainty that she has chosen the correct object. 

 
Let us assume that you want to display a photo of a product in the material master record display.   

It is easiest to place the image to the immediate right of the existing screen. If you prefer, you can rearrange the screen fields and place the image somewhere else. The image command, and, incidentally, all other commands as well, include the possibility of using &-variables which at run time are substituted by field values taken from the current screen. This is all we need to do here. 

 
      
      Image  (2,86) (15,136) "F:\products\&[Material].bmp" 
 
Continue