Dears,

It seems that it is 3.1.0 version issue. Today I tried with latest 3.1.1b 
and now it works like it should.

So, in Wt 3.1.0 standardItem->setChecked(false); in WTreeWiew control does 
not work.

Best regards,
Marin.


"OvermindDL1" <[email protected]> wrote in 
message news:[email protected]...
> On Fri, Mar 5, 2010 at 8:15 AM, Marin Lukovic 
> <[email protected]> wrote:
>> Dear Pieter,
>>
>> Thank you for prompot answer.
>>
>> Right now I'm using version 3.1.0 I will try with latest version 3.1.1 
>> after
>> weekend. but trouble seems at basic level so I'm not sure wt version 
>> makes
>> problem.
>>
>> Best regards,
>> Marin.
>>
>>
>>
>>
>>
>> "Pieter Libin" <[email protected]> wrote in message
>> news:[email protected]...
>> Dear Marin,
>>
>> I tried to reproduce this issue in the treeview example,
>> but was not able to do so.
>>
>> Could you provide us with an example and the Wt version which triggers 
>> this
>> problem?
>>
>> Kind regards,
>>
>> Pieter
>>
>>
>> On 5 March 2010 12:11, Marin Lukovic
>> <[email protected]> wrote:
>>
>>
>> Hello,
>>
>>
>>
>> I'm using WTreeView widget with WStandardItem.
>>
>>
>>
>> Here is problem description:
>>
>>
>>
>> standardItem->setChecked(true); works fine, but when I try
>>
>>
>>
>> standardItem->setChecked(false); (in the same line of code), it won't
>> uncheck checkbox from WstandardItem object.
>>
>>
>>
>> Moreover, in the next line of code I tested ->isChecked() and it returns
>> true even in the previous line was stated ->setChecked(false). Please 
>> help.
>
> Have you debugged into the setChecked(false) call and see what it does
> at runtime?
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev 




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to