I want to create an application which at run time can change font and this changed font must apply to all the controls in the form
I need help with fonts in vb6
Collapse
X
-
Tags: None
-
he main problem with this is that if i change the fontsize also the caption will either be too large to fit on the control or it will be too small i want the things not to get haphazard the form and controls on them should also resize accordinglyComment
-
Im not sure about that. When you change the fonts, you'd also have to have some code that would alter the width and height of all the items, which i have no idea to lol unfortuneatly, not every object has the auto-resize feature, but that be risky on the form layout.
sorry i cant help any moreComment
-
Hi Shalabh Anand
if do u want to change the caption & font size of any Label Control then set the Autosize=true it is a Label Control property.
if u want to getting the all true font in run time then try this codeComment
-
Originally posted by Hemant PathakHi Shalabh Anand
if do u want to change the caption & font size of any Label Control then set the Autosize=true it is a Label Control property.
if u want to getting the all true font in run time then try this codeComment
Comment