Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox height in vb.net 2005
Message
De
14/08/2006 08:20:38
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
14/08/2006 07:37:46
Atif Saeed Khan
Nextbridge Prvt Ltd.
Lahore, Pakistan
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows Server 2003
Network:
Windows 2003 Server
Divers
Thread ID:
01145247
Message ID:
01145261
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform