Removed referenced to QUOTE_SIG_PWD_ENTRY and
replaced with NDW_VERIFY_USER. Added barcode scan function to NDW_VERIFY_USER. fixed two instances of ohms square unit characters being garbled by git minor modification to NDW_VERIFY_USER_EVENTS lost focus events minor change to gotfocus event logic
This commit is contained in:
committed by
Infineon\StieberD
parent
4b26d37a1c
commit
741a8450e3
@ -135,8 +135,22 @@ end event
|
||||
|
||||
Event EDL_USERNAME.GOTFOCUS(PrevFocusID)
|
||||
|
||||
Set_Property(CtrlEntId, 'SELECTION', 1 : @FM : 999)
|
||||
If PrevFocusID NE CtrlEntId then
|
||||
Set_Property(CtrlEntId, 'SELECTION', 1 : @FM : 999)
|
||||
end
|
||||
|
||||
end event
|
||||
|
||||
|
||||
Event EDL_USERNAME.LOSTFOCUS(Flag, FocusID)
|
||||
|
||||
Username = Get_Property(@Window:'.EDL_USERNAME','TEXT')
|
||||
If Username [1,2] EQ '1H' then
|
||||
Username = Username[3, 999]
|
||||
Set_Property(CtrlEntId, 'TEXT', Username)
|
||||
Set_Property(@Window:'.EDL_PASSWORD', 'FOCUS', True$)
|
||||
end
|
||||
|
||||
end event
|
||||
|
||||
|
||||
@ -156,8 +170,22 @@ end event
|
||||
|
||||
Event EDL_PASSWORD.GOTFOCUS(PrevFocusID)
|
||||
|
||||
Set_Property(CtrlEntId, 'SELECTION', 1 : @FM : 999)
|
||||
If PrevFocusID NE CtrlEntId then
|
||||
Set_Property(CtrlEntId, 'SELECTION', 1 : @FM : 999)
|
||||
end
|
||||
|
||||
end event
|
||||
|
||||
|
||||
Event EDL_PASSWORD.LOSTFOCUS(Flag, FocusID)
|
||||
|
||||
Password = Get_Property(@Window:'.EDL_PASSWORD','TEXT')
|
||||
If Password [1,3] EQ 'PWD' then
|
||||
Password = Password[4, 999]
|
||||
Set_Property(CtrlEntId, 'TEXT', Password)
|
||||
Send_Event(@Window : '.PUB_OK', 'CLICK')
|
||||
end
|
||||
|
||||
end event
|
||||
|
||||
|
||||
@ -177,7 +205,7 @@ end event
|
||||
|
||||
|
||||
Event PUB_OK.CLICK()
|
||||
|
||||
|
||||
Set_Property(@Window : '.EDL_USERNAME', 'BACKCOLOR', COLOR_BTNFACE$)
|
||||
Set_Property(@Window : '.EDL_PASSWORD', 'BACKCOLOR', COLOR_BTNFACE$)
|
||||
Set_Property(@Window : '.EDL_USERNAME', 'BACKCOLOR', COLOR_WINDOW$)
|
||||
|
Reference in New Issue
Block a user