Results 1 to 4 of 4

Thread: Oracle like behavior in VB.net?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    5

    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?)

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    5

    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).

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width