Yves Rossignol Member Licensed User Dec 28, 2016 #1 Sometime the virtual keyboard is over a region where i need to input data (with the keyboard but I can't because it is hide by keyboard). I have looked into others apps and when something happen like this... the screen under the keyboard goes up... how I can do that...
Sometime the virtual keyboard is over a region where i need to input data (with the keyboard but I can't because it is hide by keyboard). I have looked into others apps and when something happen like this... the screen under the keyboard goes up... how I can do that...
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2016 #2 https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/ Upvote 0
Yves Rossignol Member Licensed User Dec 29, 2016 #3 I only want to do that... from step 1 to step 2.... no easier ways??? I have a small video but it is 11 Mo. Attachments step1.JPG 263.7 KB · Views: 481 step2.JPG 61.6 KB · Views: 495 Upvote 0
I only want to do that... from step 1 to step 2.... no easier ways??? I have a small video but it is 11 Mo.
ilan Expert Licensed User Longtime User Dec 29, 2016 #4 it will not go up automatically like in android so you will need to set it in the "Page1_KeyboardStateChanged" as erel wrote in post #2 if you put all views in a panel it will be simpler you will only need to change the panel top value when you show the keyboard. this can also be done in the "Page1_KeyboardStateChanged". Note that erel is changing the HEIGHT of the view in that example, i prefer to change the top position of the view instead but its up to you. Upvote 0
it will not go up automatically like in android so you will need to set it in the "Page1_KeyboardStateChanged" as erel wrote in post #2 if you put all views in a panel it will be simpler you will only need to change the panel top value when you show the keyboard. this can also be done in the "Page1_KeyboardStateChanged". Note that erel is changing the HEIGHT of the view in that example, i prefer to change the top position of the view instead but its up to you.
Yves Rossignol Member Licensed User Dec 29, 2016 #5 Look at this link, it is my dropbox... and a small apps in my iphone6... https://www.dropbox.com/sh/0s34cbr254779dh/AABMFbAMewlAJQDzhYZj7kFCa?dl=0 I will try to understand. Do you think we can have a negative value for a panel or a variable top? Upvote 0
Look at this link, it is my dropbox... and a small apps in my iphone6... https://www.dropbox.com/sh/0s34cbr254779dh/AABMFbAMewlAJQDzhYZj7kFCa?dl=0 I will try to understand. Do you think we can have a negative value for a panel or a variable top?
ilan Expert Licensed User Longtime User Dec 30, 2016 #6 Yves Rossignol said: Do you think we can have a negative value for a panel or a variable top? Click to expand... sure you can, you can set your panel where ever you want "-/+" Upvote 0
Yves Rossignol said: Do you think we can have a negative value for a panel or a variable top? Click to expand... sure you can, you can set your panel where ever you want "-/+"
ilan Expert Licensed User Longtime User Dec 30, 2016 #7 simple example attached Video: https://www.dropbox.com/s/t1y6l1sza4x7omz/keyboardexample.mov?dl=0 Attachments keyoard example.zip keyoard example.zip 3 KB · Views: 380 Upvote 0
Yves Rossignol Member Licensed User Dec 31, 2016 #8 seem to work for now, I will need to understand the way it is done... thank sir Upvote 0
Yves Rossignol Member Licensed User Dec 31, 2016 #9 As I thought I lack understanding to move up the pnl2 when the fields txfmx or txfmy or txfmz are to be filled (see f1 layout and force module). The object directory is missing (too large). Thank Ilan for your help. It is very useful.... Attachments welds.b4i.zip welds.b4i.zip 316.7 KB · Views: 375 Upvote 0
As I thought I lack understanding to move up the pnl2 when the fields txfmx or txfmy or txfmz are to be filled (see f1 layout and force module). The object directory is missing (too large). Thank Ilan for your help. It is very useful....
ilan Expert Licensed User Longtime User Dec 31, 2016 #10 i dont understand why you have so many pages but from what i saw in page "force" you declare pg as page and intialize it with event name "pg" so why do you use Code: Copy Sub Page1_KeyboardStateChanged (Height As Float) you should use the same event name you gave your page when you intialize it it should look like this: Code: Copy Sub pg_KeyboardStateChanged (Height As Float) the same for resize event Code: Copy Private Sub pg_Resize(width As Int, Height As Int) i have not tested your app since something is missing. Upvote 0
i dont understand why you have so many pages but from what i saw in page "force" you declare pg as page and intialize it with event name "pg" so why do you use Code: Copy Sub Page1_KeyboardStateChanged (Height As Float) you should use the same event name you gave your page when you intialize it it should look like this: Code: Copy Sub pg_KeyboardStateChanged (Height As Float) the same for resize event Code: Copy Private Sub pg_Resize(width As Int, Height As Int) i have not tested your app since something is missing.
Yves Rossignol Member Licensed User Dec 31, 2016 #11 I have to make a clean up of the application. It is my first one and I have this application already made in purebasic windows. Thanks, I will make a reply after clean up the app. Upvote 0
I have to make a clean up of the application. It is my first one and I have this application already made in purebasic windows. Thanks, I will make a reply after clean up the app.
klaus Expert Licensed User Longtime User Jan 1, 2017 #12 I suggest you to put all your views on one panel covering the whole screen instead of two panels and move this one. Attached a modified version of the project. How do you generate the zip files to get such big fiels? You should use Export As Zip in the IDE File menu. Attachments welds1.zip welds1.zip 87.2 KB · Views: 380 Last edited: Jan 2, 2017 Upvote 0
I suggest you to put all your views on one panel covering the whole screen instead of two panels and move this one. Attached a modified version of the project. How do you generate the zip files to get such big fiels? You should use Export As Zip in the IDE File menu.
Yves Rossignol Member Licensed User Jan 1, 2017 #13 I use window file send to --- compressed files (envoyer vers, dossier compressé) Upvote 0
Yves Rossignol Member Licensed User Jan 1, 2017 #15 It is work great with this command... I continue now... Thanks for all and Happy new years 2017 Upvote 0
Yves Rossignol Member Licensed User Jan 1, 2017 #16 Ok, It works, but now i want to modify singleW display to hide lblwidthB and txfwidthB for the variable choix = 1 and make them visible for all other value of choix. My question is where i have to put these line's codes Upvote 0
Ok, It works, but now i want to modify singleW display to hide lblwidthB and txfwidthB for the variable choix = 1 and make them visible for all other value of choix. My question is where i have to put these line's codes
Yves Rossignol Member Licensed User Jan 1, 2017 #17 with code... included now i will change the directory name to welds 01 02 03... with the date number (365 per years) Attachments weld 01 jan.zip weld 01 jan.zip 75.7 KB · Views: 383 Upvote 0
with code... included now i will change the directory name to welds 01 02 03... with the date number (365 per years)
klaus Expert Licensed User Longtime User Jan 1, 2017 #18 I think that it's time for you to think on your own. In the project you posted you have 'Syntax errors' in the singleW module. Think of what these messages do mean and remove these by yourself, to get experience. ... included now i will change the directory name to welds 01 02 03... with the date number (365 per years) Click to expand... I haven't seen anything about this in your code !? You need to be much more precice on what you want to do. Upvote 0
I think that it's time for you to think on your own. In the project you posted you have 'Syntax errors' in the singleW module. Think of what these messages do mean and remove these by yourself, to get experience. ... included now i will change the directory name to welds 01 02 03... with the date number (365 per years) Click to expand... I haven't seen anything about this in your code !? You need to be much more precice on what you want to do.
ilan Expert Licensed User Longtime User Jan 1, 2017 #19 klaus said: I think that it's time for you to think on your own. Click to expand... i agree with klaus, we all are here to help each other but not write a complete app. you have a lot tutorials and lots of free full sources where you can have a look and learn from them including an excellent Beginner Guide. (look at klaus signature and for free source you can look at mine) if you are stuck and cannot find a solution after you search for it in the forum and also looked at the beginner guide we all are here to help you but you should try first by yourself. "It is more beneficial to teach someone to fish than to give him fish." Upvote 0
klaus said: I think that it's time for you to think on your own. Click to expand... i agree with klaus, we all are here to help each other but not write a complete app. you have a lot tutorials and lots of free full sources where you can have a look and learn from them including an excellent Beginner Guide. (look at klaus signature and for free source you can look at mine) if you are stuck and cannot find a solution after you search for it in the forum and also looked at the beginner guide we all are here to help you but you should try first by yourself. "It is more beneficial to teach someone to fish than to give him fish."
Yves Rossignol Member Licensed User Jan 1, 2017 #20 Ok, you are both Right. I will try more to find be fore. Upvote 0