Frank,
I originally went down that path. Then I put some code in the INIT of the control on the form. ?PROGRAM(PROGRAM(-1)),"Height:",THIS.Height DODEFAULT()
That was when I decided I needed to figure out a hack to get around the problem. If it is telling me the height of the control at the INIT was 17 instead of 19 that was a problem.
When I changed the Height to be overwritten to 19 in the cNavButton class, the above code correctly showed 19. When I reset Height to default, it again showed 17.
I spent a few hours attempting to reproduce it in a new project. I am not seeing the behavior currently. I'll may get some more time this weekend to continue my efforts.
Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Frank Cazabon Sent: Thursday, July 08, 2021 10:48 AM To: profoxtech@leafe.com Subject: Re: VFP Label Height changes
Tracy,
you able to recreate this with base VFP controls and then maybe add in your controls one by one to see where it's happening?
Maybe there's some resizing code running or bindevents that does something "special"?
Frank.
Frank Cazabon
On 07/07/2021 4:46 pm, Tracy Pearson wrote:
On cLabel and default everywhere used in this scenario. FontName: Segoe UI FontSize: 10
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
Richard
Kaye Sent: Wednesday, July 07, 2021 4:40 PM To: profoxtech@leafe.com Subject: RE: VFP Label Height changes
What is the default height for the font name and size used?
--
rk
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Tracy Pearson Sent: Wednesday, July 7, 2021 3:37 PM To: profoxtech@leafe.com Subject: RE: VFP Label Height changes
Autosize = .F. Alignment is centered The Label class doesn't have IntegralHeight.
Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
Richard
Kaye Sent: Wednesday, July 07, 2021 3:17 PM To: profoxtech@leafe.com Subject: RE: VFP Label Height changes
Autosize? IntegralHeight?
--
rk
[excessive quoting removed by server]