Disable typing in ListBox

Sort:
You are not authorized to post a reply.
Author
Messages
JasonP
Advanced Member
Posts: 28
Advanced Member
    Any idea how to disable typing in a listbox and force users to pick from the list.  I understand I can data validate later.
    Robert Spurr
    Veteran Member
    Posts: 130
    Veteran Member
      I believe if you set the width to -1 it disables data entry or at least it has worked for me in the past
      JasonP
      Advanced Member
      Posts: 28
      Advanced Member
        Hah, for a minute it worked... After I set the width to -1 and ran it in preview, it moved the dropdown arrow to the far left of the text box and it would not let me type into the textbox area.  Thats what I wanted except the width wasn't aligned with my other dropdowns and I didnt like the dropdown arrow moving to the far left.  So I took another look at the source code to see what else I could change, I didnt change anything, but reran again in preview and this time the dropdown disappeared!

        I went back into source view and updated it back to the regular width and its back to normal.  We are in the process of moving from 9 to 10 and from what Im hearing the listbox has completely changed anyways.

        Thanks though, i just wrote another DME call to validate that the cost centered entered was valid.

        You are not authorized to post a reply.