Andre Arpin <ar...@kingston.net> wrote: (31/12/2010 21:07) >note given: text = wx.wxTextCtrl(... >then > >v = text.Value >v = text[Value] >v = text:GetValue() >v = text.GetValue(text) > >are all equivalent >
Which is nice but I'd hoped it cut both ways. :) Sadly, while EV.Id neatly replaces EV:GetId(), you can't do SC.Value=SC.Value.."text" to force text replacement in a SpinCtrl derived directly from its own value, but you CAN do it with SC:SetValue(SC.Value.."text"). I guess I can either use the dot for reading but not writing, or stay with Set and Get for symmetry... Both approaches seem useful to me. ------------------------------------------------------------------------------ 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