Closed Thread
Results 1 to 3 of 3

Thread: Two questions

  1. #1
    2710 is offline Programmer
    Join Date
    Sep 2008
    Posts
    108
    Rep Power
    0

    Two questions

    Q1) I have got a postcode edit box. I want to have a validation so that there is sort of like a real time mask. Like, I want it so that the user enters in LLN NLL

    Where L = Letter and N = Number

    in real time. Ie, not possible to enter Number as the first figure. Although if I cant do real time, I guess I can have a check afterwards which checks for number and letter.

    Q2) How do you make a combobox read only? Ie, you cant type into it, and can only choose from it. There isn't a 'readonly' property.

    Thanks

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Two questions

    You could use the onkeypress event to analyze what the user is trying to type.

    .enabled.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Join Date
    Dec 2009
    Posts
    11
    Rep Power
    0

    Re: Two questions

    You could also use a TMaskEdit.
    Michael Rockett | Inniosoft | Dev:station

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Several C Questions
    By SegmentationFault in forum C and C++
    Replies: 1
    Last Post: 09-18-2011, 05:38 AM
  2. HELP with QUESTIONS!!!!!!!!
    By lionaneesh in forum C and C++
    Replies: 3
    Last Post: 03-23-2010, 09:04 PM
  3. Some questions
    By ahmed in forum Linux/Unix General
    Replies: 2
    Last Post: 11-07-2009, 11:50 AM
  4. Need some help regarding questions
    By ahmed in forum Java Help
    Replies: 2
    Last Post: 11-01-2009, 08:13 AM
  5. Looking for questions
    By TkTech in forum General Programming
    Replies: 7
    Last Post: 10-31-2009, 05:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts