Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Control drop down width


This topic is 4995 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Can anyone tell me how to control the width of a drop down list? I have a DD list that drops down from a semi hidden field (1px wide) that always truncates anything more than 7-8 letters long. I'd like to find a way to control the width of the list so it could display something like 20 characters.

Anyone know how to do this in FM10Adv?

Posted

A long time ago I discovered that the value list width is controlled by the widest entry on the first drop down. Try adding a dummy entry composed wholly of spaces (it will be the first in the list) that will be wide enough to show the widest real entry.

Posted

Hello IdealData,

Thanks for the tip. That worked. Playing with it a bit more, I noticed that the width doesn't fully follow the width of widest record. I did what you said and it provided enough width for my purpose but I noticed it seems to average the width of the less wide records also...or some such logic. If I put a lot of spaces in there, it doesn't get any wider, it just shows some ellipsis at the end of the dummy record in the drop down. Would be nice if they allowed us to discretely modify the width.

I'll have to figure out a way to automatically put this dummy record at the top of each drop down. I have a lot of dependent conditional VLs that will need a dummy record for each combination of conditions.

Thanks very much for your help.

RDW

  • 4 months later...
Posted

A long time ago I discovered that the value list width is controlled by the widest entry on the first drop down. Try adding a dummy entry composed wholly of spaces (it will be the first in the list) that will be wide enough to show the widest real entry.

Thanks a million IdealData, I have also been chasing my tail trying to figure this out.

This topic is 4995 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.