-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EIntOverflow #2
Comments
Do you have steps to reproduce the issue in a consistent way? |
I think that StateIndex and CheckState are not synchronized so I need to initialize StateIndex and CheckState. |
TreeView_SetItemState(TreeView.Handle, Self.ItemId, State, TVIS_STATEIMAGEMASK) returns value > 0 |
wNode.CheckState := csUnchecked; wNode.StateIndex := 0; It seems that StateIndex assignation changes the value of CheckState. |
Hello,
I sometimes get EIntOverflow with
function TTreeNodeHelper.GetCheckState: TCheckState;
because State = 0, so Result = -1
An idea ?
The text was updated successfully, but these errors were encountered: