C
C#3w ago
LUNR

✅ Pages

im working on a design that uses a frame to show different pages, im having trouble figuring out how to make a page that can switch to a different page without using buttons on the main form. any help would be apricated
12 Replies
Thalnos
Thalnos3w ago
However you are showing a page on that frame, can you not just show a different page on that frame without use of a button?
LUNR
LUNROP3w ago
on start i have a greeting page and on that page i was wanting a button to take you to the next/main page
Thalnos
Thalnos3w ago
Then place a button onto the page that navigates to the next page on click 🤷‍♂️ Do you have a specific problem that stops you from achieving this?
LUNR
LUNROP3w ago
ive got no clue how to code it, thats what im trying to figure out im not sure how to find the frame in the window to change the navigation
Thalnos
Thalnos3w ago
Are you using a UI framework or just coding this from scratch?
LUNR
LUNROP3w ago
from scratch
Thalnos
Thalnos3w ago
Have you considered using a UI Framework? They offer a lot of stuff you will need
LUNR
LUNROP3w ago
whats one i should try, and would i have to rewrite everything? ive already got the coding done for the window buttons to change tabs
Thalnos
Thalnos3w ago
whats one i should try
I'd suggest AvaloniaUI or Maui for crossplatform, WPF or WinUI for windows only
would i have to rewrite everything
I guess so but I dont know what you have and what you need. However you will be much faster with solving your problems because a lot of this you are writing has already been written by them and you can just use it
LUNR
LUNROP3w ago
alright thanks
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX3w ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?