Hi, I'm having a really wierd problem wiht my GroupBox captions.
If I have code such as the following:
Nothing after the variable shows in the caption, it's just cut off (this also happens using + between each part instead of using the concat function, so it's not a problem with that function).
If I do the following:
It all works as expected. So my question, what's going on? I'm completely confused here as to why it fails.
If I have code such as the following:
Code:
aPhrase := 'Second half';
grpWhatever.caption := Concat('Something - ' , aPhrase , ' ...');
Nothing after the variable shows in the caption, it's just cut off (this also happens using + between each part instead of using the concat function, so it's not a problem with that function).
If I do the following:
Code:
grpWhatever.caption := Concat('Something - ' , 'Second half' , ' ...');
It all works as expected. So my question, what's going on? I'm completely confused here as to why it fails.