ComboBox Probs???

VB6 , combobox , Dropdown exit Probs India
  • 11 years ago

    Hello EveryBody

    I have used an comboBox in my application and on Edit Cmd i have DropDown list of items for user to select.But now the problem is that When i Click Exit Cmd,the form does not get closed on Single click ,I have to Click CmdExit 2 times to close form.But i wanna close the form on a single click .Kindly help me for the same

    Thanks in advance

    Rizwan

  • 11 years ago

    if you are using vb, you can close form with "Unload me" or "End" in your command button's click event.

  • 11 years ago

    U can use Unload method or else opt for .Close()

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth