><<snip>>
>
>Disregard my previous message. Never did figure out exactly what was wrong, but I deleted and then readded the class and it works great.
>
>Last problem (i hope), the down/up arrow do not move to the next/previous row in the container.checkbox. Do you have any keypress code or other code, to make the keys in container.check behave like textbox in a grid?
>
>thanks - brenda
You can try trapping the keystroke in the KeyPress event of the CheckBox.
LPARAMETERS nKeyCode, nShiftAltCtrl
do case
case nKeyCode = 5
skip -1
if !bof()
This.Parent.SetFocus()
else
locate
endif
nodefault
case nKeyCode = 24
skip
if !eof()
This.Parent.SetFocus()
else
skip -1
endif
nodefault
case inlist(nKeyCode, 13, 32)
This.Click()
otherwise
DoDefault()
endcase
Mark McCasland
Midlothian, TX USA