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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:18:27+00:00 2026-06-02T13:18:27+00:00

Im developing a small file explorer, how do i set Back button. i have:

  • 0

Im developing a small file explorer, how do i set Back button.

i have:

  • txtAddress.Text which is the address bar of the explorer.
  • string currAddress which has the current address.
  • List<string> prevAddress which should hold some previous addresses which had been visited for Back Button

    and i use:

  • Root(); to get My Computer items.
  • Open(string Address); to get Files/Folder from an address.
  • Search(string Address, string keyword); to get the search result items.

    i need the back button because when i do search in a path, i can’t press up button (which go to the parent path) because i need to get back to the path i was searching in, so how do back button works in explorer? and when should i add/remove addresses from it?

    enter image description here

    • 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-06-02T13:18:36+00:00Added an answer on June 2, 2026 at 1:18 pm

      To implement a back button well I would suggest using a stack of some kind which maintains the locations which the user has been. Each time a navigation is performed, push the old location onto the stack. When the back button is pressed, pop the top item on the stack and navigate to that location. If the stack is empty, make the back button unusable, as there is nowhere to go back to.

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

    Sidebar

    Related Questions

    Hi I'm developing a small web app in which I have and embed video
    I'm developing small FTP upload app. for mac (10.6 if it matters) Have problem
    I have a little experience developing small command-line applications with Python. I want to
    I am developing a small application which lists the contents from files of a
    I am developing a small business application which uses Sqlserver 2005 database. Platform: .Net
    I am developing a small intranet based web application. I have YSlow installed and
    I'm developing a small ATL DLL file in Windows/Visual Studio IDE, and I'm relatively
    For a small file format I'm developing I need to output a header of
    I am developing a small visual stdio 2010 c++ project. I have created a
    I'm developing an application with node.js and socket.io. I have built a small-scale project

    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.