Hello!
I used what Philippe helped me with in a previous topic to get most of the work of adding custom AcDbFields, but i have one more (hopefully final) problem.
I use either the field code or insert a field through the field dialog box. Now if i double click the AcDbField, the field dialog box opens and the "*unknown" field is selected. What do i have to do for the dialog to go directly to that specific field in the dialog?
Thanks
Solved! Go to Solution.
Solved by Bica.Bogdan. Go to Solution.
Hi Bica,
Sorry for the delay.
I do not see this behavior with the TextFileField sample. On double click the field dialog opens with the right category and field selected.
Here is a recording of the steps that I am trying. Can you please let me know if there is any thing different from what you are trying ?
https://www.dropbox.com/s/8a1duwukuljhlf7/Demo.zip
I do not think there is any additional step to get it working while double clicking on the field. On double-click the "CAcFdUiFieldDialogHook" derived class should get its method called just as it gets called during field creation.
Regards,
Balaji
Hello.
No problem about the delay, there's a lot of work, i was never held back.
I actually never ran the original sample Philippe provided, but since you said it did work in your case i started looking for differences.
Turns out, i missed adding a valid evaluator Id, it was one character off. So when the DialogHook was calling GetEvaluatorIds, i was adding the wrong id (TFEVALID in our case).
So now it works. I should have been more careful and then i wouldn't have wasted you time.
Thanks.