|
-
Feb 7th, 2001, 01:53 PM
#1
hi, I need to copy a text from one MaskEdit control to another MaskEdit control
I could do it by:
MaskedEdit1.Mask = ""
MaskedEdit1.Text = MaskedEdit2.Text
However, when I set the Mask property to 999999 by:
MaskedEdit1.Mask = "999999"
then value dispear, if I don't set it, it is no longer
a maskedit box, so how could I do it?
-
Feb 7th, 2001, 05:48 PM
#2
That is because Maskedit2.text is a string
and the mask "9999" resets the string value to null
-
Feb 7th, 2001, 11:08 PM
#3
um... even if I write like this
mskDeposit.Mask = ""
mskDeposit.Text = 9999
mskDeposit.Mask = "999999#"
the result still be empty, i.e. I can't copy data from one MaskEdit to another
MaskEdit with the same Mask values set??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|