On 3/19/06 1:28 PM, "Jonathon Bevar" <[EMAIL PROTECTED]> wrote:
> Michael,
>
> WOW! Thanks as it did the trick as it gave me a Check Mark that works in the
> listbox.
>
> Ok now I have a question, I want the check mark to only be able to be
> checked as in the Checkbox that is was used to create the check mark for
> that row. Now you can click on the check mark, in the listbox, and it will
> make it hard for some if they mess with it if that option is checked or not
> (normally it will be set only using the checkbox option, the check box in
> the list box is only there for an indicator for the end user). So how do I
> disable the ability to check or not check the checkmark in the listbox?
>
> Thanks
>
> Jonathon
(I think I understand what you'd like to do.)
In the CellClick handler of your ListBox...
if column=0 then
Return true // indicates handled by you
end if
Then you'll just codorifically manipulate the CellCheck property as needed.
Try this in a PushButton's Action handler...(with previous example)
ListBox1.CellCheck(0,0)=not ListBox1.CellCheck(0,0)
Michael
_______________________________________________
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>