Trouble to check a toolbar control |
Post Reply |
Author | |
upeters
Groupie Joined: 31 May 2007 Location: Brazil Status: Offline Points: 15 |
Post Options
Thanks(0)
Posted: 08 October 2007 at 1:24pm |
Hello,
I have a search filter, which can be applied on a certain grid on the form. If I have the filter active (and therefore not every available record is shown in the grid), I want to document this somehow to the user, checking the filter button on the toolbar. Clicking the checked button should reset the filter, and display again every record in the grid. Clink the (now unchecked) filter button once more, it should again be possible to define a new filter. It works almost as intended, but tests show me that when I activate the filter dialog with the keyboard shortcut instead of clicking the toolbar button, the "checked" property does not stick, and the button remains as if no filter was applied to the grid. Debugging the CommandBars_Execute event handler, I see that both times (activating the filter with a click or pressing the shortcut), the same line eith Control.Checked = True is executed, but only when using the mouse it actually works. What am I missing? Thank you... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |