How to replace a caption in vb6 if it is left blank

Hello guys,
I am just a beginner in Visual Basic 6. I would like to ask that if there is a caption in vb6 and in that caption there is a textbox which will be empty but when the user fills it the caption will be replaced.
Please help me with this I will be really grateful.
Thank you all.
