Solved

DBGrid column header text disappears

Posted on 2004-04-20
9
203 Views
Last Modified: 2010-04-05
I have developed a Delphi 5 application on Windows 2000. When clicking on the DBGrid column header, the text disappears on another PC also with Windows 2000 on it. Why would this happen on another PC with the same OS? Thanx in advance!
0
Comment
Question by:skynergy
9 Comments
 
LVL 3

Expert Comment

by:MikProg
ID: 10875329
Is text comes back when you release mouse? Have you do manuplation with column headers in your program?
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 25 total points
ID: 10875385
DBGrid has properties:
  .....................................................
  -Font
       Charset        DEFAULT_CHARSET
       Color           clWindowText
       Height          -11
       Name           MS Sans Serif
       Pitch            fpDefault
       Size             8
  .....................................................
  -TitleFont
       Charset        DEFAULT_CHARSET
       Color           clWindowText
       Height          -11
       Name           MS Sans Serif
       Pitch            fpDefault
       Size             8
  .....................................................
Check if they are different, may be on the other PC the TitleFont is missing ????
0
 

Author Comment

by:skynergy
ID: 10875497
Thanx for your speedy response. How would I check on the other PC if the title font is missing?
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 3

Expert Comment

by:MikProg
ID: 10875562
esoftbg: Windows makes standart substitution of missed fonts. If you don't load directly missed font resource no  problem encountered.
0
 

Author Comment

by:skynergy
ID: 10875663
How would I make sure that the font I use will be on the other PC? In Delphi I mean?
0
 
LVL 11

Assisted Solution

by:shaneholmes
shaneholmes earned 25 total points
ID: 10880468
Yuo can get list of all available fonts from the Screen.Fonts, so
you can check if font Screen.Fonts.IndexOf('MyFont') is >= 0
(it returns -1 if font with that name is not installed).

Shane
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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