Menu

#76 Combobox difference in newer versions of nsbase

V1.6
closed
nobody
None
2020-08-31
2020-03-25
Jan Huizer
No

Dear surfvite,

It seems to be that putting a combobox on a form in the latest versions has another behavior then before.
They are always greyed-out and filling it with data from another table (using loadComponentListFromTable) will not work.
So I decided to remove the new combobox, make a copy of one from an older form and paste it in the new form, that was the trick, it works like a charm.

Has this been noticed by more people?

Looking forward to hear.

Kind regards
Jan

Discussion

  • neuts-jl

    neuts-jl - 2020-03-30

    The component is the same, you have to act on the style of the property, set it to csSimple, then csDropdown to find a previous situation
    I take this bug into account
    Where is the loadComponentListFromTable function ???

     
  • Jan Huizer

    Jan Huizer - 2020-03-30

    Dear surfvite,

    Thanks for your reply on my question
    I'd make a little test program with your recommandations and that is working.

    The loadComponentListFromTable function is a function in the form, created by the wizard.

    Filling the combobox with the earlier selected data is only working after the procedure csSimple and then csDropdown.

    Regards,
    Jan

     
  • Jan Huizer

    Jan Huizer - 2020-03-30

    I forgot to send a screenshot of the code, please find herewith.

     
  • neuts-jl

    neuts-jl - 2020-03-31

    Hello
    There is only one type of "combobox" component
    Copy / paste does not bring back an old component, because there is none.
    The "ReadOnly" property is now activated by default, you just have to deactivate it and everything should go back to normal.
    I will see to set it by default to false (and why) in the next version.
    Cordially

     
  • neuts-jl

    neuts-jl - 2020-05-01
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB