emaduddeen
Programmer
Hi Everyone,
In the "Global Properties" of my app in the "App Settings" tab "Use ENTER key intead of TAB" is selected, but when the user presses the ENTER key on a browse that has EIP enabled this setting is ignored. I even place an ALIAS statement in the "TakeAccepted" and "open window" embed in one of the entry controls of the embed to force the ENTER key to be mapped as a TAB key.
None of this workes. Can you tell me what else I need to do to get this to work?
Here is the code I used in the embed.
Thanks.
Emad
In the "Global Properties" of my app in the "App Settings" tab "Use ENTER key intead of TAB" is selected, but when the user presses the ENTER key on a browse that has EIP enabled this setting is ignored. I even place an ALIAS statement in the "TakeAccepted" and "open window" embed in one of the entry controls of the embed to force the ENTER key to be mapped as a TAB key.
None of this workes. Can you tell me what else I need to do to get this to work?
Here is the code I used in the embed.
Code:
! Calculate discount if sell price is < 0.
!-----------------------------------------
Update() ! Ensure browse fields are refreshed.
If Queue:Browse.TranDet:SellPrice < 0 |
Then
Queue:Browse.TranDet:DiscountAmount = ((Queue:Browse.TranDet:RegularPrice * Queue:Browse.TranDet:SellPrice) / 100)
Queue:Browse.TranDet:SellPrice = Queue:Browse.TranDet:RegularPrice + Queue:Browse.TranDet:DiscountAmount
Queue:Browse.TranDet:DiscountAmount = (Queue:Browse.TranDet:RegularPrice - Queue:Browse.TranDet:SellPrice)
End
!message(keycode())
Update() ! Ensure browse fields are refreshed.
Alias (EnterKey, TabKey)
Thanks.
Emad