Problem manipulating MonthView control with Page Up and Page Down keys 
Author Message
 Problem manipulating MonthView control with Page Up and Page Down keys

A Visual Basic 6.0 Professional application I wrote has
two MonthView controls. All behavior properties are the
same for both MonthView controls except for the Tab Index.
Each has MonthColumns=1, MonthRows=1, and
MultiSelect=False.

At runtime, the Page Up and Page Down keys work as they
should so long as either MonthView control's Value
property was changed only in the Form_Load procedure or in
a SelChange event procedure. However, if the first
MonthView control's Value property is changed in a menu
Click event procedure, thereafter the Page Up and Page
Down keys work on that MonthView control as Ctrl+Page Up
and Ctrl+Page Down instead of as Page Up and Page Down
(they scroll the display to the previous or next year
instead of to the previous or next month).

The other MonthView control keyboard interface keys, such
as left arrow and down arrow, continue to work the way
they should.

In the second MonthView control, the Page Up and Page Down
keys work as they should even after its Value property is
changed in a menu Click event procedure.

Do you have an idea what's causing this or how to fix it?



Fri, 12 Nov 2004 22:22:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. HOW IS THE KEYCODE OF TE KEY PAGE UP AND PAGE DOWN

2. Keys (Arrows, Page Up, Page Down, Enter etc.)

3. Access 95: Constant for Page Down Key in Keydown Event

4. Page Up/Down key capture in TextBox

5. Page Down Key in 8.5

6. Need Help w/ Page Down Key

7. Capture/Cancel of Page Up/Page Down in Listview

8. Need Help Manipulating a control on an Embedded Data Access Page

9. MonthView activeX in HTML Page

10. Page size for the background= Page size of the first page of the drawing

11. Page Footer on Page 1 Refers to Page 2

12. Page n of Total pages (or Max Pages function)

 

 
Powered by phpBB® Forum Software