请教一个问题?
在单行编辑框sle_username内输入用户名,按回车,焦点移到单行编辑框sle_password上,方法是在sle_username的modified事件脚本中写入:
if keydown(13) then sle_password.setfocus()
再输入密码,再按回车,触发命令按钮cb_ok的clicked事件,方法是在sle_password的modified事件脚本中写入:
if keydown(13) then cb_ok.triggerevent(clicked!)
//cb_ok的clicked事件的脚本如下:
string username
string password
username=trim(sle_username.text)
SELECT CRM_User.Password
INTO :password
FROM CRM_User
WHERE CRM_User.Name=:username
USING SQLCA;
if SQLCA.SQLCode=0 then
if trim(password)=trim(sle_password.text) then
open(w_main)
close(parent)
else
//如果密码不正确的话,会执行到这里。
messagebox("客户关系管理","您的密码错误",Exclamation!,ok!)
sle_password.text=""
sle_password.setfocus()
//点了确定以后,光标在sle_password内,但是输入无效,
//点击该控件也无效,只有先点其它控件,再点它才能输入,请问这是为什么?
end if
else
messagebox("客户关系管理","您的用户名错误",Exclamation!,ok!)
sle_username.text=""
sle_password.text=""
sle_username.setfocus()
end if
//谢谢
相关推荐
华为虚拟交换机软件HW-RouteSim
一款免费的华为虚拟交换软件,对华为交换机感兴趣又没钱买的人很有帮助
软件虚拟交换机
he following document provides an outline of the Napatech NFV NIC with OVS Acceleration solution. Designed specifically for NFV use cases, the Napatech NFV NIC accelerates user-space OVS without the need for hypervisor bypass solutions, such as PCIe Direct Attach or Single Root Input Output Virtualization (SR-IOV), but ensures that OVS continues to operate in user-space with DPDK as the interface to Virtual Network Functions (VNFs). In this manner, the throughput performance of OVS can be accelerated up to 7x compared to standard Intel NIC-based solutions supporting OVS and DPDK, while at the same time enabling full VNF mobility. In addition, full theoretical 40G throughput performance can be achieved using less than 1 CPU core, which is an 8x saving compared to standard NICbased OVS
网络游戏-包括虚拟交换机的通信网络和充当这种虚拟交换机的终端.zip
网络游戏-包括虚拟交换机的通信网络和充当这种虚拟交换机的终端.zip
Cisco Nexus 1000V虚拟交换机产品简介
Cisco NexusTM 1000V虚拟接入交换机是一款智能软件交换机,适用于VMware ESX环境。Cisco Nexus 1000V在VMware ESX管理程序中运行,支持Cisco VN-Link服务器虚拟化技术。Cisco Nexus 1000V是与VMware密切合作的结晶,它与VMware虚拟基础设施完全集成,其中包括VMware Virtual Center、VMware SX和ESXi。您能使用Cisco Nexus 1000V来管理您的VM连接,确信能保持服务器虚拟化基础设施的完整性。
Hyper-v之可扩展虚拟交换机3.pdf
Hyper-v之可扩展虚拟交换机3.pdf


