Hi Trevor & welcome to the forum.
TR7 headlamps - ah, what a wonderful system. The workings of the lift mechanism is actually quite sophisticated for it's time, & is also prone to problems especially after all these years. Like Garry says, the lift mechanisms are exposed to the weather, so raise the lamps, then pull the battery negative terminal which will extinguish the lights but leave them in the up position. From underneath, apply some spray grease to the exposed parts of the mechanism.
Under the bonnet, behind each headlamp, disconnect the 3 wire plugs & clean the connectors. Some spray cleaner is useful as it is difficult to clean the plug prongs. Also undo & clean the earth connection on each side, bolted to the panel behind the lamps. Use some dielectric grease to protect & then reconnect all this.
In the glovebox take off the fusebox cover. You will see some relays around the edge of the fuseboard. From memory, on a late car the top left & top right relays are the headlamp run/stop relays, one for each side. This is probably what you can hear clicking. Try to clean the connections to these relays (a bit fiddly), & make sure the wiring is securely attached.
Once you have reconnected everything, reattached your battery negative lead. Hopefully your lamps will now work properly! If you are still having problems let us know - in fact let us know either way!
Tony
<font size="1">1981 2L FHC Cavalry Blue - very original & not rusty!
1980 3.5L V8 DHC Regency Red - on the road again.</font id="size1">