FORM caption height

I've got a small FORM with a long caption. Visual FoxPro insists on truncating the caption so that it ends in "...".

Is there any way in which I can increase the height of the caption bar, in the same way that I can do this in a grid object?
LVL 1
IainMacbAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Olaf DoschkeConnect With a Mentor Software DeveloperCommented:
Winforms is winforms. The OS is setting the title bar height, not VFP.

Bye, Olaf.
0
 
IainMacbAuthor Commented:
Alas.

I'll have to find a tidy way of putting a sub-caption in the VFP space. :-)
0
 
Olaf DoschkeSoftware DeveloperCommented:
Well, you can get rid of the normal form look and design a form as you like, as you can set titlebar off and bordersize to 0, then draw your own, but I'd not recommend that, as you then will need to take care for the different looks on the different OSes and their different modes.

Here's an old how to: http://www.news2news.com/vfp/?example=499&PHPSESSID=e2bd859a6456446d6441a2a29e27e7e0

Instead of just a green titlebar you can also make it higher, but as said, you likely will not look like a citizen of the Windows version.

Also you can draw on any area with gdiplus, there are samples on that in the samples solution.

But the easiest thing of course is to not use the form title for such data, but the form.

Bye, Olaf.
0
 
IainMacbAuthor Commented:
Sorted.

I've added an extra textbox control at the top of the FORM, which contains the longer version of the text that I'd wanted to have in the .CAPTION property. The extra control is read-only.

The result looks much tidier than the previous version.

Many thanks for your suggestions.
0
All Courses

From novice to tech pro — start learning today.