M mbobo Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-21 #1 我想在STRINGGRID用回车来右移光标 该怎么做。。。。THANK
A aerobull Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-21 #2 来一段呦: procedure TForm1.StringGrid1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key=vk_Return then PostMessage(StringGrid1.Handle, WM_KEYDOWN, VK_Right , 0); end;
来一段呦: procedure TForm1.StringGrid1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key=vk_Return then PostMessage(StringGrid1.Handle, WM_KEYDOWN, VK_Right , 0); end;