Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why combo shows a printer grayed?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Why combo shows a printer grayed?
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01051367
Message ID:
01051367
Views:
61
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.
"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
Next
Reply
Map
View

Click here to load this message in the networking platform