Adding a Pick-List Color Globe

Top  Previous  Next

Advanced: Adding a Pick-List Color Globe

Top Previous Next

 

Now for a more advanced step,

 

1.

We will add a Picture Box to display the status globe for each record.  This involves a special Property setting.

2.

First Drag and Drop a Picture box onto the Detail band and position it to the left of the Status field.

3.

Set the size to 25, 25 (or simply size with the mouse) so it fits nicely on the line.

 

_img17.zoom94

 

Now we need to associate it with the Status field so the code knows to generate the status globe image when the report is run.

 

For this we use the BookmarkParent property to point to the Status field, by clicking on the Status field we can determine its name is xrLabel12 so set this as the value of BookmarkParent for the Picture Box.

 

When ManagePro renders the Picture Box it knows that it is a Pick-list image and it is driven by the value of Status (xrLabel12).