Have a look to:
http://www.pathcom.com/~horiatu/TNumEdit.pdf


________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
soonhuat ong
Sent: Monday, June 13, 2005 2:17 AM
To: [email protected]
Subject: [delphi-en] 2 decimal points , time textedit problem :(


This is probably as easy as ABC, but these 2 questions here kinda beat me .. 

1) I have a TDBEdit component (bind it to certain field with float data types).
   What should i do in order to make that TDBEdit component always display 
2       decimal points value (No matter the value is extract from the database, 
or it is user's entry). 


2) I have a Ttextedit component on my form to display the time
. 
   SO i need to check the validation of the time before i post it. What should 
i    do?
   For example: 10:45 - true
                       10:61 - false (61 minutes are not allowed - only up to 
59)

   One more thing is, instead of key in the "colon" manually, how to make  the 
colon appearautomatically ? 


  For example: to key in the value 10:45, what i want is the user need only to  
type in :

- "1" then "0" then "4" then "5" on the textedit, instead of  "1" then    "0" 
then ":" then "4" then "5"



Thanks.
  

                  





-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to