Hello
My question concerns about how to refresh a custom control datagrid when i click a button in the old abl window (.w) in a embedded window?
A temp-table is generated depending on which line i choose from the old abl window and then i would need to update my custom control with the temp-table data.
I propably need to pass a handle somehow to the .net form , but i cant figure out how.
Do you have any ideas ?
I have had lots of help from tutorials & this forum but havent still figured this out.
ps. First post so don´t be too hard on me :)
Hi,
Thank you for your email. I'm currently out of the office. I will return on August 8. During my absence I will have no access or limited access to email. For urgent matters, call me on my mobile and leave a message, call our office, or contact Gary Calcott (gcalcott@progress.com).
Best regards,
Wouter
--
Wouter Dupré
Senior Solutions Consultant
Progress Software NV
A. Stocletlaan 202 B | B-2570 Duffel | Belgium
Office +32 (0) 15 30 77 00 | Mobile +32 (0) 478 50 00 49
Create an event provider class.
Class Static EventProvider
Define Static Event Signature Void RecordSelected(input handle).
Define Static Public OnRecordSelected(input handle)
Publish the event and pass the handle.
End Class.
Inside the embedded window
EventProvider.OnRecordSelected(buffer someTable:Handle).
Inside the Form
Subscribe to RecordSelected event