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 6740137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:34:12+00:00 2026-05-26T11:34:12+00:00

I have a StringItem which works like a button. The standard menu items(Back on

  • 0

I have a StringItem which works like a button. The standard menu items(Back on the left side and Next on the right side are always present). The thing I want to do is to leave Back menu item on the left and change Next menu item’s label. Is it possible?

I tried to create a new Command with the necessary label and add to the stringiteim but it doesn’t replace Next command, it just creates a menu item called Menu with subitems- Next and My command label.

How can I remove Next or change its label?

  • 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-26T11:34:13+00:00Added an answer on May 26, 2026 at 11:34 am

    Command API does not allow to set new label, so your only option as you correctly guessed was to add the new command. You just forgot one thing…

    …I tried to create a new Command with the necessary label and add to the stringitem but it doesn’t replace Next command, it just creates a menu item called Menu with subitems- Next and My command label…

    …when doing above, you forgot to remove “Next” command. Code to replace command should be about as follows:

        myForm.removeCommand(nextCommand); // removes "Next" cmd
        myForm.addCommand(myCommand); // adds "My" cmd
    

    or, if you use commands associated with Item (ItemCommandListener API) instead of Form,

        // myStringItem below is your StringItem above
        myStringItem.removeCommand(nextCommand); // removes "Next" cmd
        myStringItem.addCommand(myCommand); // adds "My" cmd
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JComboBox on my Panel. One of the popup menu items is
I have been using the SeparatedListAdapter which is very well known and works perfectly,
I have simple XML which I would like to query for mnemonic collection. <?xml
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have a large unsorted list of items. Some items are important and need
I have the follwoing code and I would like to write it in a
I have the following code, with which I am trying to create a seperated
I have a list that contain two colums which are type currency. I want
I have a UserControl which has a collection property. Part of my requirements is
Imagine I have an function which goes through one million/billion strings and checks smth

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.