Sign in to follow this  
edwardewilliams

Combo Box issue w/displayed text

Recommended Posts

I've run in to an odd issue with the Combo Box screen component. I have ten items in the list, and the combo box sets a variable used to pull soil type names out of an array.

All of it works fine - the correct value is placed in to the variable and the correct name is selected from the array, but after making the selection, the name that's displayed in the combo box component itself is cometimes incorrect. For instance, when selection 3 is set, the name for selection 2 appears. When selection 8 is set, the name for selection 7 appears.

Now, the names of the items in the list are similar - soils go by general texture descriptions such as "Loam", "Loamy Sand", "Sandy Loam", "Silty Clay", "Silty Clay Loam" and so on. The names that get incorrectly displayed are the ones that start with similar names - when "LOAM" is selected, it's "LOAMY SAND" that sets displayed.

Is there a way to get around this? I'm guessing this is because of the way that DF processes the name displays in the "back office".

Share this post


Link to post
Share on other sites

Can you please post a simple sample doc that shows this? Just cut and paste from your big doc and add the variable.

Share this post


Link to post
Share on other sites

UPDATE. Have verified that this issue seems to be due to the similar starting charcters of the soil names. Changing the list to read something like

1.Sand

2.Sandy Loam

3.Loamy Sand

...etc.

completely cures the issue. So, for now, we've edited the pull-down list to include a space ahead of the offending values so they're sufficiently different not to be improperly displayed.

Share this post


Link to post
Share on other sites

Thanks for finding this. It has been fixed. You can get an update at www.azeotech.com/daqfactory.exe, or wait until the 5.80 release.

Share this post


Link to post
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
Sign in to follow this