Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Enum Evaluation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
graham.reeds Posted - May 22 2007 : 09:23:27 AM
It seems fairly sporadic, but there are a few behaviorial problems with the enum evaluations (VAX 1555).

On a long enum list (of over 200) the enum calculation only shows the value if a set item is visible on screen. The exception is if you are looking at the list and check on the value line by line. Skip a few lines and the enum evaluator loses its place.
enum LotsOfThings {
lot_zero = 0, // the first visible set item
lot_one = 1, // the second (shows 0 + 1)
... // lots more which goes off screen
lot_oneninenine, // the 200th
lot_twozerozero, // the 201st.
};


Sorry it isn't more specific, but I can't really create a simple test for it - just what I am seeing with my source.

Thanks, Graham
4   L A T E S T    R E P L I E S    (Newest First)
graham.reeds Posted - May 29 2007 : 03:42:05 AM
Okay. I can confirm that it works in the VA View (which I guess I should use more often) but in the source it doesn't show the value.

Thanks, Graham Reeds.
feline Posted - May 26 2007 : 2:01:34 PM
I think I am seeing the same effect in VC6. For me the Definition field still works, and shows the correct value. Is this working for you? If so this offers a work around for now.

case=6798
graham.reeds Posted - May 25 2007 : 04:36:48 AM
This is with 250 items in one list and another with nearly 300. I am seeing this with the Tool Tip.

The only items that have codes are the first two (0 and 1). One of the lists has the very last value set to 0x7FFFFFFF (and a warning message that it must always be the last one:-)

Maybe it is an artefact of using VS6?
feline Posted - May 24 2007 : 1:57:05 PM
Are you seeing this with the tooltip or the information in the VA definition field?

In your example you have assigned the value to the first two items, but not to the last two items. How far down the enum is the value assigned?

I have tried a couple of tests here, with a pair of 200 item enums. One has only the first value assigned, and one has all values assigned, and I am not seeing any problems with either of them.

This is with VS2005 and VA 1555

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000