Hi Damian s Thanks for Ur reply >The code Snippets is as follows This is Included in Module ........ DROP-DOWN THE COMBO BOX NAMED CmbSlNo..... Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _ (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Public Const CB_SHOWDROPDOWN = &H14F This code is on Edit Button to Drop-down the List contains Auto....... Call SendMessage(CmbSlNo.hWnd, CB_SHOWDROPDOWN, True, ByVal 0) 'API FUNCTION IS CALLING FOR DROPDOWN THE COMBO BOX NAMED cmbsLNO Now when i click on Edit button the list is drop-down and the cursor is in the combo first list index . But if i click Exit at this instants it Set the combo listindex to 0 on First click Then on next click it Exits the form. But i wanna do the same on single click.Plz help if can.... or any other suggestion? Plz Help its urgent?????? Rizwan
modified on Thursday, August 20, 2009 4:31 AM