Solved

FORM caption height

Posted on 2015-01-10
4
180 Views
Last Modified: 2015-01-11
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?
0
Comment
Question by:IainMacb
  • 2
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
Olaf Doschke earned 500 total points
Comment Utility
Winforms is winforms. The OS is setting the title bar height, not VFP.

Bye, Olaf.
0
 
LVL 1

Author Closing Comment

by:IainMacb
Comment Utility
Alas.

I'll have to find a tidy way of putting a sub-caption in the VFP space. :-)
0
 
LVL 29

Expert Comment

by:Olaf Doschke
Comment Utility
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
 
LVL 1

Author Comment

by:IainMacb
Comment Utility
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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Pretext and Context In previous  (http://www.experts-exchange.com/Programming/Theory/Software-Design/A_4457-System-Data-Modeling-Series-Identity-Management-System-Basic-System.html)article, I designed the data model of a basic Identity Management…
Before You Read The Article Please make sure you understand these two concepts: Variable Scope (http://www.php.net/manual/en/language.variables.scope.php) and Property Visibility (http://www.php.net/manual/en/language.oop5.visibility.php).  And to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now