Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiline and Wordwrap for checkbox labels

Status
Not open for further replies.

simonWMC2

Programmer
Aug 5, 2004
161
GB
Hi

I have used
Code:
_level0.checkbox1.labelpath.multiline=true;
_level0.checkbox1.labelpath.wordWrap=true;
_level0.checkbox1.labelpath._height=44;
to try and allow multiline and wordwrap to the labels of text boxes used in a componant (multichoice question - quiz template).
It did work, but then stopped working. The only thing i changed in this time was the navigation option on the question.
Does anyone have any idea why this code isn't working ?

thanks
 
I can't find anywhere that multiline, wordWrap, or _height is supported in the checkbox label. Those are all text field properties.

You have .label and .labelPlacement. My recommendation would be (if you must have multi-line items) do a check box with no label and use a text field for the label instead.

Wow JT that almost looked like you knew what you were doing!
 
cheers

Yeah I guess that would work.
Got me pulling my hair out as that very code was working yesterday !

 
I checked it in MX 2004 Pro. It is strange that it was working and then stopped though.
 
can be made to work in mx by editing the flabel

you might want to consider the mx check box if all else fails
 
Just to add to Bill's post the MX components are now compatible with MX 2004 and can be downloaded from MM.
 
thanks guys....

It appears that it was the player.
I was originally testing using flash player 6 which worked. I changed to player 7 - that is when it stopped. I have now switched back to 6 and it works again.
 
I know

componant from mx2004 pro, and using player 6 works...

but doesn't work with player 7....

doesn't make sense, but it is working
 
So if anyone in your target audience has the v7 player (latest) it won't work? That's not good.
 
no - fortunatly, this project is for our coporate intranet, and we have player 6. But if we ever upgrade then we will be in the poop....

anyone experianced this before ?

cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top