Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7.0 Listbox items
Message
From
17/12/2002 12:36:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/12/2002 10:16:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733622
Message ID:
00733754
Views:
19
>Well, I have tried in a Listbox and a Combobox (VFP 6.0 & VFP 7.0) placing back slashes and the items are not disabled.
>
>Are there any properties to be changed?

No, I was wrong. The disabling in this manner doesn't work with the rowsourcetype=fields or alias. I know it works with type 0, 1 and 5 (none, data, array). Here's sample code I tried (works):
this.RowSourceType= 1
Select * from ..\data\names;
	into cursor temp readwrite
replace cDesc with "\"+cdesc for cGroup="pos"
Scan
	this.AddItem(Alltrim(cDesc))
endscan
Try this with your table, your fields and condition. This code is in listbox.init.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform