Author |
Message |
Topic: Thank you and goodbye - Infralution to cease trading |
jmaeding
Replies: 2
Views: 37170
|
Forum: Virtual Tree Support Posted: Tue Jun 01, 2021 7:29 pm Subject: How to get latest source if previously bought ver 4.... |
Hi There, so sad to see things stopping.
I bought the ver 4 source, but was a while back.
I think latest is 4.8, but I have 4.6 I think.
I have my previous purchase info, but did not see a link for ... |
Topic: Disable datasource load in designer? |
jmaeding
Replies: 1
Views: 14338
|
Forum: Virtual Tree Support Posted: Tue Feb 27, 2018 2:41 am Subject: Disable datasource load in designer? |
I have a case where the control is causing problems because the datasource object references assemblies not available at design time. This involves autocad and you always tell it to NOT copy local for ... |
Topic: Getting unregistered message in some situations |
jmaeding
Replies: 2
Views: 18493
|
Forum: Virtual Tree Support Posted: Tue Apr 28, 2015 1:09 am Subject: Getting unregistered message in some situations |
I managed to get things working. I had forgot to check the FAQ for addiotnal info and noticed it mentioned where the license is stored - appdata for all users.
So renamed the license folder, deleted ... |
Topic: Getting unregistered message in some situations |
jmaeding
Replies: 2
Views: 18493
|
Forum: Virtual Tree Support Posted: Mon Apr 27, 2015 3:37 pm Subject: Getting unregistered message in some situations |
I have a tool I make for AutoCad, and for Bricscad, and am testing it on a machine that has no programming stuff installed, like a typical user here.
When I run the tool in acad, the dialog shows wit ... |
Topic: last event after an edit |
jmaeding
Replies: 2
Views: 18449
|
Forum: Virtual Tree Support Posted: Thu Apr 02, 2015 11:52 pm Subject: last event after an edit |
it looks like one way is to use the GetCellData method.
It will run once when filling in a cell, and once also after an edit.
If I set a flag like "EditPerformed", and switch it to true in ... |
Topic: last event after an edit |
jmaeding
Replies: 2
Views: 18449
|
Forum: Virtual Tree Support Posted: Thu Apr 02, 2015 9:55 pm Subject: last event after an edit |
I am using programmatic binding and a generic list of objects, and the last method that runs when a cell is edited is SetValueForCell.
If you have that return false it cancels the edit, otherwise you ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Wed Feb 11, 2015 6:34 pm Subject: textbox validation |
I emailed in test project showing the behavior.
Its like the editor gets left in limbo after an abandonedit. |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Wed Feb 11, 2015 5:39 pm Subject: textbox validation |
I thought it was firing twice due to EditorValueChanged so I overrode in cellwidget:
protected override void OnEditorValueChanged(object sender, EventArgs e) {
//do nothing
} ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Wed Feb 11, 2015 4:46 pm Subject: textbox validation |
ok, that is exactly what I was doing in the validating code.
I set a breakpoint to see what else was happening and realized the SetControlValue code I have was firing immidiately after the abandonedi ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Wed Feb 11, 2015 12:21 am Subject: textbox validation |
that works, but that e.cancel leaves you in the edit mode still.
I tried using the curWidget.AbandonEdit() method in the validating method, but that does not prevent the value from being sent to the ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Tue Feb 10, 2015 7:12 pm Subject: textbox validation |
I did some tests showing the GetControlValue is definately not the place to take the value from the textbox and "take over" assigning it to the bound object.
It is only a chance to modify t ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Tue Feb 10, 2015 5:42 pm Subject: textbox validation |
I decided to try the txtEditor_GetControlValue method and it seems to let me do what I want, but I read its not intended for validation.
Why not though? I can cancel an edit by telling it to do nothi ... |
Topic: textbox validation |
jmaeding
Replies: 8
Views: 31580
|
Forum: Virtual Tree Support Posted: Tue Feb 10, 2015 4:35 pm Subject: textbox validation |
I have read many posts on this, and it seems there are three elements involved in handling values a user typed in a textbox for an edit.
1) GetControlValue - used to do any custom value conversions b ... |
Topic: assembly attribute prevents placing inherited VT on form |
jmaeding
Replies: 7
Views: 26814
|
Forum: Virtual Tree Support Posted: Mon Jan 19, 2015 5:18 pm Subject: assembly attribute prevents placing inherited VT on form |
I was able to uncomment the attributes after adding the inherited VT to my form.
This may come in handy for others writing AutoCad Add-ons, for which the VT is just the best control ever.
Things lik ... |
Topic: assembly attribute prevents placing inherited VT on form |
jmaeding
Replies: 7
Views: 26814
|
Forum: Virtual Tree Support Posted: Thu Jan 15, 2015 2:40 am Subject: assembly attribute prevents placing inherited VT on form |
have not tried. I also need to try uncommenting the attributes once the control has been added design time. |
|