IF VAL(Text
(HowManyBodiesTB
)) >= 2 AND VAL(Text
(HowManyBodiesTB
)) <= 11 THEN Control(BodyDataFR).Disabled = False
Control(BodyDataFR).Hidden = False
SetFocus BodyMass1TB
Control(Body11LB).Disabled = True
Control(Body11LB).Hidden = True
Control(BodyMass11TB).Disabled = True
Control(BodyMass11TB).Hidden = True
Control(XPosition11TB).Disabled = True
Control(XPosition11TB).Hidden = True
Control(YPosition11TB).Disabled = True
Control(YPosition11TB).Hidden = True
Control(ZPosition11TB).Disabled = True
Control(ZPosition11TB).Hidden = True
Control(XVelocity11TB).Disabled = True
Control(XVelocity11TB).Hidden = True
Control(YVelocity11TB).Disabled = True
Control(YVelocity11TB).Hidden = True
Control(ZVelocity11TB).Disabled = True
Control(ZVelocity11TB).Hidden = True
Control(Body10LB).Disabled = True
Control(Body10LB).Hidden = True
Control(BodyMass10TB).Disabled = True
Control(BodyMass10TB).Hidden = True
Control(XPosition10TB).Disabled = True
Control(XPosition10TB).Hidden = True
Control(YPosition10TB).Disabled = True
Control(YPosition10TB).Hidden = True
Control(ZPosition10TB).Disabled = True
Control(ZPosition10TB).Hidden = True
Control(XVelocity10TB).Disabled = True
Control(XVelocity10TB).Hidden = True
Control(YVelocity10TB).Disabled = True
Control(YVelocity10TB).Hidden = True
Control(ZVelocity10TB).Disabled = True
Control(ZVelocity10TB).Hidden = True
Control(Body9LB).Disabled = True
Control(Body9LB).Hidden = True
Control(BodyMass9TB).Disabled = True
Control(BodyMass9TB).Hidden = True
Control(XPosition9TB).Disabled = True
Control(XPosition9TB).Hidden = True
Control(YPosition9TB).Disabled = True
Control(YPosition9TB).Hidden = True
Control(ZPosition9TB).Disabled = True
Control(ZPosition9TB).Hidden = True
Control(XVelocity9TB).Disabled = True
Control(XVelocity9TB).Hidden = True
Control(YVelocity9TB).Disabled = True
Control(YVelocity9TB).Hidden = True
Control(ZVelocity9TB).Disabled = True
Control(ZVelocity9TB).Hidden = True
Control(Body8LB).Disabled = True
Control(Body8LB).Hidden = True
Control(BodyMass8TB).Disabled = True
Control(BodyMass8TB).Hidden = True
Control(XPosition8TB).Disabled = True
Control(XPosition8TB).Hidden = True
Control(YPosition8TB).Disabled = True
Control(YPosition8TB).Hidden = True
Control(ZPosition8TB).Disabled = True
Control(ZPosition8TB).Hidden = True
Control(XVelocity8TB).Disabled = True
Control(XVelocity8TB).Hidden = True
Control(YVelocity8TB).Disabled = True
Control(YVelocity8TB).Hidden = True
Control(ZVelocity8TB).Disabled = True
Control(ZVelocity8TB).Hidden = True
Control(Body7LB).Disabled = True
Control(Body7LB).Hidden = True
Control(BodyMass7TB).Disabled = True
Control(BodyMass7TB).Hidden = True
Control(XPosition7TB).Disabled = True
Control(XPosition7TB).Hidden = True
Control(YPosition7TB).Disabled = True
Control(YPosition7TB).Hidden = True
Control(ZPosition7TB).Disabled = True
Control(ZPosition7TB).Hidden = True
Control(XVelocity7TB).Disabled = True
Control(XVelocity7TB).Hidden = True
Control(YVelocity7TB).Disabled = True
Control(YVelocity7TB).Hidden = True
Control(ZVelocity7TB).Disabled = True
Control(ZVelocity7TB).Hidden = True
Control(Body6LB).Disabled = True
Control(Body6LB).Hidden = True
Control(BodyMass6TB).Disabled = True
Control(BodyMass6TB).Hidden = True
Control(XPosition6TB).Disabled = True
Control(XPosition6TB).Hidden = True
Control(YPosition6TB).Disabled = True
Control(YPosition6TB).Hidden = True
Control(ZPosition6TB).Disabled = True
Control(ZPosition6TB).Hidden = True
Control(XVelocity6TB).Disabled = True
Control(XVelocity6TB).Hidden = True
Control(YVelocity6TB).Disabled = True
Control(YVelocity6TB).Hidden = True
Control(ZVelocity6TB).Disabled = True
Control(ZVelocity6TB).Hidden = True
Control(Body5LB).Disabled = True
Control(Body5LB).Hidden = True
Control(BodyMass5TB).Disabled = True
Control(BodyMass5TB).Hidden = True
Control(XPosition5TB).Disabled = True
Control(XPosition5TB).Hidden = True
Control(YPosition5TB).Disabled = True
Control(YPosition5TB).Hidden = True
Control(ZPosition5TB).Disabled = True
Control(ZPosition5TB).Hidden = True
Control(XVelocity5TB).Disabled = True
Control(XVelocity5TB).Hidden = True
Control(YVelocity5TB).Disabled = True
Control(YVelocity5TB).Hidden = True
Control(ZVelocity5TB).Disabled = True
Control(ZVelocity5TB).Hidden = True
Control(Body4LB).Disabled = True
Control(Body4LB).Hidden = True
Control(BodyMass4TB).Disabled = True
Control(BodyMass4TB).Hidden = True
Control(XPosition4TB).Disabled = True
Control(XPosition4TB).Hidden = True
Control(YPosition4TB).Disabled = True
Control(YPosition4TB).Hidden = True
Control(ZPosition4TB).Disabled = True
Control(ZPosition4TB).Hidden = True
Control(XVelocity4TB).Disabled = True
Control(XVelocity4TB).Hidden = True
Control(YVelocity4TB).Disabled = True
Control(YVelocity4TB).Hidden = True
Control(ZVelocity4TB).Disabled = True
Control(ZVelocity4TB).Hidden = True
Control(Body3LB).Disabled = True
Control(Body3LB).Hidden = True
Control(BodyMass3TB).Disabled = True
Control(BodyMass3TB).Hidden = True
Control(XPosition3TB).Disabled = True
Control(XPosition3TB).Hidden = True
Control(YPosition3TB).Disabled = True
Control(YPosition3TB).Hidden = True
Control(ZPosition3TB).Disabled = True
Control(ZPosition3TB).Hidden = True
Control(XVelocity3TB).Disabled = True
Control(XVelocity3TB).Hidden = True
Control(YVelocity3TB).Disabled = True
Control(YVelocity3TB).Hidden = True
Control(ZVelocity3TB).Disabled = True
Control(ZVelocity3TB).Hidden = True
AA& = MessageBox("Value From 2 to 11 Required", "", 0)