procedure TZ_hjgl.MiClick(Sender: TObject);
var SL: TStringList;
micap,Filstr,OrderStr: string;
i,j,iValue:Integer;
gb:TdxNavBarGroup;
gi:TdxNavBarItem;
lk:TdxNavBarItemLink;
begin
SL := TStringList.Create;
with (Sender as TMenuItem)do
begin
micap := caption;
Filstr := hint;
if pos('|',hint) > 0 then
begin
Filstr := copy(hint,1,pos('|',hint)-1);
OrderStr := trim(copy(hint,pos('|',hint)+1,50));
end;
SL.CommaText := Filstr;
Curr_WindowsCap :=micap;
Case SL.Count of
1:begin
end else
if UpperCase(Hint) = 'PASSWORD' then
begin
//修改密码
ShowForm(TF_PW,@F_PW);
end else
if COMPARETEXT(Hint,uppercase('Trade'))=0 then
begin
FreeComps;
FPubCom := CreateXTForm(TFrmTrade,FrmTrade,Z_hjgl,PnForm);
end else
if COMPARETEXT(Hint,uppercase('TradeRecord'))=0 then
begin
FreeComps;
FPubCom := CreateXTForm(TFrmTradeRecord,FrmTradeRecord,Z_hjgl,PnForm);
end;
end;
end;
end;
caption := cap+micap;
SL.Free;
end;