5 Replies Latest reply on Nov 19, 2009 1:09 PM by Jerry62712

    How do I get scroll bars to work

    Jerry62712 Level 1

      I get a vertical scroll bar where I don't want one.  The horizontal one (see attachment) is needed as the form gets quite wide when it is in Spanish.  But despite turning off verticalScrollPolicy everywhere, one of them still appears.

      <mx:AddChild relativeTo="{bodyFormHolder}" position="firstChild">
      <mx:VBox id="resultsPageBox"
      backgroundColor="#dedacf"
      width="100%"
      height="100%"
      verticalScrollPolicy="off" horizontalScrollPolicy="off">
      <mx:HBox id="rAccessHBox"
          minWidth="640" width="100%"
          x="0" y="0">
      ...
      </mx:HBox>

       

      <!-- across top *********************************************** -->
      <!-- ********************************************************** -->
      <mx:VBox id="topResultBox"
          verticalScrollPolicy="off" horizontalScrollPolicy="off"
          width="100%"
          styleName="backColor" >
      ...
      </mx:VBox>

       

      <mx:HBox id="bothSides"
          verticalScrollPolicy="off"
          width="100%"
          height="100%">
          <!-- first column ***************************************** -->
          <!-- ****************************************************** -->
          <mx:VBox id="leftSideCanvas"
              verticalScrollPolicy="off"
              width="50%"
              height="100%"
              focusEnabled="false"
              styleName="backColor">
      ...
          </mx:VBox>

       


          <!-- second column **************************************** -->
          <!-- ****************************************************** -->
          <mx:VBox id="rightSideCanvas"
              verticalScrollPolicy="off"
              backgroundColor="#dedacf"
              y="0"
              width="50%"
              height="100%">
      ...
          </mx:VBox>