Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3792050
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:33:46+00:00 2026-05-19T12:33:46+00:00

I am trying to implement a popup screen(basically for EULA screen) which has one

  • 0

I am trying to implement a popup screen(basically for EULA screen) which has one Manager(Vertical), one RichTextField and one Button. I want the eula text to be displayed in the manager and only manager should have the scrolling not popup screen and button to be added after manager.

problem: If text in RichTextField is small, then i can see the text and button. But if Text is very long the manager scrolls little bit and not able to see the button at all.

Here is what I’ve done:

class ApplicationEulaScreen extends PopupScreen implements FieldChangeListener
{
    private VerticalFieldManager mainContainer;
    private RichTextField eulaText;
    private ButtonField okButton;

    ApplicationEulaScreen() 
    {
        super(new VerticalFieldManager(VerticalFieldManager.NO_VERTICAL_SCROLL);

        mainContainer = new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL | VERTICAL_SCROLLBAR | USE_ALL_HEIGHT);

        eulaText = new RichTextField("Indicates whether network connectivity is possible. "
        +"A network is unavailable when a persistent or semi-persistent condition  prevents  the possibility of connecting to that network. Examples include "
        +"* The device is out of the coverage area for any network of this type. "
        +"* The device is on a network other than the home network (i.e., roaming), and data roaming has been disabled. "
        +"* The device's radio is turned off, e.g., because airplane mode is enabled. ",  RichTextField.READONLY | RichTextField.USE_TEXT_WIDTH);

        okButton = new ButtonField("Ok", ButtonField.FIELD_HCENTER | FOCUSABLE |  ButtonField.CONSUME_CLICK);
        okButton.setChangeListener(this);

        mainContainer.add(eulaText);
        add(okButton);

    }
}

Need help on this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:33:47+00:00Added an answer on May 19, 2026 at 12:33 pm

    It’s because the delegate manager (the first VerticalFieldManager) is not scrollable. It’ll never shift its viewport to show your ButtonField.

    Have you tried eliminating mainContainer and just adding your RichTextField directly to the popup screen?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm basically trying to implement a popup on a button hover. When a user
I'm trying implement A* Start path finding in my games(which are written with JavaScript,
Trying to implement 3-layer (not: tier, I just want to separate my project logically,
I'm trying to implement popup search window in a PHP project. I included JQuery
I'm trying to implement a basic popup window that asks the user if they
I'm trying to implement a collapsible TitleWindow popup by adding a handle to the
I'm trying to implement a custom combobox options popup, so that near each option
I am trying to implement a custom tooltip using the javafx.stage.Popup . The sample
I am trying to implement a Wait Screen in my BlackBerry app. The screen
I'm trying to implement the following jQuery popout feature on my site: http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/ I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.