Hi,
I have been trying to find the answer to this for a couple days now. What I have is a textbox (txtTime) that the user will enter a time into. What I want is that the user can only enter in the time. I have tried to use a mask edit textbox and set the mask to ##:##, format to hh:mm, PromptChar to 0. I can still enter in numbes that arent time. eg. 30:76. I cannot find anything in textbox properties to help. I want the user to just be able to enter in a valid time (short time). I am using VB6. thank you
Andrew
I have been trying to find the answer to this for a couple days now. What I have is a textbox (txtTime) that the user will enter a time into. What I want is that the user can only enter in the time. I have tried to use a mask edit textbox and set the mask to ##:##, format to hh:mm, PromptChar to 0. I can still enter in numbes that arent time. eg. 30:76. I cannot find anything in textbox properties to help. I want the user to just be able to enter in a valid time (short time). I am using VB6. thank you
Andrew
Comment