Fray check is great for buttonholes. I use it on anything that may ravel. It is good to prevent a pick on a knit garment to keep it from enlarging. End use fray check to stop a run in panty hose.
Be sure to use only a very small amount. I like Dritz brand better. Tried another brand found it to be to thick.