PC Review


Reply
Thread Tools Rate Thread

Button Click changes active form

 
 
systemConsultant
Guest
Posts: n/a
 
      11th Jan 2009
I have a Main form which loads a customer management form with listview for
customers, Add, Edit, and Delete buttons. Add & Edit events load the
customer edit form.
On the customer edit form I have a tab Control. One of the tab pages
contains two listviews. One for ALL available items to associate with the
customer and second for those items selected to associate.
For now it simply removes the list item from one listview and adds it to the
other listview.
My problem is when I click the buttons to move listview items back and forth
between the two listviews the code runs as expected - but for each click the
focus gets returned back to the management form instead of staying on the
edit form.
Nowhere in my code have I manually set focus on anything. Why does the
button click change the form focus?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'new record' button not active in Access 2007 form (old 2003 form) =?Utf-8?B?Q2hyaXMgU21pdGg=?= Microsoft Access Forms 2 26th Jun 2007 04:03 AM
Active Control Name via Button.Click Randy Microsoft VB .NET 2 14th Jun 2007 05:34 AM
How to fake a button click for HTTP form button harleyman1974@gmail.com Microsoft ASP .NET 2 21st Nov 2005 06:59 PM
Access 97 Click button in form and view the report of a selected record in sub-form Céline Brien Microsoft Access Form Coding 5 27th May 2004 09:50 PM
Calling a form function from a button click on a user defined control placed on the form Scott Schade Microsoft C# .NET 3 20th Feb 2004 01:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 PM.