'All variants script
AutoScaleRate(.3)
AutoScaleAll 'uncomment to scale all views based on the device physical size.
pnlMainQuestion.Left = 0%x
pnlMainQuestion.Right = 75%x
pnlMainQuestion.Top = 0%y
pnlMainQuestion.Bottom = 100%y
pnlMenuBar.SetLeftAndRight(pnlMainQuestion.Right,100%x)
pnlMenuBar.SetTopAndBottom(0%y, 100%y)
pnlWorkSheetTitleMaster.top(pnlMainQuestion.Top+5dip)
pnlWorkSheetTitleMaster.SetLeftAndRight(pnlMainQuestion.Left+5dip, pnlMainQuestion.Right-5dip)
lblWorkSheetTitle.SetTopAndBottom(pnlWorkSheetTitleMaster.Top+2dip, pnlWorkSheetTitleMaster.Bottom - 2dip)
lblWorkSheetTitle.SetLeftAndRight(pnlWorkSheetTitleMaster.Left+2dip, pnlWorkSheetTitleMaster.Right - 2dip)
'
lblSubmitAns.Height = 15dip
lblSubmitAns.Top = pnlMainQuestion.Bottom - 25dip
lblSubmitAns.Bottom = pnlMainQuestion.Bottom - 5dip
lblQuestion.SetLeftAndRight(pnlMainQuestion.Left + 5dip, pnlMainQuestion.Right - 5dip)
lblQuestion.Top = pnlWorkSheetTitleMaster.Bottom + 2dip