by Colin Wisbey » Sun Jun 08, 2008 5:20 am
Enrico,
I'm afraid I can't help. I gave up on valid's with comboboxes about 10 years ago after raising the problem many times. I came up with a fix back then (IIRC it required change to CONTROL and also to DEFAULT method in COMBOBOX.prg) but I can no longer find it and it got broken in a subsequent upgrade anyway. I'm not convinced valid on a combobox (without modifications) has ever completely worked (although I could be wrong).
As an aside, although I can confirm the bug you reported, I suggest you avoid using MSGINFO() to test for a VALID as that can shift the focus to the MSGINFO(). I use something like MSGBEEP() instead.