Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Am 25.01.2017 16:24, schrieb Benoît Minisini: > Le 25/01/2017 à 16:19, Rolf-Werner Eilert a écrit : >> >> Thank you very much, that makes it much clearer. Now I have a Button1 >> and a WebTable1 >> >> Public Sub WebButton1_Click() >> >> WebLabel1.Text = "Button geklickt" >> >> WebTable1.Add

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Yes, you are right, thank you! Sometimes I do not see the forest for all the trees :) Rolf Am 25.01.2017 18:01, schrieb Fabien Bodard: > OUPS I think it's like the gridview : > Data.Text = CStr(Row) & "-" & CStr(Column) > > 2017-01-25 17:58 GMT+01:00 Benoît Minisini : >> Le 25/01/2017 à 17:54, R

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Am 25.01.2017 17:58, schrieb Benoît Minisini: > Le 25/01/2017 à 17:54, Rolf-Werner Eilert a écrit : >> Am 25.01.2017 17:29, schrieb Benoît Minisini: >>> Le 25/01/2017 à 17:23, Rolf-Werner Eilert a écrit : Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" S

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Fabien Bodard
OUPS I think it's like the gridview : Data.Text = CStr(Row) & "-" & CStr(Column) 2017-01-25 17:58 GMT+01:00 Benoît Minisini : > Le 25/01/2017 à 17:54, Rolf-Werner Eilert a écrit : >> Am 25.01.2017 17:29, schrieb Benoît Minisini: >>> Le 25/01/2017 à 17:23, Rolf-Werner Eilert a écrit : Ah!

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Fabien Bodard
:-)... I think it's like the gridview : Data.value = CStr(Row) & "-" & CStr(Column) Data is a class reference passed by reference. hData = New WebTableData Raise Data(iRow, iCol, hData) from the sources i can see you can set : .BackGround as integer .foreground as integer .Text as s

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Benoît Minisini
Le 25/01/2017 à 17:54, Rolf-Werner Eilert a écrit : > Am 25.01.2017 17:29, schrieb Benoît Minisini: >> Le 25/01/2017 à 17:23, Rolf-Werner Eilert a écrit : >>> >>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>> >>> So, what is WebTableData? >>> >>> Rolf >>> >> >> It's t

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Am 25.01.2017 17:29, schrieb Benoît Minisini: > Le 25/01/2017 à 17:23, Rolf-Werner Eilert a écrit : >> >> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >> >> So, what is WebTableData? >> >> Rolf >> > > It's the datatype of the 'Data' argument of the WebTable 'Data' event

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Benoît Minisini
Le 25/01/2017 à 17:23, Rolf-Werner Eilert a écrit : > > Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" > > So, what is WebTableData? > > Rolf > It's the datatype of the 'Data' argument of the WebTable 'Data' event handler. -- Benoît Minisini --

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Am 25.01.2017 16:24, schrieb Benoît Minisini: > Le 25/01/2017 à 16:19, Rolf-Werner Eilert a écrit : >> >> Thank you very much, that makes it much clearer. Now I have a Button1 >> and a WebTable1 >> >> Public Sub WebButton1_Click() >> >> WebLabel1.Text = "Button geklickt" >> >> WebTable1.Add

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Benoît Minisini
Le 25/01/2017 à 16:19, Rolf-Werner Eilert a écrit : > > Thank you very much, that makes it much clearer. Now I have a Button1 > and a WebTable1 > > Public Sub WebButton1_Click() > >WebLabel1.Text = "Button geklickt" > >WebTable1.AddColumn("Spalte 1") >WebTable1.AddColumn("Spalte 2") >

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
Am 25.01.2017 15:45, schrieb Benoît Minisini: > Le 25/01/2017 à 15:33, Rolf-Werner Eilert a écrit : >> >> The only thing I could not make out is how to control the tableview. As >> there is no treeview and no listview, I would use tableview to replace >> both of them. No real problem, but >> >> - H

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Benoît Minisini
Le 25/01/2017 à 15:33, Rolf-Werner Eilert a écrit : > > The only thing I could not make out is how to control the tableview. As > there is no treeview and no listview, I would use tableview to replace > both of them. No real problem, but > > - How can I determine the number of rows and columns > -

Re: [Gambas-user] How to get started with WebView

2017-01-25 Thread Rolf-Werner Eilert
This thing is awesome, Benoit! Am 24.01.2017 11:27, schrieb Benoît Minisini: > Le 24/01/2017 à 11:24, Rolf-Werner Eilert a écrit : >> >> Now I got it. When I make a gb.web.form application, I just mark one of >> the forms as startup class (as I did) and add all control code for the >> application

Re: [Gambas-user] How to get started with WebView

2017-01-24 Thread Benoît Minisini
Le 24/01/2017 à 11:24, Rolf-Werner Eilert a écrit : > > Now I got it. When I make a gb.web.form application, I just mark one of > the forms as startup class (as I did) and add all control code for the > application there, just as I would do with a normal GUI application, right? Yes. But you must r

Re: [Gambas-user] How to get started with WebView

2017-01-24 Thread Rolf-Werner Eilert
Am 24.01.2017 10:36, schrieb Benoît Minisini: > Le 24/01/2017 à 10:11, Rolf-Werner Eilert a écrit : >> Am 23.01.2017 20:28, schrieb Benoît Minisini: >>> Le 23/01/2017 à 18:41, Rolf-Werner Eilert a écrit : Hi, I have 3.9.2 installed and started a new project as WebView project. >

Re: [Gambas-user] How to get started with WebView

2017-01-24 Thread Benoît Minisini
Le 24/01/2017 à 10:11, Rolf-Werner Eilert a écrit : > Am 23.01.2017 20:28, schrieb Benoît Minisini: >> Le 23/01/2017 à 18:41, Rolf-Werner Eilert a écrit : >>> Hi, >>> >>> I have 3.9.2 installed and started a new project as WebView project. >>> >>> Then added WebForm from the components. >>> >>> The

Re: [Gambas-user] How to get started with WebView

2017-01-24 Thread Rolf-Werner Eilert
Am 23.01.2017 20:28, schrieb Benoît Minisini: > Le 23/01/2017 à 18:41, Rolf-Werner Eilert a écrit : >> Hi, >> >> I have 3.9.2 installed and started a new project as WebView project. >> >> Then added WebForm from the components. >> >> Then added a new form called Webform1. >> >> Then added a button,

Re: [Gambas-user] How to get started with WebView

2017-01-23 Thread Benoît Minisini
Le 23/01/2017 à 18:41, Rolf-Werner Eilert a écrit : > Hi, > > I have 3.9.2 installed and started a new project as WebView project. > > Then added WebForm from the components. > > Then added a new form called Webform1. > > Then added a button, text area etc. > > When I press start, I get a Konqueror

[Gambas-user] How to get started with WebView

2017-01-23 Thread Rolf-Werner Eilert
Hi, I have 3.9.2 installed and started a new project as WebView project. Then added WebForm from the components. Then added a new form called Webform1. Then added a button, text area etc. When I press start, I get a Konqueror instance showing the example table from the Main.webpage. But there