Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox height in vb.net 2005
Message
From
14/08/2006 08:20:38
John Baird
Coatesville, Pennsylvania, United States
 
 
To
14/08/2006 07:37:46
Atif Saeed Khan
Nextbridge Prvt Ltd.
Lahore, Pakistan
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows Server 2003
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01145247
Message ID:
01145261
Views:
31
Atif:

I don't use vb.net; however, in c# you must add a property definition to your class that calls the base functionality. This is wierd behavior but it works:
//in the textbox property list
this.Font = new Font("Arial", 10");

//class to be added.
public override Font()
{
     get { base.Font;}
     set { base.Font = value; }
}
This has to be done for each property you are trying to change during developement




>hi!
>
>im trying to make a custom control of textbox in vb.net 2005. i did make that one. but the prob is that im not able to change the height parameters of this cotrol wen i use to drag this newly created control in new form. so plz let me knw is there any prob or i may b doing the wrong things for this. if u have any answer related to this plz send me that link. will b greatfull for this help.
>
>regards.
>atif saeed khan
Previous
Reply
Map
View

Click here to load this message in the networking platform