uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
variable weights

Knowledge Base Lobby : uShop Support Conference : Programmer Tips
Jul-20-18 08:37 AM EST
Original Message
variable weights
Author stef bishop on 04-25-2001 at 04:29 (EST)
I'm thinking of creating a custom applet.
It needs to be like uShopinput4 but for each option I need to be able to define a corresponding weight. i.e a comma separated list of weights in the weight parameter, one for each option.
The problem is how can I figure out which weight value to select from the list?
Can I obtain an index number of the selected option or scan the list for the selected option?

cheers STEF

Table Of Contents
  RE: variable weights Bill Weiner, 2001-04-25 22:43:16 (1)

Messages In This Discussion
         1. RE: variable weights
        Author Bill Weiner on 04-25-2001 at 22:43 (EST)
If you are going to be writing your own custom Java applet... and possibly using a "Choice" drop-down component, then you can use the:


... function to get the index of the option that was select. Perhaps you can then use that index to lookup the weight.

See for more information about the methods available with a Choice AWT Java component.

© 2003 Microburst Technologies, Inc.