>Hilmar,
>Make sure you put the code after InitializeComponent()
>
>public Form1(string paraCaption)
>{
> InitializeComponent();
> this.Text = paraCaption;
>}
>
Thanks.
Sure enough, I had put it before. Your suggestion made it work; it is indifferent whether I use
Text or
this.Text.
Now I also realize the reason - InitializeComponent() will simply overwrite whatever assignments I make.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)