Get ID of item on the popup from a button on the form

I am building a popup for a button on the form, Can anyone tell me how can i get ID on the popup.

Parents Reply Children
No Data