1. IDE setText from Eusql
- Posted by "sixs" <sixs at ida.net> Dec 23, 2003
- 372 views
Hello, I am using IDE , EUSQL files, List , and a routine to get file name from the directory. I get the directory names and place them in a dropdown list. I get the data from EQSQL file and build a line to put in the list. I also take the first line of data in QUSQL and try to put it in editTest boxes using set Text. I also display he line of data in a text box. When the window displays it doesn't display the data in the editboxes that I used with setText. When I click on a line in the list box, it will display the text in the editText boxes. Do I need t do something to display the data hen I open the program? Jvandal
2. Re: IDE setText from Eusql
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Dec 23, 2003
- 347 views
--- sixs <sixs at ida.net> wrote: > Hello, > I am using IDE , EUSQL files, List , and a routine to get file name from > the directory. > I get the directory names and place them in a dropdown list. I get the > data from EQSQL file and build a line to put in the list. I also take > the first line of data in QUSQL and try to put it in editTest boxes > using set Text. I also display he line of data in a text box. When the > window displays it doesn't display the data in the editboxes that I used > with setText. When I click on a line in the list box, it will display > the text in the editText boxes. > Do I need t do something to display the data hen I open the program? > Jvandal I suspect that you have an event handler for onChange or something similar for the list, since it works when you click on the list. This may be clearing the edit boxes. Could you post the relevant code? Matt Lewis __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
3. Re: IDE setText from Eusql
- Posted by "Hayden McKay" <hmck1 at dodo.com.au> Dec 24, 2003
- 366 views
As a guess, do you have a routine to fill the text box(es) with initial default values? you probably do and this comment dont apply to you. You will need to send a snipet of your setText routine and details of how it is initialized. In lamens terms how do you call you setText routine? Ex: if this = that then setText(LText1 etc...) end if if the above example applies to you, use "equal" instead. Ex: if equal(this,that) then setText(LText1 etc...) end if * You may need to add setText calls to the "onActivate" routine in your "main window" (or relivant window) to poulate the text box(es) when your program initialy opens. This is the only help I can offer without seeing your code. ----- Original Message ----- From: "Matt Lewis" <matthewwalkerlewis at yahoo.com> To: <EUforum at topica.com> Sent: Wednesday, December 24, 2003 4:58 AM Subject: Re: IDE setText from Eusql > > > --- sixs <sixs at ida.net> wrote: > > Hello, > > I am using IDE , EUSQL files, List , and a routine to get file name from > > the directory. > > I get the directory names and place them in a dropdown list. I get the > > data from EQSQL file and build a line to put in the list. I also take > > the first line of data in QUSQL and try to put it in editTest boxes > > using set Text. I also display he line of data in a text box. When the > > window displays it doesn't display the data in the editboxes that I used > > with setText. When I click on a line in the list box, it will display > > the text in the editText boxes. > > Do I need t do something to display the data hen I open the program? > > Jvandal > > > I suspect that you have an event handler for onChange or something similar for > the list, since it works when you click on the list. This may be clearing the > edit boxes. Could you post the relevant code? > > Matt Lewis > > > > > > TOPICA - Start your own email discussion group. FREE! > > > -- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.554 / Virus Database: 346 - Release Date: 20/12/03 > --- --