Eduardo Lorenzo Posted December 7, 2006 Posted December 7, 2006 I have created a set of dynamic/on-the-fly controls including labels. my problem is I can't seem to be able to set the label's font size! :mad: I have tried Font.Size, Font.Name = "Verdana, X-Small", casting a string to unit, none worked. Right now i am looking at the logic because i create the controls before the page_init and then set the values on postback. please help me. Quote
Eduardo Lorenzo Posted December 7, 2006 Author Posted December 7, 2006 this did the trick! Dim lbl As New Label Dim sukat As FontUnit lbl.Font.Size = sukat.XSmall this is for all who have tried Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.