Here is my code - http://pastebin.com/rHEYQ044
I am creating a list on the line 71,72,73.
Now i need to show the values in the text field [in a grid manner] inside void DoMainWindow(int windowID){
Please help me , guide me how to go about it
Whats happening in the code and Why am i doing this ?
- The data is coming from mysql table
- I am assigning data to a list
MyDataItem item = list*;*
item.contact_name=phoneBookResult*;
3. Now i want to show the list in a window in the textfield -
something like this, but this line is not working [inside the for loop]- item.contact_name=GUI.TextField(new Rect(Screen.width25/100, Screen.height10/100i, Screen.width30/100, Screen.height10/100), item.contact_name*);*
The 3 errors i am facing on this line
a. The best overloaded method match forUnityEngine.GUI.TextField(UnityEngine.Rect, string)' has some invalid arguments*__</em></em></em></em> <em><em><em><em>__*b. Argument
#2’ cannot convertchar' expression to type
string’
c. The read only property or indexer `string.this[int]’ cannot be assigned to
and want to place a button beside the textfields, clicking which i can remove that row from list
4. I can modify the textfields and save the data back in mysql table
this is what i want to do - Imgur: The magic of the Internet , and should be able to edit the field aswell
This is what i want and i am stuck at showing the list result in the window.