>perhaps I misunderstood the question... I believe the question was to have a unique ID for a particular form not for each control on that form.
>
>If the request is for a unique ID for each control on that form then it would be simple matter to add the object's full name to the string for each control... since a form cannot have two objects of the same name then that might would work. Or simply add a second SYS(2015) to the end of the string for each control.
Yes the question was about having a unique ID for each control and not the form. Forms already have their unique names within an application.
sys(1271) and sys(1272) provide ways for adding object's fullname as I said earlier. I had a similar necessity and for some generic controls (namely grids in my case loading data from different sources on the fly) just having the control's unique identification was not sufficient. I needed extra info about its source and even application version so I ended up with sys(1271),sys(1272),agetfileversion() + 2 checksum values. Resulting uniquename looked like:
< myApplication9_0_3.06049_41891_d:\myPath\forms\myForm.grdSomething >
Cetin