Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: lost focus problem

$
0
0
Re: lost focus problem
FoxInCloud
Re: lost focus problem
Dec. 21, 2012
01:48 am
3O803VO3LShow this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Tuvia Vinitsky
hi Tuvia,

can you post some more information? e.g.
- event sent when cmd.blur() executes
- VFP debugger screenshot when erro occurs


I have a converted app with a problem and I cannot seem to trace the source.

Whenever a command button loses focus, the form.losefocusinet ends up running. This crashes, as lostfocusinet assumes that the oject being passed in is a text object or an object with a .Value property. Since command buttons do not have a .Value, hence the crash on tomember,value being set.

I hate to just change the lostfocusinet code to exclude the commandbutton base class, because this is an issue I should know what is going on.

The button and its class have no code in lostfocus.

Ideas?


Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)


Viewing all articles
Browse latest Browse all 10393

Trending Articles