Oh, that is excellent! Thanks so much. I didn't have any of that information.
So Margaret's parents must be James Gray and Helen Swan as I suspected. It's always fun when a hunch is confirmed ;-) Robert's parents Robert Hendry and Ann King. (in case anyone else is researching that family!)
Before John and Ann, Robert sr. and Margaret Gray had Robert King Hendry, James Gray Hendry, William Hendry (1853-1859), Helen S (Swan?) Hendry.
As always,
ard
PS I have now found Margaret's birth record - On Scotland's People, her mother's surname is transcribed as Levan!