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-boun...@leafe.com] On Behalf Of Frank Cazabon Sent: Thursday, July 08, 2021 10:48 AM To: profoxt...@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-boun...@leafe.com] On Behalf Of Richard > Kaye > Sent: Wednesday, July 07, 2021 4:40 PM > To: profoxt...@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-boun...@leafe.com> On Behalf Of Tracy Pearson > Sent: Wednesday, July 7, 2021 3:37 PM > To: profoxt...@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-boun...@leafe.com] On Behalf Of Richard > Kaye > Sent: Wednesday, July 07, 2021 3:17 PM > To: profoxt...@leafe.com > Subject: RE: VFP Label Height changes > > Autosize? IntegralHeight? > > -- > > rk > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/000c01d774c8$68a3b780$39eb2680$@powerchurch.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.