Fordraiders
asked on
KEY COMBINATION TO INCREMENT ALPHA OR NUMERIC VALUE IN TEXTBOX
VB.NET 2003
I have a textbox "txtLevel"
In the keydown event of my form i need the following:
If a user presses Ctrl+Shift+F7
If the value in txtLevel is numeric ( that is 1-1000) then the number gets raised to the next number
i..e If the value is "3" then its gets raised to "4"
i.e. If the value is "A" then it goes to "B"
If the value is "0" or null...then nothing happens
messagebox.show "No values to increment"
Thanks
fordraiders
I have a textbox "txtLevel"
In the keydown event of my form i need the following:
If a user presses Ctrl+Shift+F7
If the value in txtLevel is numeric ( that is 1-1000) then the number gets raised to the next number
i..e If the value is "3" then its gets raised to "4"
i.e. If the value is "A" then it goes to "B"
If the value is "0" or null...then nothing happens
messagebox.show "No values to increment"
Thanks
fordraiders
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
IDLE MIND, no
Can you expound on the letter half of the problem?
Do you want the LENGTH of the letter to increase as well?
For example, "Y" --> "Z", but would "Z" --> "AA", and "AA" --> "AB"?
Here's another sequence:
AZX
AZY
AZZ
BAA
BAB
BAC
And another:
ZZX
ZZY
ZZZ
AAAA
AAAB
AAAC