Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the textbox one on top of another textbox?
Message
De
18/01/2011 04:00:20
 
 
À
17/01/2011 23:39:26
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Divers
Thread ID:
01496396
Message ID:
01496401
Vues:
40
>HI, all...
> Because i use the drop and pop method to do a DataBindings.... But i want to some of field do not
>display to interface , if i set the textbox to visable = false ,then the field can't insert to database...
>So i want use the datagridview one on top of another textbox, then the datagridview will over the textbox
>area (like disappear), but i can 't do it ...How can i do?

In the designer Rightclick on the Textbox you want to hide. choose 'Send to Back' (or choose the Datagrid and select 'Bring to Front')
Alternatively you can edit the *.designer.vb file and make sure the Me.Controls.Add() for the Textbox occurs bedore that for the Datagridview (Stacking order is determined by the order in which items are added to their container - first on top, last at bottom)

But if you don't need this field in the interface then why not just access it directly. There may be better ways but something like MyBindingSource.Current.Item("FieldName") should work.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform