Jump to content
Changes to the Jaspersoft community edition download ×

To create check boxes


Santoshi.E

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Santoshi,

 

As far as I know, there is no feature (at least not yet) that allows you to create check boxes.

I actually have to create my own check boxes.

 

First create a rectangle element (10 X 10 pixels would be small enough).

Create an Image element (8 X 8 pixels if you want to fit the image nicely inside a 10 X 10 Box)

This will be the image element that will actually be your check mark or whatever mark you will use.

Link the image element to an actual image file in your directory.

Do this by right clicking the image element and clicking the Image Tab.

Here, type in the path to the image you will be using inside the Image Expression box.

You could use an absolute or relative path, whatever works for you.

You now have your basic elements for your check box.

 

You now have to align the centers of both your checkbox and your checkmark.

It would also be a good idea to make sure the stacking order of your elements are correct, meaning the checkmark must be in fromt of your check box.

 

For your checkbox to work you will have to type in the apropriate Boolean expression.

To do this, right click on your check mark image.

Select properties and click on the Common tab.

At the bottom where it says Print when Expression, type in the Boolean expression that will determine when your checkmark image will be displayed/printed.

 

hth!

 

edwin

 

** attached is a checkmark image you might want to use :) [file name=checkBlack.gif size=370]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/checkBlack.gif[/file]

Post edited by: redwine, at: 2007/08/06 17:43

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...