*************************************************************************** *!* Method: ecncbpPrinter *!* Purpose: Populate combo with printers from user's sys *!* Author: bxk 09.27.04 *!* Parameters: *!* Returns: *!* Modifications: *************************************************************************** LOCAL li FOR li = 1 TO APRINTERS(THIS.aContents) * Note below that you are adding a leading space. This * prevents a network printer in Windows NT from appearing * disabled in the combo due the leading "\" THIS.aContents[li, 1] = SPACE(1) + THIS.aContents[li, 1] ENDFOR DODEFAULT() IF LEFT(THIS.DISPLAYVALUE, 1) # SPACE(1) THIS.DISPLAYVALUE = SPACE(1) + THIS.DISPLAYVALUE ENDIF RETURNHTH