Skip to content

Commit

Permalink
fixed allowed mutliple instances
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinsimon committed Oct 24, 2022
1 parent 1eb1e30 commit 045f27b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
Binary file added Example/Dual.vi
Binary file not shown.
5 changes: 4 additions & 1 deletion Example/Webview2 Demo.lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
<Property Name="server.vi.callsEnabled" Type="Bool">true</Property>
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
<Property Name="specify.custom.address" Type="Bool">false</Property>
<Item Name="Examples" Type="Folder">
<Item Name="Dual.vi" Type="VI" URL="../Dual.vi"/>
<Item Name="WebView2 Demo Browser.vi" Type="VI" URL="../WebView2 Demo Browser.vi"/>
</Item>
<Item Name="WebView2 Control.xctl" Type="XControl" URL="../../Webview2 Control/WebView2 Control.xctl"/>
<Item Name="WebView2 Demo Browser.vi" Type="VI" URL="../WebView2 Demo Browser.vi"/>
<Item Name="Dependencies" Type="Dependencies">
<Item Name="vi.lib" Type="Folder">
<Item Name=".NET Object To Variant.vi" Type="VI" URL="/&lt;vilib&gt;/Platform/dotnet.llb/.NET Object To Variant.vi"/>
Expand Down
Binary file added Webview2 Control/Get Environment.vi
Binary file not shown.
Binary file modified Webview2 Control/Init Core.vi
Binary file not shown.
Binary file modified Webview2 Control/Init WebView2 Core.vi
Binary file not shown.
Binary file modified Webview2 Control/Reload.vi
Binary file not shown.
11 changes: 6 additions & 5 deletions Webview2 Control/WebView2 Control.xctl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<Item Name="_Raise WindowCloseRequested.vi" Type="VI" URL="../_Raise WindowCloseRequested.vi"/>
</Item>
<Item Name="Helpers" Type="Folder">
<Item Name="Get Environment.vi" Type="VI" URL="../Get Environment.vi"/>
<Item Name="Init WebView2 Core.vi" Type="VI" URL="../Init WebView2 Core.vi"/>
</Item>
<Item Name="Methods" Type="Folder">
Expand All @@ -33,6 +34,11 @@
<Item Name="Run Javascript.vi" Type="Method VI" URL="../Run Javascript.vi"/>
</Item>
<Item Name="Properties" Type="Folder">
<Item Name="Control" Type="Property Folder">
<Property Name="NI.LibItem.Prop.Identifier" Type="Str">Control</Property>
<Property Name="NI.LibItem.Prop.Localized.LongName" Type="Str">Control</Property>
<Item Name="Control Read 2.vi" Type="Property VI" URL="../Control Read 2.vi"/>
</Item>
<Item Name="Events" Type="Property Folder">
<Property Name="NI.LibItem.Prop.Identifier" Type="Str">Events</Property>
<Property Name="NI.LibItem.Prop.Localized.LongName" Type="Str">Events</Property>
Expand All @@ -54,11 +60,6 @@
<Item Name="URL Read 3.vi" Type="Property VI" URL="../URL Read 3.vi"/>
<Item Name="URL Write 3.vi" Type="Property VI" URL="../URL Write 3.vi"/>
</Item>
<Item Name="Control" Type="Property Folder">
<Property Name="NI.LibItem.Prop.Identifier" Type="Str">Control</Property>
<Property Name="NI.LibItem.Prop.Localized.LongName" Type="Str">Control</Property>
<Item Name="Control Read 2.vi" Type="Property VI" URL="../Control Read 2.vi"/>
</Item>
</Item>
<Item Name="Data.ctl" Type="Ability VI" URL="../Data.ctl">
<Property Name="NI.XItem.Name" Type="Str">Data</Property>
Expand Down

0 comments on commit 045f27b

Please sign in to comment.