As part of any mortgage application form, you will be asked to declare in writing whether or not you've been in arrears on any previous loan, had a court judgement etc.
If you answer this question honestly, a lender will seek full details of the event. Whether or not they choose to lend to you then will depend on the circumstances that caused the arrears in the first place. Given that it was settled six years ago, a lender now might take the view that it's no longer relevant, especially if you can show that all the contributing circumstances no longer apply to you.