Wednesday, 21 May 2025
  3 Replies
  2.6K Visits
0
Votes
Undo
If the Aucotec Treeview control is included in the multipage control, it is not possible to switch the page2 tab with a single click of Page2 in the 64-Bit version of Microsoft Office. But I had no problems with the 32-Bit version.

Workaround Options:
1. The Page2 tab will appear if I click it twice. (This is not a good approach).
2. If the Aucotec Treeview control is outside the multipage control, Page 2 will show up in the user interface with a single click. (This is also not a good approach.)

please give any suggestion need to switch the page2 tab with a single click of Page2 in 64bit. And also, I have attached snap for reference
7 months ago
·
#2837
0
Votes
Undo
Hello,

seems like it's not possible to overcome this issue in VBA. All I can suggest is moving to C# development.

Best Regards
Jakub
Hello Jakub

In VBA, it is not possible to switch between pages with a single click while the macro is executing. If the treeview control is used inside the multipage control. To change pages, I have to click multiple times.


Is there a way to resolve this in EB 2025 using Microsoft Office 64-bit?
Hello, have you installed Visio 64-bit adapter that should come with EB installation files?

Here is example of working code:
private void InitTree(TreeControl oAucTreeControl)
{
var sId = moWizard.goTargetDrawing?.Id;
oAucTreeControl.InitTree(Globals.App); //' ID 143904
oAucTreeControl.ShowObjectsFilter.Add(ObjectKind.Folder);
oAucTreeControl.ShowObjectsFilter.Add(ObjectKind.Drawing);
oAucTreeControl.AddObject(Globals.App.ActiveProject.DrawingsFolder.Id, true);
oAucTreeControl.Navigate(sId);

if (moWizard.goTargetDrawing != null)
TreeSelectedObjectItem = moWizard.goTargetDrawing;
else
TreeSelectedObjectItem = Globals.App.ActiveProject.DrawingsFolder;

oAucTreeControl.AllowMenuOperation = true;

AucTreeControl = oAucTreeControl;
}
Sarathkumar Madhavan set the post as Critical priority — 1 year ago
Sarathkumar Madhavan set the type of the post as  Bug — 1 year ago
  • Page :
  • 1
There are no replies made for this post yet.