|
-
Jan 30th, 2011, 07:36 AM
#1
Thread Starter
New Member
Oracle like behavior in VB.net?
Is it possible to recreate the behavior of Oracle forms which is that when a user is in a field and upon the use of a key combination (such as CTRL-L) a "list of value" is presented to the user and the value chosen from that popup window is copied to the field / fields which contain the cursor? (I mean are there any facilities which simplify the above process in Visual Studio?)
-
Jan 30th, 2011, 07:48 AM
#2
Re: Oracle like behavior in VB.net?
The TextBox and ComboBox controls both have auto-complete functionality. Check out the documentation for each and concentrate on those properties whose names start with AutoComplete.
-
Jan 31st, 2011, 02:33 AM
#3
Thread Starter
New Member
Re: Oracle like behavior in VB.net?
Thank you for the reply. Let me clarify: What I need is this behavior (the list of value) to be available in a control such datagridview where the user will choose a value from among values from a lookup table when the cursor is in a field in the datagrid. Is it possible make a field in the datagrid behave like a combobox?
(By the way: the object is to implement a master / detail form with functionality similar to Oracle forms).
-
Jan 31st, 2011, 02:37 AM
#4
Re: Oracle like behavior in VB.net?
That would be the DataGridViewComboBoxColumn, which is one of the standard options available to you when you add a column to a DataGridView. You may like to follow the CodeBank link in my signature and check out my thread on the subject for step by step instructions on making it work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|