On Fri, 7 Nov 2003 15:09:36 +0100 (CET) Robert Vazan <[EMAIL PROTECTED]> wrote:
RV> On Fri, 7 Nov 2003 12:49:05 +0100 (Romance Standard Time) Vadim Zeitlin RV> <[EMAIL PROTECTED]> wrote: RV> RV> > When you have a template depending on the header value you can't expand it RV> > before the user enters values for those, but you have expand it before he RV> > modifies the main text, so we evaluate the template only when the editor RV> > gets focus. RV> RV> What is it useful for? If it isn't just consequence of too general template RV> syntax. I thought it could be useful to reuse the subject or recipients in the template text (or even just the date). I admit that I've never really done it myself (except for testing) but I still think this could be useful, don't you? RV> > This is not the best way but I couldn't (and still can't) think RV> > of any other one to do it. RV> RV> Just put a button somewhere, but only if such template is used. It gives RV> user control over the process. An extra button would IMHO be ugly and I also think user would forget to use it. Not allowing header fields in templates for new messages would be better then. RV> > On Fri, 7 Nov 2003 12:38:19 +0100 (CET) Robert Vazan <[EMAIL PROTECTED]> wrote: RV> > RV> > RV> wxTextCtrl doesn't RV> > RV> support it and we probably have to find other way to do it. RV> > RV> > What exactly doesn't wxTextCtrl support? RV> RV> EVT_TEXT comes *after* the control is modified. It then returns true from RV> IsModified, which triggers the assert. Minimal editor currently traps RV> EVT_KEY_DOWN that comes before modifying control, but it doesn't always RV> correspond to perceived operation of changing text. Sorry, I still don't see the problem. What is the exact scenario? I thought the problem was with OnFirstTimeFocus() being called too late, isn't it so? Thanks, VZ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
