I get:
(Input string was not in the correct format)
In optimized compilation
When I use:
In line (TextBoxLayflat2.Text=TextBoxWidth.Text+TextBoxGusset.Text)
(Input string was not in the correct format)
In optimized compilation
When I use:
B4X:
Sub InitializeConfigLine
If TextBoxGusset.Text <0 Then
TextBoxLayflat2.Text=TextBoxWidth.Text
LabelYeild2.BringToFront
TextBoxYeild.BringToFront
ImageButtonConfig.Text=TextBoxWidth.Text &"x"& TextBoxMillage.Text
Panel20.BringToFront
Else If TextBoxLayflat2.Text=TextBoxWidth.Text+TextBoxGusset.Text
TextBoxNip.Text=Table2.Cell("nip",0)/2
TextBoxCenter.Text=TextBoxWidth.Text-TextBoxGusset.Text
TextBoxNipToCenter.Text=TextBoxNip.Text-TextBoxCenter.Text/2
TextBoxLeftGusset.Text=TextBoxGusset.Text/2
TextBoxRightGusset.Text=TextBoxGusset.Text/2
ImageButtonGussetConfig.Text=TextBoxLeftGusset.Text &" / "& TextBoxCenter.Text &" / "& TextBoxRightGusset.Text
ImageButtonCenterToNip.Text="-> "& TextBoxNipToCenter.Text &" <-"
Panel2Back.BringToFront
Panel19.BringToFront
LabelLayflat2.BringToFront
TextBoxLayflat2.BringToFront
ImageButtonConfig.Text=TextBoxWidth.Text &"x"& TextBoxGusset.Text &"x"& TextBoxMillage.Text
PanelLowerFormCoverGusset.BringToFront
End If
TextBoxYeild.Text=TextBoxLayflat2.Text*TextBoxMillage.Text*TextBoxDensity.Text
TextBoxSS2.Text=TextBoxPPH.Text*Table2.Cell("sp",0)/Table2.Cell("pph",0)
TextBox1.Text=TextBoxLayflat2.Text*.637/Table2.Cell("dia",0)
TextBox2.Text=TextBoxLayflat2.Text/Table2.Cell("top",0)
TextBox3.Text=TextBoxLayflat2.Text/Table2.Cell("bot",0)
TextBoxLS2.Text=TextBoxPPH.Text/TextBoxYeild.Text/.06
ImageButtonLine.Text="Line " & Table2.Cell("lin",0)
Form2.Show
In line (TextBoxLayflat2.Text=TextBoxWidth.Text+TextBoxGusset.Text)
Last edited: