Hi all,
Here I am again with more questions... hope that, as previously, you guys can shed some light!!
In one of my forms which contain a lot of textbox fields, comboboxes, etc... I have a list box where I populate some existing contact names added previously by the user.
As I want the list box to be editable I created a "Delete" command button which I made invisible and every time the user click on the list box the "delete button" appears.
If the user click on something else (after had clicked first on the contact list box) I want the delete button to disapear again. I managed to do that by using the listbox lostfocus event.
But my problem is, If I am trying to click on the "delete" button after choosing the contact in my list box, the lostfocus of the listbox make the button "disappear first" and don't run the commands of the button.
Any ideas how to get it sorted?
By the way I have also tried using on exit, before update and after update on my list box but none of them worked!!
Cheers
Mane
Here I am again with more questions... hope that, as previously, you guys can shed some light!!
In one of my forms which contain a lot of textbox fields, comboboxes, etc... I have a list box where I populate some existing contact names added previously by the user.
As I want the list box to be editable I created a "Delete" command button which I made invisible and every time the user click on the list box the "delete button" appears.
If the user click on something else (after had clicked first on the contact list box) I want the delete button to disapear again. I managed to do that by using the listbox lostfocus event.
But my problem is, If I am trying to click on the "delete" button after choosing the contact in my list box, the lostfocus of the listbox make the button "disappear first" and don't run the commands of the button.
Any ideas how to get it sorted?
By the way I have also tried using on exit, before update and after update on my list box but none of them worked!!
Cheers
Mane