Expand my Community achievements bar.

Font Size in a Drop Down Menu

Avatar

Level 3

Is it possible to have the selections in a drop down menu be one font size and then when the selection is choosen it is displayed in a lager font size?

I did this,

 

form1.#subform[0].DropDownList1[0]:: enter - (FormCalc, client)

$.font.size = "12pt"

which made the font size 12pts.

I then tried to put $.font.size ="35pt" on Exit, Validate etc but nothing made the font size change once i selected it.

Thanks!

2 Replies

Avatar

Level 10

Hi,

it should work with the enter and exit events.

form1.page.DDL::enter - (FormCalc, client)

$.font.size = "12pt"

$.caption.font.size = "12pt"

Resize value to 35pt but keep caption at 12pt

form1.page.DDL::exit - (FormCalc, client)

$.font.size = "35pt"

$.caption.font.size = "12pt"

Avatar

Level 3

That didn't work.  I have 4 drop downs and i put different font sizes in each enter and exit except the first one where i have nothing at all.  For some reason the font on the first drop down is lager than the rest which is strange becasue i have nothing on the enter or exit on that drop down. This seems so simple but i'm at my wits end.

Also, how come there are black lines around the drop downs?  I have the border set to none on all of them.

Here's the file if it helps.

File

 

If you select a question from the first drop down and select the same question in the second drop down you'll notice the font on the first drop down is larger.