VB6 reset tab Index Values ​​- What to do with it?

I found that by changing the TabIndex property for several controls in my forms, VB6 resets them to different (not necessarily old) values ​​as soon as my back rotates. It gets pretty annoying.

Does anyone know how to prevent this, or if it cannot be stopped, which method is used to select values ​​(so that I can work with it, and not against it)?

+4
source share
3 answers

Another option for working with TabOrder in VB6 is to use the MZTools add-in . It is free and in addition to the good TabOrder tool for organizing your controls automatically, it has many other very useful utilities.

+3
source

Edited: Include Comment MarkJ

Are you editing them in the correct order? VB6 automatically changes TabIndexfor some controls if you try to set multiple controls in the same index.

, - , , , , 0 1 ( , VB6), .

+5

() , :

(tabindex) :

  1. , .
  2. GoTo tabindex.
  3. (0)
  4. , , , .
  5. (0)
  6. ( , ...)

, tabindex 0 , ak, tabindex 0, 1, , tabindex 1 ( .. ..).).

, , , tabindex 0, tabindex , , +1 , .

( "vb5prgrmr" 25 02 15:20).

+1

Source: https://habr.com/ru/post/1780660/


All Articles