>>I have a combo box which allows user to select a printer. The INIT method of the combo box has the following code:
>>
>>
>>this.addproperty("aInstalledPrinters[1,2]","")
>>aPrinters( this.aInstalledPrinters )
>>this.rowsource = "this.aInstalledPrinters"
>>
>>
>>Then, the combo box shows the default printer (local) and the network printer (named "\\TUAH-FTP\ENG01"). But the network printer is shown grayed. Therefore, user cannot select this printer from the combo list. If we type the network printer name in the combo textbox and print to this name, it goes to the default printer (local).
>>
>>I was wondering, why is the network printer name grayed in the combo list?
>>
>>Thank you.
>
>Because \ is used to disable values in combos, that's why :) You would need to post-process this array.
I didn't know that \ does that. Do you mean by "post-process" to strip the leading \?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham