text box issues

Discussion in 'Questions (Windows Mobile)' started by gjoisa, May 11, 2008.

  1. gjoisa

    gjoisa Active Member Licensed User

    Hi,
    how to restrict the textbox input value to numeric and input string length ? :sign0085:
     
  2. Cableguy

    Cableguy Expert Licensed User

    Simpler way is to check if the string is made only of numbers, and to check the lenght of the entered string...
    But that is only done on the text changed event...
    To restrick the input itself, I guess some workaround is possible, but a custom DLL would be more eficient...
     
  3. gjoisa

    gjoisa Active Member Licensed User

    it can not solve my problem . Previously i had devoloped a program for palm . There is such facility , we can restrict the input to numeric and string length .
     
  4. Cableguy

    Cableguy Expert Licensed User

    I will try to make a simple dll... Any more desires, text box wise?

    Forgot to ask, are targeting the device, the desktop, or both?
     
  5. Rioven

    Rioven Active Member Licensed User

    Hi gjoisa, as cableguy mentioned solutions, we have already discussed this here.http://www.basic4ppc.com/forum/questions-help-needed/125-textbox-input-filter-2.html
     
  6. gjoisa

    gjoisa Active Member Licensed User

    i am targetting only device .
     
  7. specci48

    specci48 Well-Known Member Licensed User

  8. Cableguy

    Cableguy Expert Licensed User

    I was almost sure that the wheel had already been invented....But still I was going for it...
    Now I see there's no need...

    Have fun gjoisa
     
  9. specci48

    specci48 Well-Known Member Licensed User

    ... sometimes it may be good to have an alternative ... ;)
     
  10. gjoisa

    gjoisa Active Member Licensed User

    Thank you Specci48 and CableGuy . Very good solution . It solved my problem . Thank you again for your timely response .:sign0098:
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice