Re: [Gambas-user] collection of collection problem

2017-03-23 Thread Fabien Bodard
Please tel me how you make the array in php. And in java. Or give me a link.
I'll try to answer this evening
For me you need arrays of collections.
Array are the lines storage and collection the line itself.

Colresult[2]!storage[3]!article
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] collection of collection problem

2017-03-23 Thread PICCORO McKAY Lenz
well, this its a funny case, the code of the firts mail are the correct way
, but one line are incorrect.. that's why not working

in any case i put how must be done in this article:
http://qgqlochekone.blogspot.com/2017/03/gambas3-collections-of-collections-as.html

my error, a typo in the line:
  filasdet.Add(columnas, rsetd!cod_contenido)
must be:
  filasdet.Add(columnasdet, rsetd!cod_contenido)

and in the article i try to explain why i done that


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-03-23 8:25 GMT-04:00 Fabien Bodard :

> Please tel me how you make the array in php. And in java. Or give me a
> link.
> I'll try to answer this evening
> For me you need arrays of collections.
> Array are the lines storage and collection the line itself.
>
> Colresult[2]!storage[3]!article
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] webtable Data event, get text from a specific row

2017-03-23 Thread PICCORO McKAY Lenz
i try to iterate in a row from a webtable event DATA, but i noted that in
svn the class seems are not develop

this based on documentation that said "this wymbol has not found" when i
visit the wiki for it!

https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.web.form/.src/WebTable/WebTableData.class

the event and related are not comlete develop or how i can get text of a
specific row?


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] webtable Data event, get text from a specific row

2017-03-23 Thread Tobias Boege
On Thu, 23 Mar 2017, PICCORO McKAY Lenz wrote:
> i try to iterate in a row from a webtable event DATA, but i noted that in
> svn the class seems are not develop
> 
> this based on documentation that said "this wymbol has not found" when i
> visit the wiki for it!
> 
> https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.web.form/.src/WebTable/WebTableData.class
> 
> the event and related are not comlete develop or how i can get text of a
> specific row?
> 

I don't know for sure what Benoit intends to do with it, but in its current
scope the file you linked is completely developed. You get the "symbol not
found" error because it is not documented (yet). WebTableData is a class
used in only one direction: for the WebTable to query *you* for the data
it is going to display.

As for

> how i can get text of a specific row?

You can't. WebTable does not store any data. It feels like I just explained
this last week [1]. Virtually all widgets in gb.web.form do only two things:
they render themselves as HTML and handle user interaction by receiving
messages and sending responses in Javascript. When the WebTable is rendered,
it determines which rows and columns it needs to show (depending on the
current state of its scrollbars) and raises a series of Data events to ask
you for the data you want to put into these cells. The data you provide is
then baked into an HTML  and sent to the browser. It is not saved and
there is no way for you to get it back out of the WebTable. But since you
should have a method to answer the WebTable's Data queries, you should be
able to get your row data the same way, no?

If you want to get anyhwere with gb.web.form I strongly advise to read its
source code.

Regards,
Tobi

[1] https://sourceforge.net/p/gambas/mailman/message/35732049/

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user