Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the textbox one on top of another textbox?
Message
From
18/01/2011 04:00:20
 
 
To
17/01/2011 23:39:26
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Miscellaneous
Thread ID:
01496396
Message ID:
01496401
Views:
39
>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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform