Hi
Since it was not necessary to turn off tabbing for the container I simply turned it on for now. I was just surprised by how it worked. I felt that the tabstop should only affect getting to the container via a keystroke and should not have any effect on controls in the container.
Thanks
Simon
>Sometimes the WHEN event simplifies control access for me.
>
procedure MyTextBoxWhen
>RETURN IsItOkaytoAllowFocus()
>ENDPROC
>The IsItOkay... function could assess your state requirements, and block or allow a "focus" via tab, mouse or enter.
>
>
>>Hi
>>
>>If you set the TabStop property to false for a container then pressing the Tab key inside the container does not move you to the next control in the container. Instead it jumps out of the container to another object.
>>
>>I expected the behaviour to be that I could not tab to the container control but once a control in the container had focus I should be able to tab to the next control in the same container. If I wanted to prevent this behaviour I could set the TabStop property to false for each of the controls in the container.
>>
>>The present implementation appears flawed to me.
>>
>>Simon
Simon White
dCipher Computing