Skip to Content

Item-form refresh event

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Feb 09, 2004 at 07:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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