[WIN] copy SIMPLE combo box selection into clipboard
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Oct 21, 2000
- 442 views
Whoops, I should have said, (how) can I get an item selected in a SIMPLE combo box copied into the clipboard? The *simple* combo box otherwise works better for me, but because it has a static label at the top instead of an edit box (not noticeably, just functionally), this may be why it doesn't copy from it, but I'd like to if I could. But even if I try to use the *regular* combo box, what gets copied to the clip board is always one selection behind, except for when it first shows the list (in other words, what I clicked on in the list portion *the time before* is what gets copied to the clipboard, not what I clicked on *this* time, except the first time the list shows, in which case the first element gets auto copied, because I setIndex to 1 when the list portion of the combo box was populated). Dan ----- Original Message ----- From: "Dan B Moyer" <DANMOYER at prodigy.net> To: "Euphoria Mail List" <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Saturday, October 21, 2000 8:38 PM Subject: [WIN] copy combo box selection into clipboard > How can I get an item selected in a combo box copied into the clipboard? > > I tried: "onChange_TheCombo", copy(TheCombo), but that didn't work; > then I tried: "onChange_TheCombo", > copy(getItem(TheCombo,getIndex(TheCombo))) but that didn't work either. > > Dan Moyer > >