Paul Cooke
Registered User.
- Local time
- Today, 14:38
- Joined
- Oct 12, 2001
- Messages
- 288
Hi Guys is it possible to change a controls 'Tab Stop' setting through code.
1.cboCode - Tab index 0
2.txtProd - Tab index 1
3.txtQty - Tab index 2
When the form opens a new record controls 1 & 3 are enabled and tab stop is set to yes, control 2 is locked and tabstop is set to No.
If the users enters a cboCode then when they tab across the focus goes to the txtqty control.
However if they do not enter a code and hit tab I want the focus to go to txtProd to be the next control
Is this possible? and I am assuming that as the tab indexes are there enabling this one won't bugger up the order?
many thanks
1.cboCode - Tab index 0
2.txtProd - Tab index 1
3.txtQty - Tab index 2
When the form opens a new record controls 1 & 3 are enabled and tab stop is set to yes, control 2 is locked and tabstop is set to No.
If the users enters a cboCode then when they tab across the focus goes to the txtqty control.
However if they do not enter a code and hit tab I want the focus to go to txtProd to be the next control
Is this possible? and I am assuming that as the tab indexes are there enabling this one won't bugger up the order?
many thanks