Change te picture of a get according the contents
Posted: Sun Apr 23, 2006 10:20 am
Hello,
A Belgium bank nr always have the same picture.
999-9999999-99
Sometimes the client is from another country and has a bank nr with another picture.
How can I change the picture of the field when the window is running.
The idea is to start all nrs with "BE"
So the picture will be :
"!!-999-9999999-99"
where the first 2 characters will be by default "BE"
When the get got focus the position of the cursor should be 4.
When the content of the first 2 characters is "BE" the picture should have to be "!!-999-9999999-99"
Otherwise the picture should be "!!-xxxxxxxxxxxxxxx"
Does anybody have an idea how to fix this.
Thanks
Willy Hermans.
Thanks,
Willy
A Belgium bank nr always have the same picture.
999-9999999-99
Sometimes the client is from another country and has a bank nr with another picture.
How can I change the picture of the field when the window is running.
The idea is to start all nrs with "BE"
So the picture will be :
"!!-999-9999999-99"
where the first 2 characters will be by default "BE"
When the get got focus the position of the cursor should be 4.
When the content of the first 2 characters is "BE" the picture should have to be "!!-999-9999999-99"
Otherwise the picture should be "!!-xxxxxxxxxxxxxxx"
Does anybody have an idea how to fix this.
Thanks
Willy Hermans.
Thanks,
Willy