Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Combo box with text list - not quite working

con2827
2016-06-22
2016-07-21
  • con2827 - 2016-06-22

    I'm trying to build a time selector using 2 combo boxes, one for hour, one for minutes in 5-min increments. I've created text lists for 'Hours' and 'Minutes', but the results are bizarre.

    The hours combo only lists the text value for the first few hours, the minutes combo inserts values between the 5-min increments.

    Is there a way to fix this / make this work?

    IMG: Screenshot03.png

     
  • learnetk - 2016-06-22

    Hi,
    there is a property 'Subrange' for the Combobox.
    For the first issue put in the start and end index. And for the second Tick the 'Filter missing textentries'

    IMG: checkbox.PNG

     
  • con2827 - 2016-06-22

    That fixed it, both are working now, Thanks!

    IMG: Screenshot05.png

     
  • Dray - 2016-07-21

    Thank you for this post!
    I still don't understand why it is built so complicated in Codesys!

     

Log in to post a comment.