cancel
Showing results for 
Search instead for 
Did you mean: 

Item-form refresh event

kurt_huwiler
Participant
0 Kudos

Hi there

I?m looking for an easy way to find out when the Item form will be refreshed with a different Item.

I worked out a solution trapping the menu keys NextRecord,PreviousRecord and so on. This works but it does not work when the user goes for find functionality like * in the item textbox  to select an item. I tried to catch the Item-Textbox events but this does not lead to a solution.

Does anyone have a tip how I can get easely to be informed by SDK when the item form is refreshed with a different item?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Kurt,

what about catching the Lost_Focus event of ItemCode (edittext)?

You could remember the old ItemCode on the GotFocus event and compare it to the Itemcode you read out when you loose focus.

HTH, Lutz Morrien

kurt_huwiler
Participant
0 Kudos

Hi Lutz

Thank you for your advise. I realised then a solution using the Lost_Focus display of ItemCode-EditText-Control in combination with the Next/Previous/First/Last-MenuKeys.

But anyhow, it would be nice to have a FormEvent telling us when a Form is completely refreshed with new data. Perhaps in 8.0

Regards

Kurt