Re: NewEra, Listbox, display two columns
Posted in 1995
rnatesan@bactc.com (Ramki Natesan) wrote: >Hi, > Could some one tell me (in NewEra Motif 1.0) how to display > two columns, two fields selected from database table, in Listbox. > >Thanks, >-Ramki. For each entry in the List Box, create an ixString with the first field padded to its maximum length, add one or two spaces (to separate it from the next field), and concatenate the second field. To achieve the two column visual effect, you must use a fixed size font (e.g. Courrier). Note: If the maximum size of the field is very large, you can always truncate it to a reasonable value. Catalin. -- ========================================================================= Catalin Badea _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/_/ _/ Senior Technical Architect _/ _/_/ _/ _/_/_/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ Tecsys Inc. _/ _/_/_/ _/_/_/ _/_/_/ _/ _/_/_/ ===== cat@tecsys.com =========== include system "disclaimer.4gh" ===== ===== Home Page at http://www.virtualmarketplace.com/it/TECSYSE =======