BusinessSkinForm 控件问题(100分)

Z

zhczm

Unregistered / Unconfirmed
GUEST, unregistred user!
Form 我做了如下设定:
KeyPreview=True
procedure TForm1.FormKeyPress(Sender: TObject;
var Key: Char);
begin
if Key=#13 then
begin
Key := #0;
Perform(WM_NextDlgCtl,0,0);
end;
end;

delphi 自带的 Edit 便可以通过回车光标移到下一个控件,但是bsSkinEdit却不可以,就是不响应回车键
 
if Key = #13 then
begin
SelectNext(ActiveControl,True,True);
end;
 
FormKeyPress事件可能没有触发吧
 
應該是BS控件的問題
 
接受答案了.
 

Similar threads

I
回复
0
查看
437
import
I
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
顶部