Re: [WIN] how make "wPuts" text in mle editable (or setText print multiple line
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Sep 08, 2001
- 447 views
Oops, never mind, I read the "generic.exw" Win32Lib example and saw how easy it was to do; I was trying to set one line after another with multiple sequences, instead of just putting it all into one sequence and setting the text once. sigh. Comes from a poor choice of variable structure, I guess. Dan ----- Original Message ----- From: "Dan Moyer" <DANIELMOYER at prodigy.net> To: "EUforum" <EUforum at topica.com> Subject: [WIN] how make "wPuts" text in mle editable (or setText print multiple lines)? > > I've been trying to make an option for "Templates" (code samples) in my mod > for Judith's IDE, and I ran into a problem trying to select text in a mle > that was *not* user entered, but is put in by program control. > > I read in a file of templates, with categories, put the categories into one > combo, and as a category is selected, it populates another combo with the > names of templates, and when the user selects a template, that puts its code > sample into a mle (multi-line edit control), with the idea that the code > could be looked at there, modified if necessary, and then copied into the > IDE editor. But if I *wPuts* the code into the mle, I can get multiple > lines to show, but I can't then select any/all for copying; and if I use > setText to put the code into the mle, I can select what is put there, but > it always just puts in the *last* line of several lines I send to it. > > Anyone have any suggestions?? > > Dan Moyer > > >