Autosize? IntegralHeight? --
rk -----Original Message----- From: ProfoxTech <profoxtech-boun...@leafe.com> On Behalf Of Tracy Pearson Sent: Wednesday, July 7, 2021 2:07 PM To: profoxt...@leafe.com Subject: VFP Label Height changes Maybe someone can tell me why this happens occasionally. I have a base label (cLabel) in class library A. I have a container (cNavButton) containing cLabel in class library B. I have another container (cNavGroup) that will contain cNavButton also in class library B. There is a form (frm1 (based on cForm in class library A)) that has the cNavGroup and 5 cNavButtons in it. cLabel has a height set to 19. cNavButton.cLabel is default The cNavGroup.cNavButton.cLabel.Height in frm1 all show they are still default (19). Yet I have placed code in the Init event of cLabel to display the Height onto the screen and I get 17. VFP can be so random sometimes. My hack to get around this behavior: in cNavButton, I have placed code in cLabel.Init to see if the height is < 19 and reset the height to default. [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/dm5pr1001mb2140f84e056d4319e05b5359d2...@dm5pr1001mb2140.namprd10.prod.outlook.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.