G grifoDev Member Licensed User Longtime User Nov 15, 2013 #1 Hi, Menu> I would like to change the items of Menu on event ( example: change Panel).. is it possible ? EditText> Can I digits in UpperCase ? Image> Panel1.addview("img1",....) follow I want insert into "Panel1" again "img1". What I can use for insert multiple "img1"? thanks grifoDev
Hi, Menu> I would like to change the items of Menu on event ( example: change Panel).. is it possible ? EditText> Can I digits in UpperCase ? Image> Panel1.addview("img1",....) follow I want insert into "Panel1" again "img1". What I can use for insert multiple "img1"? thanks grifoDev
klaus Expert Licensed User Longtime User Nov 15, 2013 #2 1) Menu, unfortunately you cannot change menu items. 2) EditText1.Text = EditText1.Text.ToUpperCase 3) Panel1.addview("img1",....) should be Panel1.addview(img1,....) What do you mean with ... follow I want insert into "Panel1" again "img1" ? You can add other ImageViews the same way as the first one but must also you Dim and Initialze them. Upvote 0
1) Menu, unfortunately you cannot change menu items. 2) EditText1.Text = EditText1.Text.ToUpperCase 3) Panel1.addview("img1",....) should be Panel1.addview(img1,....) What do you mean with ... follow I want insert into "Panel1" again "img1" ? You can add other ImageViews the same way as the first one but must also you Dim and Initialze them.
G grifoDev Member Licensed User Longtime User Nov 15, 2013 #3 I must reinsert "img1" in other position of "panel1" - in the "panel1" I must position two "img1" (sorry for my bad english..) Upvote 0
I must reinsert "img1" in other position of "panel1" - in the "panel1" I must position two "img1" (sorry for my bad english..)
klaus Expert Licensed User Longtime User Nov 15, 2013 #4 As I already told you, you can add other ImageViews, even with the same name but you must Dim and Initialize each of them. Code: Copy Dim img1 As ImageView img1.Initialize("") Panel1.AddView(img1, 10dip, 10dip, 150dip, 100dip) ' ' Dim img1 As ImageView img1.Initialize("") Panel1.AddView(img1, 10dip, 170dip, 150dip, 100dip) Upvote 0
As I already told you, you can add other ImageViews, even with the same name but you must Dim and Initialize each of them. Code: Copy Dim img1 As ImageView img1.Initialize("") Panel1.AddView(img1, 10dip, 10dip, 150dip, 100dip) ' ' Dim img1 As ImageView img1.Initialize("") Panel1.AddView(img1, 10dip, 170dip, 150dip, 100dip)
G grifoDev Member Licensed User Longtime User Nov 18, 2013 #6 Hello, only information....CodeSnippets.pdf reading this pdf file, I see that the description in point 2.26 it is identically to point 2.39. Hi grifoDev Last edited: Nov 18, 2013 Upvote 0
Hello, only information....CodeSnippets.pdf reading this pdf file, I see that the description in point 2.26 it is identically to point 2.39. Hi grifoDev
LucaMs Expert Licensed User Longtime User Nov 18, 2013 #7 grifoDev said: I must reinsert "img1" in other position of "panel1" - in the "panel1" I must position two "img1" (sorry for my bad english..) Click to expand... There is an Italian forum, too... aho, ce sta pure er forum italiano, eh! lol Upvote 0
grifoDev said: I must reinsert "img1" in other position of "panel1" - in the "panel1" I must position two "img1" (sorry for my bad english..) Click to expand... There is an Italian forum, too... aho, ce sta pure er forum italiano, eh! lol
G grifoDev Member Licensed User Longtime User Nov 18, 2013 #8 e' un file ufficiale della b4a per principianti come me.... adesso non ho sottomano il link ... ci sono brevi esempi che spiegano le cose basilari... grifo Upvote 0
e' un file ufficiale della b4a per principianti come me.... adesso non ho sottomano il link ... ci sono brevi esempi che spiegano le cose basilari... grifo
G grifoDev Member Licensed User Longtime User Nov 18, 2013 #9 http://www.b4x.com/android/documentation.html Upvote 0
LucaMs Expert Licensed User Longtime User Nov 18, 2013 #10 grifoDev said: http://www.b4x.com/android/documentation.html Click to expand... Vado troppo di corsa e non ho letto che ti riferivi al CodeSnippets.pdf... guardo, provo a capire a cosa ti riferisci e ti rispondo Upvote 0
grifoDev said: http://www.b4x.com/android/documentation.html Click to expand... Vado troppo di corsa e non ho letto che ti riferivi al CodeSnippets.pdf... guardo, provo a capire a cosa ti riferisci e ti rispondo
G grifoDev Member Licensed User Longtime User Nov 18, 2013 #11 tranquillo, volevo solo far notare ( credo l'abbia fatto Klaus ) che c'e' un capitolo ripetuto 2 volte... Se volessi inviare un post ad un membro specifico come si fa'?? Upvote 0
tranquillo, volevo solo far notare ( credo l'abbia fatto Klaus ) che c'e' un capitolo ripetuto 2 volte... Se volessi inviare un post ad un membro specifico come si fa'??
klaus Expert Licensed User Longtime User Nov 18, 2013 #12 grifoDev said: ....CodeSnippets.pdf reading this pdf file, I see that the description in point 2.26 it is identically to point 2.39. Click to expand... Thank you, I will change it for the next edition. These code snippets are even somewhat old because Erel added in the LayoutValues object ApproximateScreenSize. So the code can be changed to : Code: Copy Sub GetDevicePhysicalSize As Float Dim lv As LayoutValues lv = GetDeviceLayoutValues Return lv.ApproximateScreenSize End Sub You should have posted this in a new thread because it's not the subject of this thread. For your ImageView problem couldn't you post a small project as a zip file, so we could look at it? Upvote 0
grifoDev said: ....CodeSnippets.pdf reading this pdf file, I see that the description in point 2.26 it is identically to point 2.39. Click to expand... Thank you, I will change it for the next edition. These code snippets are even somewhat old because Erel added in the LayoutValues object ApproximateScreenSize. So the code can be changed to : Code: Copy Sub GetDevicePhysicalSize As Float Dim lv As LayoutValues lv = GetDeviceLayoutValues Return lv.ApproximateScreenSize End Sub You should have posted this in a new thread because it's not the subject of this thread. For your ImageView problem couldn't you post a small project as a zip file, so we could look at it?
LucaMs Expert Licensed User Longtime User Nov 18, 2013 #13 LucaMs said: Vado troppo di corsa e non ho letto che ti riferivi al CodeSnippets.pdf... guardo, provo a capire a cosa ti riferisci e ti rispondo Click to expand... In effetti, sono identici. Ti confesso che la grafica, col designer e lo script designer, mi uccide. Io ho trovato una mia soluzione, che adotto in una mia app e quindi lo considero un problema risolto (ma a modo mio!). E' molto meglio, per te, studiare il Designer e i Designer Scripts. (Così poi me li spieghi, hehehe) ciao Upvote 0
LucaMs said: Vado troppo di corsa e non ho letto che ti riferivi al CodeSnippets.pdf... guardo, provo a capire a cosa ti riferisci e ti rispondo Click to expand... In effetti, sono identici. Ti confesso che la grafica, col designer e lo script designer, mi uccide. Io ho trovato una mia soluzione, che adotto in una mia app e quindi lo considero un problema risolto (ma a modo mio!). E' molto meglio, per te, studiare il Designer e i Designer Scripts. (Così poi me li spieghi, hehehe) ciao
LucaMs Expert Licensed User Longtime User Nov 18, 2013 #14 grifoDev said: tranquillo, volevo solo far notare ( credo l'abbia fatto Klaus ) che c'e' un capitolo ripetuto 2 volte... Se volessi inviare un post ad un membro specifico come si fa'?? Click to expand... Sono nuovo anch'io, ma se clicki sul nome del membro si apre una dialog con "start a conversation" Upvote 0
grifoDev said: tranquillo, volevo solo far notare ( credo l'abbia fatto Klaus ) che c'e' un capitolo ripetuto 2 volte... Se volessi inviare un post ad un membro specifico come si fa'?? Click to expand... Sono nuovo anch'io, ma se clicki sul nome del membro si apre una dialog con "start a conversation"