### AnchorPane Set constraints by coding

Some examples on how to set AnchorPane constraints.
TableView to fill whole MainForm
Dim tv As TableView
tv.Initialize("tv")
MainForm.RootPane.AddNode(tv, 0, 0, 0, 0) ' The values not important
MainForm.RootPane.SetAnchors(tv, 0, 0, 0, 0) ' This will fill the whole screen
LineChart to fill right AnchorPane
Dim anchorpaneRight As AnchorPane
Dim lineChartXY As Node
' Fill the whole anchorpaneright with the linechartXY node.
' Again the numbers do not matter
anchorpaneRight.SetAnchors(lineChartXY, 0, 0, 0, 0)

Changed: , Category: Panes, File: T6C230M1687.htm, ID: 1687