Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread adamn...@gmail.com
Just because something has a similar name doesn't mean it is the same thing.

Your original question makes as much sense as: "How come when I access the Text 
property of a GridView, it doesn't give me the value of the Alignment property?"

V_GridView_Cell.Text and _GridView_Cell.RichText are not the same property.

b


On Wed, 28 Jun 2017 18:14:54 -0400
PICCORO McKAY Lenz  wrote:

> no no, i mean that i want to use the .text only but does not got any here,
> only by using .richtext.. ...
> 
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
> 
> 2017-06-28 14:05 GMT-04:00 Charlie :
> 
> > OK sorry I deleted that post once I reread your post.
> >
> > Have a look at this solution
> >
> > GUITest.tar 
> >
> >
> >
> > -
> > Check out www.gambas.one
> > --
> > View this message in context: http://gambas.8142.n7.nabble.
> > com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59571.html
> > Sent from the gambas-user mailing list archive at Nabble.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
> >
> --
> 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


-- 
B Bruen 

--
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] gridview contents x, y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
no no, i mean that i want to use the .text only but does not got any here,
only by using .richtext.. ...

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

2017-06-28 14:05 GMT-04:00 Charlie :

> OK sorry I deleted that post once I reread your post.
>
> Have a look at this solution
>
> GUITest.tar 
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59571.html
> Sent from the gambas-user mailing list archive at Nabble.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
>
--
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] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
OK sorry I deleted that post once I reread your post.

Have a look at this solution

GUITest.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59571.html
Sent from the gambas-user mailing list archive at Nabble.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] gridview contents x, y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
but that's the problem, why richtext have contents and .text does not have
it?

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

2017-06-28 13:17 GMT-04:00 Charlie :

> PICCORO McKAY Lenz wrote
> > i have a piece of code, from a complex project, that export line by line
> > to
> > a file, the contents of the gridview, but not the text, only the richtext
> > why are not the same?
>
> Try using:
>
> *linefile &= "\"" & grid[d, c].RichText & "\";"   'Not .Text*
>
> Also you can use: -
>
> *For d = 0 To grid.Rows.Max   'Instead of Count - 1 *
>
> I have attached the program I used to test this.
> GUITest.tar 
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59569.html
> Sent from the gambas-user mailing list archive at Nabble.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
>
--
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] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
PICCORO McKAY Lenz wrote
> i have a piece of code, from a complex project, that export line by line
> to
> a file, the contents of the gridview, but not the text, only the richtext
> why are not the same?

Try using:

*linefile &= "\"" & grid[d, c].RichText & "\";"   'Not .Text*

Also you can use: -

*For d = 0 To grid.Rows.Max   'Instead of Count - 1 *

I have attached the program I used to test this. 
GUITest.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59569.html
Sent from the gambas-user mailing list archive at Nabble.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


[Gambas-user] gridview contents x,y are default richtext or text?

2017-06-28 Thread PICCORO McKAY Lenz
i have a piece of code, from a complex project, that export line by line to
a file, the contents of the gridview, but not the text, only the richtext
why are not the same?

For d = 0 To grid.Rows.Count - 1
linefile = ""
For c = 0 To grid.Columns.Count - 1
linefile &= "\"" & grid[d, c].text & "\";"
Next
linefile = Left(linefile, -1) & gb.NewLine
parsetofile &= linefile
Next

"parsetofile" its the file to put stream, but the grid object only have
text content in the richtext, and the text not? why if i using .text does
not show nothing?

in the data event i set both, text and richtext! but only got in richtext!
why?

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


[Gambas-user] dialog.autoext wiki invalid references and gambas returns null

2017-06-28 Thread PICCORO McKAY Lenz
i have some code that put
Dialog.title = "Export CSV"
Dialog.filter = ["*.csv", "*.CSV"]
Dialoautoext = True
I cannot found where was added this, due there a only one reference:

http://gambaswiki.org/wiki/comp/gb.form.dialog/dialog/autoext

but giot more depends of the gui or of the reference? at the end of the
description Dialog refers to unknow page, and in my gambas 3.9 instalation
this symbol/property does not exits and get hang

http://gambaswiki.org/wiki/comp/gb.form.dialog?h=1

maybe that wa from older wiki?


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] Logging errors in apps running as Application.Daemon

2017-06-28 Thread PICCORO McKAY Lenz
can you combine that: https://www.gambas-es.org/viewtopic.php?f=5=6396
with a combination of some of that tools:
a) recursive programing or exec callback's (i really not expert in this
with gambas)
b) http://cr.yp.to/daemontools.html
c) http://supervisord.org/

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

2017-06-28 10:22 GMT-04:00 alexchernoff :

> Peace,
>
> Can gbr3 be made to log fatal interpreter errors to file?
>
> Thanks!
>
>
>
>
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/Logging-errors-in-apps-running-as-Application-Daemon-
> tp59450p59565.html
> Sent from the gambas-user mailing list archive at Nabble.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
>
--
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] Logging errors in apps running as Application.Daemon

2017-06-28 Thread alexchernoff
Peace, 

Can gbr3 be made to log fatal interpreter errors to file?

Thanks!




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Logging-errors-in-apps-running-as-Application-Daemon-tp59450p59565.html
Sent from the gambas-user mailing list archive at Nabble.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


[Gambas-user] [Gambas Bug Tracker] Bug #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-06-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

hi zxMarce, really really thanks for your support, about the subquery problem? 
seem when i have open result (opened cursor i think, with forward only) cannot 
made another query without free the previous result object, or cursor.

that's the principal topic in this bug #1102, i'm not expert but the piece of 
code dont work in some odbc cases, specially with freetds (i cited that due i 
already know you can have it and can access a TDS-like db)

query1 = "select col1, col2 from table1 " '
query2 = "select count(*) as total from table1"  '
Try rs2 = $conexionodbc.Exec(query2)
If rs2.Available Then  ' 
print rs2!total
try rs1 = $conexionodbc.Exec(query1)  ' BUG this raise a problem, 
no rows and some times !
Endif

that piece of code works with mysql only.. (and i'm tyred of mysql je jeje)



--
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] [Gambas Bug Tracker] Bug #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-06-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #2 by zxMarce:

As per 
https://stackoverflow.com/questions/33940294/sqlgetstmtattr-output-value-for-sql-attr-row-number,
 it seems that SQLite has issues in their ODBC Driver implementation.
Per ODBC definitions, returning negative row values is illegal for a driver in 
the particular ODBC calls the Gambas driver makes to find out a row count.
That being the case I further patched my internal GetRecordCount() function in 
the ODBC Gambas driver to take these illegal values into account.

The actual problem now is that when this issue hits, GetRecordCount() will 
return the default -1 as count, making iteration in a SQLite table hard.
By "hard" I mean that data retrieved is garbage, and I do not yet know why. I'm 
looking into this latest development now.

Regards,
zxMarce.



--
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] Playing ".swf" files- can play OK in browser but will not open with webviewer in gambas on one PC but works OK on another!

2017-06-28 Thread PICCORO McKAY Lenz
as i told you, u are using webkit and this relies on the support of the qt
installed

so in any case play and use swf files are a guindows only related
implementation..

i recomende that make more deep learn on linux and change the adobe
terrific iplementation

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

2017-06-27 4:19 GMT-04:00 Phil D :

> Hi Piccoro,
>
>
> Many thanks for the speedy reply.
>
>
> The project currently uses the following components:
>
>
> gb
>
> gb.form
>
> gb.image
>
> gb.net
>
> gb.qt4
>
> gb.qt4.ext
>
> gb.qt4.ext
>
> gb.qt4.webkit
>
> gb.vb
>
>
> Regards,
>
> Phil
>
> 
> From: PICCORO McKAY Lenz 
> Sent: 26 June 2017 17:24
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Playing ".swf" files- can play OK in browser
> but will not open with webviewer in gambas on one PC but works OK on
> another!
>
> the capability of playing flash relies on the webkit interface of gui so
> seems the loading of the swf can be overlaping by the html5 implementation
> if you are using qt4 vs qt5 ..
>
> so gambas list will be need more information of your system like version of
> qt and what qt version (4 or 5) are using the interface and also if the
> webkit are in use
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
> [http://www4.clustrmaps.com/counter/index2.php?url=http://
> qgqlochekone.blogspot.com]
>
> McKAY brothers, multimedia emulation and support blogspot.com/>
> qgqlochekone.blogspot.com
> This documentation has two parts, and overall ODBC documentation and a
> specific Devuan ODBC documentation. The firs part are provided due most
> administrators and ...
>
>
>
> 2017-06-26 12:23 GMT-04:00 Phil D :
>
> > Hi!
> >
> >
> > Im making a user interface, and have a flash animation in part of it.
> >
> >
> > I am developing the code on 2 computers: one is a slimmed down PC which
> > will run the interface in the end, this is running linux mint 18. The
> other<
> > http://aka.ms/weboutlook> other is a windows PC running Gambas OS2 under
> [http://www.microsoft.com/en-us/outlook-com/img/Outlook_
> Facebook_Icon-2927f4df28.jpg]
>
> Check out Outlook.com – free, personal email from Microsoft.<
> http://aka.ms/weboutlook>
> aka.ms
> Take your email anywhere you go when you add your free, personal,
> Outlook.com webmail to your Android, iPhone, or Windows mobile devices.
> Send and receive messages with mobile mail from Outlook.com
>
>
> > oracle VM virtualbox. (Both running Gambas 3.7.1)
> >
> >
> > I have the gambas code working nicely on the windows computer, and the
> swf
> > animation file loads into the webviewer and plays without problems. On
> the
> > other computer however the code runs without error, but the animation
> does
> > not show. The computer will open swf files fine, but it seems like gambas
> > is not able to open it.
> >
> >
> > Is there some way to tell gambas how to open these files, some way of
> > fixing an association?
> >
> >
> > (My linux skills are a little limited so please dont spare the detail!)
> >
> >
> > Many thanks,
> >
> > Phil
> > 
> > --
> > 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 Info Page - SourceForge listinfo/gambas-user>
> lists.sourceforge.net
> To see the collection of prior postings to the list, visit the Gambas-user
> Archives. Using Gambas-user: To post a message to all the list members ...
>
>
> >
> 
> --
> 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 Info Page - SourceForge listinfo/gambas-user>
> lists.sourceforge.net
> To see the collection of prior postings to the list, visit the Gambas-user
> Archives. Using Gambas-user: To post a message to all the list members ...
>
>
> 
> --
> 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
>