EagleTempest
Technical User
VB6
If have a masked edit box with
and I save the .cliptext value such as "3065860336" to a DB.
If I wish to retrieve this value and load it back into my masked edit box such as
I get an error unless I set
To get this all to work I then save the .text value and not the .cliptext value which saves the input as "(306) 586-0336". This is fine but any blank phone numbers are now saved as "(___) ___-____"
What is .cliptext used for if it's value can not just be plugged back into a masked edit box? (A little long winded sorry)
If have a masked edit box with
Code:
mtxPhoneNum.mask="(###) ###-####"
If I wish to retrieve this value and load it back into my masked edit box such as
Code:
mtxPhoneNum.text="3065860336"
Code:
mtxPhoneNum.mask=""
To get this all to work I then save the .text value and not the .cliptext value which saves the input as "(306) 586-0336". This is fine but any blank phone numbers are now saved as "(___) ___-____"
What is .cliptext used for if it's value can not just be plugged back into a masked edit box? (A little long winded sorry)