G
Guest
Hi I've been using the Stephen Lebans' MonthCalendar (A2k version) code for some time (since last fall) And I just installed the newest verion. I created a new form and added the code and for some reason, something doesn't work. When I run the code (i've got it on double click event on a text box), the form stops responding (inactivated) but the calendar doesn't pop up. When I hit ctrl-break to invoke the debugger, it shows it to be stopped in the following loop:
' Enter message loop
'(all window messages are handles in WindowProc())
Do While 0 <> GetMessage(message, 0&, 0&, 0&)
TranslateMessage message
DispatchMessage message
Loop
I have an example of this but I can't get my web server up to host it. I can email the file on request
It has 2 tables, 2 forms and the monthcalendar modules. Each form has a textbox with the monthcalendar code on the dblclick event. It really puzzles me. The code is identical on both forms. Any help would be appreciate
Thanks
' Enter message loop
'(all window messages are handles in WindowProc())
Do While 0 <> GetMessage(message, 0&, 0&, 0&)
TranslateMessage message
DispatchMessage message
Loop
I have an example of this but I can't get my web server up to host it. I can email the file on request
It has 2 tables, 2 forms and the monthcalendar modules. Each form has a textbox with the monthcalendar code on the dblclick event. It really puzzles me. The code is identical on both forms. Any help would be appreciate
Thanks