Andre Arpin <ar...@kingston.net> wrote:
(30/12/2010 14:36)

>function FeedBack(event)
>   local Id = event.Id
>   ..... old code for feed back
>end
>
>for I=7,151 do
>   CT[I]:Connect(wx.wxEVT_KILL_FOCUS, FeedBack)
>end

I accidentally found an even better way! :) Make a dummy function that does 
nothing, and call that. So long as it does not end with Event:Skip() the 
internal display change (text replaced with lowest preset internal number 
value) does not occur on de-focus, so we don't need to force an update to 
replace the text.

Again, this fails to solve the biggest problem because NO neat fixes like these 
ever work unless a signal is generated to which we can respond, even if the 
internal value does nto change because it's already at limit. I think it should 
ALWAYS be considered an 'update' if some explicit event attempted to cause a 
change in the internal value. This is the reason I am certain that Spinctrl is 
broken, and that this is not user error. This time I hope this filters right 
back up the chain of command to where the buck belongs. Someone up there needs 
to listen to this.


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to