I'm looking for a way to wite a routine to unlock/lock the current viewport. Is there a variable or something that I can start with? Any help will be appreciated.. Hanksor