[litwindow-users] Re: wxTextCtrl
Status: Alpha
Brought to you by:
hajokirchhoff
From: Hajo K. <mai...@ha...> - 2005-05-02 05:59:25
|
yrs90 wrote: >>Use xrcTextCtrl.Label instead of .Value. > > > It works! I thought I looked for another property that accepted wxString. > In fact, I don't see Label defined anywhere except wxControl. I guess it > searches both co-objects, adapter and widget hierarchies. I'm very happy to > get this working. > > Thanks! > Great. Yes, both hierarchies are searched. The lit window text control 'inherits' from the textctrladapter and the textctrl itself. Regarding your other post and 'SetLabel': I will introduce a new property 'Text' or perhaps 'String' and will call SetValue instead. Makes things more 'proper'. Label is indeed misleading. What do you think would be better? Text or String? Value is already taken and accepts an accessor. Double accepts double. So text could accept a text. Suggestions? Hajo |