Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
H E L P !!!! Events aren't fired
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00525910
Message ID:
00525914
Views:
25
If it is my date picker control class you are using (VFPDatePicker) then the problem may be due to sub-classing the MonthView control and using it. ( At least this is what I understand you are doing form your description ). To get the Click and KeyPress functionality in the MonthView control for the VFPDatePicker control, I am sub-classing the MonthView control in the prg MonthView.prg and adding the necessary Click and KeyPress functionality here. It is this sub-classed MonthView control that is programmatically added to the form which "drops down" for the user to pick a date from.

Bill

>Hi all,
>I need help URGENT!
>
>I need to know why in some cases the events of an activeX control isn't fired.
>I have a ListView in a form of a formset (modaless). It works ok. By a command button click, I open a modal form who have a VFPDatePicker control (I download from file section) When I dropdown the control, the DateClick event isn't fired when I click on a date. Neighter KeyPress event.
>
>That isn't all! In this last form, clicking a button, another modal form is open with a ListView control. It is filled OK but... ItemClick, columnclick,etc.. events isn't fired.
>
>If I run this modal forms from the Command Window, its works OK.
>
>This is no the first time I have this problem. With bbListView control, I has the same problem.
>
>All controls are OleContainer subclassing the activeX controls.
>
>Please, Help me as soon as possible
>Thanks very much in advance.
>
>Esteban
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform