Carthalion Member Licensed User Longtime User Sep 27, 2016 #1 What code can I use to open a new activity? In other words, I have two screens. From the main screen, I want to click a button and have a new screen open.
What code can I use to open a new activity? In other words, I have two screens. From the main screen, I want to click a button and have a new screen open.
Mark Read Well-Known Member Licensed User Longtime User Sep 27, 2016 #2 Code: StartActivity(The name of your activity) Please note, this is a very basic question. You should really read the beginners guide - here. A second possibility is to use a panel which you can hide/unhide at will in the same activity. Upvote 0
Code: StartActivity(The name of your activity) Please note, this is a very basic question. You should really read the beginners guide - here. A second possibility is to use a panel which you can hide/unhide at will in the same activity.
klaus Expert Licensed User Longtime User Sep 27, 2016 #3 StartActivity(ActivityName) You may have a look at: - Different examples with 2 layouts - In the B4A Beginner's Guide chapter 14.2 Program with 3 Activities Upvote 0
StartActivity(ActivityName) You may have a look at: - Different examples with 2 layouts - In the B4A Beginner's Guide chapter 14.2 Program with 3 Activities
fixit30 Active Member Licensed User Longtime User Sep 27, 2016 #4 Code: StartActivity(Activity2) Upvote 0
Cableguy Expert Licensed User Longtime User Sep 27, 2016 #5 @Carthalion , you really should use the tools available in the forum before posting questions as basic as this one.. - activities life-cycle - beginners guide - the tutorials sub-forum (specifically the 2 activities example) Upvote 0
@Carthalion , you really should use the tools available in the forum before posting questions as basic as this one.. - activities life-cycle - beginners guide - the tutorials sub-forum (specifically the 2 activities example)
Carthalion Member Licensed User Longtime User Sep 27, 2016 #6 mark35at said: Code: StartActivity(The name of your activity) Please note, this is a very basic question. You should really read the beginners guide - here. A second possibility is to use a panel which you can hide/unhide at will in the same activity. Click to expand... Hi fixit30, I appreciate the response. I was pretty sure it is a basic question, but I have been scanning the beginners guide, searching forums etc. for two days. I finally gave up and asked. Thank you Upvote 0
mark35at said: Code: StartActivity(The name of your activity) Please note, this is a very basic question. You should really read the beginners guide - here. A second possibility is to use a panel which you can hide/unhide at will in the same activity. Click to expand... Hi fixit30, I appreciate the response. I was pretty sure it is a basic question, but I have been scanning the beginners guide, searching forums etc. for two days. I finally gave up and asked. Thank you
klaus Expert Licensed User Longtime User Sep 27, 2016 #7 ... but I have been scanning the beginners guide ... Click to expand... It seems you missed chapter 14.2 Program with 3 Activities Sorry it is for three and not for two Activities !? Upvote 0
... but I have been scanning the beginners guide ... Click to expand... It seems you missed chapter 14.2 Program with 3 Activities Sorry it is for three and not for two Activities !?
Carthalion Member Licensed User Longtime User Sep 27, 2016 #8 That was too easy! Thank you... Upvote 0
Carthalion Member Licensed User Longtime User Sep 27, 2016 #9 Cableguy said: @Carthalion , you really should use the tools available in the forum before posting questions as basic as this one.. - activities life-cycle - beginners guide - the tutorials sub-forum (specifically the 2 activities example) Click to expand... You are right. It was extremely basic. I just did not know the right key words to search for. I apologize. However, maybe you can point me an a more complex answer. Or should I start a new thread? I am trying to figure out how to use a Pmt function to calculate a mortgage payment. Pmt is a function that is part of the VB6 library and the .Net library. But apparently n not part of B4A's. I hear that Excel has a Pmt function. What I cannot figure out is how to make that function available for a computation in B4A. Any ideas for me? Upvote 0
Cableguy said: @Carthalion , you really should use the tools available in the forum before posting questions as basic as this one.. - activities life-cycle - beginners guide - the tutorials sub-forum (specifically the 2 activities example) Click to expand... You are right. It was extremely basic. I just did not know the right key words to search for. I apologize. However, maybe you can point me an a more complex answer. Or should I start a new thread? I am trying to figure out how to use a Pmt function to calculate a mortgage payment. Pmt is a function that is part of the VB6 library and the .Net library. But apparently n not part of B4A's. I hear that Excel has a Pmt function. What I cannot figure out is how to make that function available for a computation in B4A. Any ideas for me?
fixit30 Active Member Licensed User Longtime User Sep 27, 2016 #10 Why are you making duplicate posts. You already have multiple answers to your question in your other post. https://www.b4x.com/android/forum/threads/pmt-function.71431/ Upvote 0
Why are you making duplicate posts. You already have multiple answers to your question in your other post. https://www.b4x.com/android/forum/threads/pmt-function.71431/