Mike Lewis
Programmer
I feel sure I know the answer to this one, but I can't seem to grasp it.
I want to disable certain items in a listbox. I know I can do that by placing a backslash in front of the item. That has always worked in the past, when I used AddItem to populate the listbox.
But now I want to disable items in a listbox populated directly from a table (RowsSourceType = 6). I thought I could just put the backslash at the front of the field within the table, but it doesn't work.
Is it possible to disable items in a listbox when the RowSourceType is 6? If so, how?
Thanks in advance.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk
I want to disable certain items in a listbox. I know I can do that by placing a backslash in front of the item. That has always worked in the past, when I used AddItem to populate the listbox.
But now I want to disable items in a listbox populated directly from a table (RowsSourceType = 6). I thought I could just put the backslash at the front of the field within the table, but it doesn't work.
Is it possible to disable items in a listbox when the RowSourceType is 6? If so, how?
Thanks in advance.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My Visual FoxPro site: www.ml-consult.co.uk