PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01/31/2014 1:21 PM by  JasonP
Disable typing in ListBox
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
JasonP
Programmer Analyst
PennState Hershey Medical Center
Advanced Member
(59 points)
Advanced Member
Posts:27


Send Message:

--
01/30/2014 1:59 PM
    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
    Private
    Private
    Veteran Member
    (344 points)
    Veteran Member
    Posts:130


    Send Message:

    --
    01/31/2014 11:30 AM
    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
    Programmer Analyst
    PennState Hershey Medical Center
    Advanced Member
    (59 points)
    Advanced Member
    Posts:27


    Send Message:

    --
    01/31/2014 1:21 PM
    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.