No inbuilt mechanism exists (to my knowledge, I'm still in 5.5 mostly
like yourself).
I have a custom class with a function "rowEnabled(index as integer,
assigns b as boolean)" which modifies a boolean array in the class.
A second Funtion "rowEnabled(n) as boolean" returns the state of the
passed index.
Then in the cellTextPaint event I change the color of the text
(g.forecolor) to grey if rowEnabled(row) is false.
With a little more effort (trapping in mousedown etc.) you can stop
the row from getting focus etc.
Cheers,
Tom
On 02/03/2006, at 7:44 AM, Keith Hutchison wrote:
Any examples of disabling a row within a listbox with either
Rb5.5.5 of
RB2006r1?
Thanks
--
Keith Hutchison
http://balance-infosystems.com http://realopen.org
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
All questions and answers unless otherwise stated are in Relation to
Mac OS X 10.4 and later.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>