1. win32lib question
- Posted by dmccu at connect.ab.ca Apr 01, 2002
- 673 views
hi everyone, I have a Win32Lib program that uses some editboxes for input, then I go back to the same window to use it for different input from the same boxes, I even clear them with setText(whatever,"")first, but it totally ignores my new input and gives me the original input... what am I doing wrong? thanks, Dan
2. Re: win32lib question
- Posted by petelomax at blueyonder.co.uk Apr 01, 2002
- 634 views
On Mon, 1 Apr 2002 23:58:20 +0000, dmccu at connect.ab.ca wrote: >I have a Win32Lib program that uses some editboxes for input, then I go >back to the same window to use it for different input from the same >boxes, I even clear them with setText(whatever,"")first, but it totally >ignores my new input and gives me the original input... what am I doing >wrong? When you get a problem like this, try cutting it down to the bare essentials & see if it still goes wrong. It can be daunting with a big program, I know, but I've done that many times & always learnt something from it, often not even slightly associated with the immediate problem. (Obviously I mean make a copy of your program then start deleting 100's of lines from the copy, not the original, or, if you think it will be quicker, write a test program from scratch.) If you get it down to say 30 lines of code & it still doesnt work, post that here. (Paste it into the message rather than use attachments). Also, check which version of win32lib you are using; I've been bitten by that before now. Check for different versions in the directory you are editing in and C:/euphoria/include. In any case, it helps for us to know. Pete
3. Re: win32lib question
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Apr 02, 2002
- 616 views
Dan, When you say that it ignores your new input, do you mean the EDITBOX doesn't accept your new input, or the RESULT of putting new stuff in the editbox doesn't get to wherever you want it to go? In other words, when you go back to the window with the editbox, is the editbox cleared as you intended, or does it still have the same text in it? If it's cleared, and you can enter new text into it, then something about how you are getting the text from it and then using it is probably wrong; if it's not cleared, then something about how you're clearing it is wrong (in which case, can you hilight the existing text by holding the mouse button down & dragging it over the first text, then type new text in and have it be accepted?). And, a quick sample demonstrating the problem would help us help you, too. Dan Moyer ----- Original Message ----- From: <dmccu at connect.ab.ca> To: "EUforum" <EUforum at topica.com> Sent: Monday, April 01, 2002 3:58 PM Subject: win32lib question > > hi everyone, > > I have a Win32Lib program that uses some editboxes for input, then I go > back to the same window to use it for different input from the same > boxes, I even clear them with setText(whatever,"")first, but it totally > ignores my new input and gives me the original input... what am I doing > wrong? > > thanks, > Dan > >
4. win32lib question
- Posted by jesse kint <jk2000 at PA.NET> Apr 27, 1999
- 637 views
------=_NextPart_000_0008_01BE90D0.0B16E640 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i'm writng a win32 rpogram usin win32lib ny david cuny and i was = wondering is there any way to make sub menus? ie.. ____________ | | | _____________ | | | | | | | | | |_______| | | | |______________| or something like that. Jesse KInt. Thank you. ------=_NextPart_000_0008_01BE90D0.0B16E640 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>i'm writng a win32 rpogram usin = win32lib ny=20 david cuny and i was wondering is there any way to make sub menus?=20 ie..</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>____________</FONT></DIV> <DIV><FONT color=3D#000000=20 sp; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 sp; =20 _____________</FONT></DIV> <DIV><FONT color=3D#000000=20 sp; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 sp; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 sp; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 bsp; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 p; =20 |</FONT></DIV> <DIV><FONT color=3D#000000=20 p; =20 |______________|</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> or something like = that.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>Jesse KInt.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>Thank = ------=_NextPart_000_0008_01BE90D0.0B16E640--
5. Re: win32lib question
- Posted by Patrick Quist <quistnet at HOTMAIL.COM> Apr 28, 1999
- 634 views
>From: jesse kint <jk2000 at PA.NET> >Subject: win32lib question >Date: Tue, 27 Apr 1999 17:04:42 -0400 > >i'm writng a win32 rpogram usin win32lib ny david cuny and i was wondering is there any way to make sub menus? ie.. > Sub-Menus? Do you mean a menu in a menu ? That can be done by : constant FileMenu = create( Menu, "&File", MenuWin, 0, 0, 0, 0, 0 ), MenuNew = create( MenuItem, "&New", FileMenu, 0,0,0,0,0 ), TXTDOC = create( MenuItem, "&Text-Document",MenuNew,0,0,0,0,0), BMPDOC = create( MenuItem, "&Bitmap",MenuNew,0,0,0,0,0) Bye, PQ QC ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
6. Re: win32lib question
- Posted by Caballero Rojo <ebonvehi at CPSARG.COM> Apr 29, 1999
- 622 views
- Last edited Apr 30, 1999
At 05:32 28/04/1999 PDT, you wrote: >>From: jesse kint <jk2000 at PA.NET> >>Subject: win32lib question >>Date: Tue, 27 Apr 1999 17:04:42 -0400 >> >>i'm writng a win32 rpogram usin win32lib ny david cuny and i was >wondering is there any way to make sub menus? ie.. >> > >Sub-Menus? >Do you mean a menu in a menu ? > >That can be done by : > >constant >FileMenu = create( Menu, "&File", MenuWin, 0, 0, 0, 0, 0 ), > wrong line --> MenuNew = create( MenuItem, "&New", FileMenu, 0,0,0,0,0 ), corrected line --> MenuNew = create( Menu, "&New", FileMenu, 0,0,0,0,0 ), > TXTDOC = create( MenuItem, "&Text-Document",MenuNew,0,0,0,0,0), > BMPDOC = create( MenuItem, "&Bitmap",MenuNew,0,0,0,0,0) > >Bye, >PQ >QC > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >
7. Re: win32lib question
- Posted by jesse kint <jk2000 at PA.NET> Apr 30, 1999
- 736 views
-----Original Message----- From: Caballero Rojo <ebonvehi at CPSARG.COM> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Thursday, April 29, 1999 9:29 PM Subject: Re: win32lib question >At 05:32 28/04/1999 PDT, you wrote: >>>From: jesse kint <jk2000 at PA.NET> >>>Subject: win32lib question >>>Date: Tue, 27 Apr 1999 17:04:42 -0400 >>> >>>i'm writng a win32 rpogram usin win32lib ny david cuny and i was >>wondering is there any way to make sub menus? ie.. >>> >> >>Sub-Menus? >>Do you mean a menu in a menu ? >> >>That can be done by : >> >>constant >>FileMenu = create( Menu, "&File", MenuWin, 0, 0, 0, 0, 0 ), >> wrong line --> MenuNew = create( MenuItem, "&New", FileMenu, 0,0,0,0,0 ), >corrected line --> MenuNew = create( Menu, "&New", FileMenu, 0,0,0,0,0 ), >> TXTDOC = create( MenuItem, "&Text-Document",MenuNew,0,0,0,0,0), >> BMPDOC = create( MenuItem, "&Bitmap",MenuNew,0,0,0,0,0) >> >>Bye, >>PQ >>QC >> >>______________________________________________________ >>Get Your Private, Free Email at http://www.hotmail.com >> > ah i tried that but it gives me this crasy error like"SetMenu in createMenu failed" what in the world does that mena???? David?
8. win32lib question
- Posted by don cole <doncole at pacbell.net> Jul 11, 2005
- 621 views
Hello helpful Euphorians, We are not suopposed to use onXXX anymore. So how do we activate a routine onMAXIMIZE window? Don Cole SF
9. Re: win32lib question
- Posted by cklester <cklester at yahoo.com> Jul 11, 2005
- 601 views
don cole wrote: > > We are not suopposed to use onXXX anymore. > > So how do we activate a routine onMAXIMIZE window? See here: http://www.users.bigpond.com/ddparnell/euphoria/Docs/EVENT.htm#W32HRESIZE -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/