Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tomstra

  1. tomstra

    web.xml changing by itself in JBuilder5 when you test

    We have a web.xml whose <servlet-mapping>s need to be in a certain order (so that *.do) is last. If I copy the correct web.xml to where JBuilder resides, as soon as I start running tomcat to do testing, tomcat (or maybe JBuilder) changes web.xml so that *.do is no longer last. And I even have...
  2. tomstra

    How do you set the value of a Float, aside from using 'new'?

    Thanks for the tip! I'll give it a shot. -Tom
  3. tomstra

    How do you set the value of a Float, aside from using 'new'?

    Dear Bangers, Thank you for your reply. Actually accum is a primitive, so I can't do the myFloat = accum; Consider this: Float myFloat = new Float(textbox.getText()); // get number to be added accum = accum + myFloat.floatValue(); // add to running total // How do...
  4. tomstra

    How do you set the value of a Float, aside from using 'new'?

    This is a very simple question. I know I can set the value of a Float at constructor time. E.g., Float myFloat = new Float(accum); (where accum is a float) but once myFloat has been created, how can I change its value? E.g., suppose the value of accum has changed and now I want to set the...
  5. tomstra

    selecting 1 row of a TDBGrid

    Dear Nebuchednezzar, Thank you for your creative reply. I guess I am hoping that perhaps there is some property of TDBGrid that I have overlooked that will cause it to act the way I want it to act so that I won't have to write any fancy code. I guess I am a bit stunned that the TDBGrid tells...
  6. tomstra

    selecting 1 row of a TDBGrid

    I am presenting a TDBGrid to the user. I want him to select one and only one record. If he does not select a record, I want to put out an error message saying 'select a record'. The DataSource for the TDBGrid is a TQuery. If I use the TDBGrid with the default values, if the user does not...

Part and Inventory Search

Back
Top