RE: [litwindow-users] Re: wxTextCtrl
Status: Alpha
Brought to you by:
hajokirchhoff
From: yrs90 <yr...@ya...> - 2005-05-02 10:17:58
|
> 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. It turns out that SetLabel doesn't have the intended affect in a multiline wxTextCtrl anyway. Even with the correct wxTE_MULTILINE style set, the SetLabel doesn't translate the newlines into linefeed carriage returns. > 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. In a fit of not-very-creative-let's-get-it-to-work, I created a StrValue here locally. Either of your suggestions sounds acceptable, but I think "Text" is a little closer to the actual meaning. So that's my vote. Joel --- [This E-mail scanned for viruses by Declude Virus] |