There weren`t many Dalgleish left at this time.They lost the last of their significant lands around 1640.The Dalgleish family held Dalgleish Tower (Nt 260083 os79 around until
1547 when it was raised to the ground through the Rough Wooing. The land passed to the Scotts of Buccleuch around 1670 ish . there will be records about the family in Edinburgh due to the land. They also had Deuchar Tower NT 360280 OS73 which they lost 1643 , Lempitlaw NT 787327 os74 destroyed by the English in 1547, Linton Tower NT 774262 os74 ,tower lost 1523, destroyed by the Earl of Hertford again in 1547.Wideopen Tower NT 767160 os 80 destroyed in 1547 by the English again and John Dalgleish was slaughtered by Sir jOhn Carey in 1596 .The population in Scotland at that time was small, therefore, one would presume they are all related and educated . Charles second`s solicitor Robert Dalgleish bought and stayed in Laurieston castle outside Edinburgh,around 1660 ish he had two daughters.
Later Lawrence Dalgleish had Pitfirrane Castle , Scotscraig NO 445283 os59 was bought around 1680.Therefore, there is just a short generation jump to your 1790`s. i have been looking at Mary Dalgleish Donaldson`s (Cp of Denmark) geneology as her geneologists manage to take her further and further back . This is in the hope I can find a link and travel further back .