Dtpicker problem

Dtpicker problem

Postby PeterHarmes » Wed Nov 02, 2011 9:33 am

Hi,

I have witnessed a weird Dtpicker problem on some of our customers installations whereby if the user moves the mouse over the next or previous month buttons, the calendar changes month even though they do not click on the mouse button. I think this happens more on Windows 7 machines as I'm having trouble recreating the problem on my XP machine.

Has anyone else experienced this or have any ideas how this could happen?

Best regards,

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Dtpicker problem

Postby Armando » Wed Nov 02, 2011 3:40 pm

Peter:

Just FYI, I Have Windows 7 Home premium (64bits) and no problem at all with dtpicker class.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3218
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Dtpicker problem

Postby PeterHarmes » Mon Nov 21, 2011 3:39 pm

I have done some more tests and can reproduce it on my machine.

If i click on the date field and then click on the arrow to display the calendar, it works fine. If the cursor is on another field and I click straight on the down arrow, the calendar appears but the calendar thinks I have the left mouse button permantely pressed down, so hovering the mouse over the previous month button causes the calendar to continually change months. If i click on the month name of the calendar, the month list does not appear and fixes the continual scrolling. If i click on the month, the month list appears as normal.

I think that the valid of the previously focused field must be confusing the calendar somehow. Is there a way to prevent the calendar from appearing until the validation has finished?

Any ideas anyone?

best regards,

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Dtpicker problem

Postby Antonio Linares » Mon Nov 21, 2011 10:44 pm

Pete,

Are you able to reproduce the problem with FWH\samples\datatime.prg ?

If not, could you please provide a small example to reproduce it ? Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Dtpicker problem

Postby PeterHarmes » Tue Nov 22, 2011 9:56 am

Hi Antonio,

Datetime.prg works fine, so it must be something i'm doing. Any ideas what could cause this to give me some idea where to look?

I have noticed if I remove a call to SysRefresh() (can't remember why I was calling this) from the valid from the original get, the calendar appears and the months no longer scroll when i hover the mouse over the next/previous month button. However, if i click on the next/previous month button the calendar continually scrolls through each month until I click on another part of the calendar!

Thanks for your time

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Dtpicker problem

Postby Antonio Linares » Tue Nov 22, 2011 10:00 am

Pete,

Could you post a screenshot of the dialog where it happens ? thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Dtpicker problem

Postby PeterHarmes » Wed Nov 23, 2011 4:12 pm

Antonio,

If you want to see the problem in action, you can log onto my machine & I can show you - we could use Skype?

Regards,

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Dtpicker problem

Postby Antonio Linares » Wed Nov 23, 2011 4:21 pm

Pete,

Lets use TeamViewer. Please email me your id and password when you are ready, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 101 guests