Re: EuWinGUI
- Posted by jacques deschĂȘnes <desja at globetrotter.net> Nov 06, 2006
- 615 views
hi Serge, here to code you should add to copy form edit08 to edit09 SetText(edit08,GetText(edit09)) add it after: if EventOwner = Button01 then regards, jacques DeschĂȘnes Serge Lavigne wrote: > > Hi > I'm currently exploring EuWinGUI and made a simple GUI using Desiger. The GUI > as 3 controls: Button01,Edit08,Edit09. I want to write say aaa in Edit08 then > click on Button01 to copy aaa in Edit09.The click Button01 par is ok but no > matter what I tried, I cannot manage to copy aaa in Edit08 to Edito9. This is > obviously trivial but still.....I can't do it. The original program generated > by Designer without me toutching it works ok. The part of the code I should > work with I suppose is: > }}} <eucode> > --The event was a left mouse click? > if Event = Click then > --Which control was the event Owner? > > if EventOwner = WinHwnd then > > elsif EventOwner = Button01 then > > elsif EventOwner = Edit08 then > > elsif EventOwner = Edit09 then > > end if > > end if > </eucode> {{{ > > Can anybody help > > TIA > > Serge > > When all you have is a hammer, everything starts to look like a nail.