I'm sorry, can you clarify ? I thought the BACK button would hide page 1 and reveal the initial Graphics page.Mr. Kibernetik wrote:Because it goes to page "1" after executing the commandgreycheek wrote:Note how the first text field disappears after hitting the back button.Code: Select all
FIELD 0 TEXT "Text goes here . . ." AT 10,10 SIZE W,H ML RO
Page command
Re: Page command
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Page command
At first you create FIELD 0 at default PAGE with command
FIELD box$(i) TEXT "Text" AT 10,10+(30*i) SIZE 100,25
and then you re-create FIELD 0 at PAGE 1 with command
FIELD 0 TEXT "Text goes here . . ." AT 10,10 SIZE W,H ML RO
So, your FIELD 0 now belongs to PAGE 1, not to default page.
FIELD box$(i) TEXT "Text" AT 10,10+(30*i) SIZE 100,25
and then you re-create FIELD 0 at PAGE 1 with command
FIELD 0 TEXT "Text goes here . . ." AT 10,10 SIZE W,H ML RO
So, your FIELD 0 now belongs to PAGE 1, not to default page.
Re: Page command
I see. However my original program doesnt redefine any fields or buttons as far as I can see, yet going back to the default page always wipes out all fields and buttons. Not sure what to do about it.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Page command
Make all your pages visible at the same time (or being semi-transparent) to see when objects disappear.greycheek wrote:I see. However my original program doesnt redefine any fields or buttons as far as I can see, yet going back to the default page always wipes out all fields and buttons. Not sure what to do about it.