Function createFrameProperties