Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Event Handlers coloring error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2318 Posts

Posted - Apr 24 2020 :  05:33:14 AM  Show Profile  Reply with Quote
From what I understand, this list is from VS and not VA, right?



Still, it shows the same coloring problem as in the image in https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=16890 might be related since the event handlers are the same (wrong) color both in VS and VA.

feline
Whole Tomato Software

United Kingdom
18725 Posts

Posted - Apr 24 2020 :  11:20:33 AM  Show Profile  Reply with Quote
Event handlers are linked to Delegates? If so, then I recognise the problem with the colouring of the delegate items in the listbox, but so far I cannot reproduce this colouring bug on a member listbox when the delegate functions are being listed.

If you disable:

VA Options -> Coloring and Attributes -> Apply coloring to -> Listboxes

does the colouring problem in the listbox disappear? I suspect it does. But that doesn't explain why so far I am not reproducing it here.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2318 Posts

Posted - Apr 24 2020 :  12:09:44 PM  Show Profile  Reply with Quote
Yes, the problem disappears. All in nice white bold letters. Although the tooltip continues with the same names in black (unless coloring tooltips turned off in the options).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18725 Posts

Posted - Apr 24 2020 :  12:42:07 PM  Show Profile  Reply with Quote
This makes some sense then. Bold will be due to:

VA Options -> Enhanced Listboxes -> Bold non-inherited members

and the black colour looks related to case=141209, but so far I have not been able to reproduce this in a member listbox here.

Are these black entries marked with the "delegate" keyword, the "event" keyword, or something else? I am assuming they have something in common.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2318 Posts

Posted - Apr 24 2020 :  12:46:17 PM  Show Profile  Reply with Quote


(coloring is back on now)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18725 Posts

Posted - May 01 2020 :  09:49:10 AM  Show Profile  Reply with Quote
Back to this, I can reproduce this effect in your Q7 solution, and from this I have extracted a simple test case to trigger the black entries in a listbox when VA listbox colouring is enabled:

case=141209

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000