I did think try catch but I was wondering if there was a proper way of doing it. I went another way in the end. I use an ini file for the properties and make the property = "" to start with. In the assign code I check if its empty to start with and if not do the marks. Seems to work. Try catch is very useful but it also means there may be an error that I think should not be there. Al
-----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Richard Kaye Sent: 07 November 2013 16:03 To: [email protected] Subject: RE: menus Use a public var instead of a class and set it as appropriate in the mpr? Use TRY..CATCH? -- rk _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/00ef01cedbd0$9047fb00$b0d7f100$@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

