Re: [Gambas-user] Problem svn6875 and gb.qt

2015-01-31 Thread Benoît Minisini
Le 30/01/2015 22:02, herberth guzman a écrit :
> hi
> Greetings to all
>
> I have the following problem
> with the review svn6875 and gb.qt
>
> the following code does not work me
>
>TabPanelExplorer.Count + = 1
>TabPanelExplorer.Text = sOpen_Spath_XDG
> Sexplorer = New FileView_New (TabPanelExplorer) As "Sexplorer"
> TabPanelExplorer.Children [0] .Name = "Sexplorer" & CStr
> (TabPanelExplorer.Index + 1)
> sExplorer.expand = True
>
> With f_explorer.sExplorer
>   .IconSize = M_Var.iSize_Icons_View
>   .ShowDetailed = M_Var.iShowDetailed
>   .ShowDirectory = M_Var.iShowDirectory
>   .ShowHidden = M_Var.iShowHidden
>   .ShowPreview = M_Var.iShowPreview
>   .Font.Size = M_Var.iSize_Font
>   .Font.Name = M_Var.sName_Font
>   .dir = SOpen_Spath_XDG
>   .background = Color.Transparent
> End With
>
> with gb.gtk3 "Ok"
> with gb.gtk "Ok"
> with gb.gui "Ok"
> with gb.qt "BAD"
>
> with the review svn6874
> with gb.gtk3 "Ok"
> with gb.gtk "Ok"
> with gb.gui "Ok"
> with gb.qt "Ok"
>
> Help please
>
>
> Herberth Guzman

Please provide a project that shows the bug, and explain what does not 
work for you.

Regards,

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to check a number of textboxes for data

2015-01-31 Thread bill-lancaster
This must be simple but I can't see it!

I have a 5 textboxes on a form and wish to ensure that they all contain data
before creating a new record in a database.
By setting them all with Tag ="Data" the following code finds the controls.

Dim c As Control
 For Each c In Me.Controls
  If c.Tag = "Data" Then
   Print c.Name
  Endif
 Next

But how to examine the .text value?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-check-a-number-of-textboxes-for-data-tp50440.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to include a .so library in the .deb package?

2015-01-31 Thread martin p cristia
Hi:

I need to include a .so library in the Installation package , how to do it?

it needs to be at  /usr/lib or it can reside at program folder?

tnx

-- 
Saludos

Ing. Martin P Cristia


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to check a number of textboxes for data

2015-01-31 Thread Jussi Lahtinen
Does this work?


Dim o As Object

 For Each o In Me.Controls
  If o.Tag = "Data" Then ' Optionally If o Is TextBox Then
   Print o.Name;; o.Text
  Endif
 Next



Jussi



On Sat, Jan 31, 2015 at 5:07 PM, bill-lancaster 
wrote:

> This must be simple but I can't see it!
>
> I have a 5 textboxes on a form and wish to ensure that they all contain
> data
> before creating a new record in a database.
> By setting them all with Tag ="Data" the following code finds the controls.
>
> Dim c As Control
>  For Each c In Me.Controls
>   If c.Tag = "Data" Then
>Print c.Name
>   Endif
>  Next
>
> But how to examine the .text value?
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-check-a-number-of-textboxes-for-data-tp50440.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to check a number of textboxes for data

2015-01-31 Thread bill-lancaster
Thanks Jussi - it works fine



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-check-a-number-of-textboxes-for-data-tp50440p50443.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] IsPunct

2015-01-31 Thread Fabien Bodard
IsPunct Tests if a string contains only printable non-alphanumeric characters.


Is there a function that return if a string contain only printable characters ?

-- 
Fabien Bodard

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] R: IsPunct

2015-01-31 Thread Ru Vuott
Hello Fabien,

I use function from C :  int isprint(int c)

Its declaracion in Gambas obviously is:

   Private Extern isprint(num As Integer) As Integer In "libc:6"

:-D


Example:
' int isprint(int c)
Private Extern isprint(num As Integer) As Integer In "libc:6"

Public Sub Main()
 
   Print CBool(isprint(10)), CBool(isprint(70))
 
End





Bye
vuot





Sab 31/1/15, Fabien Bodard  ha scritto:

 Oggetto: [Gambas-user] IsPunct
 A: gambas-user@lists.sourceforge.net
 Data: Sabato 31 gennaio 2015, 17:29
 
 IsPunct Tests if a string contains
 only printable non-alphanumeric characters.
 
 
 Is there a function that return if a string contain only
 printable characters ?
 
 -- 
 Fabien Bodard
 
 --
 Dive into the World of Parallel Programming. The Go Parallel
 Website,
 sponsored by Intel and developed in partnership with
 Slashdot Media, is your
 hub for all things parallel software development, from
 weekly thought
 leadership blogs to news, videos, case studies, tutorials
 and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] R: IsPunct

2015-01-31 Thread Ru Vuott
Adde exemplum:


' int isprint(int c)
Private Extern isprint(num As Integer) As Integer In "libc:6"

Public Sub Main()

  Dim s As String = "Gam\nbas"
  Dim bb As Byte[]
 
  bb = Byte[].FromString(s)
  
For Each s In bb
  Print CBool(isprint(s))
Next
 
End








Sab 31/1/15, Fabien Bodard  ha scritto:

 Oggetto: [Gambas-user] IsPunct
 A: gambas-user@lists.sourceforge.net
 Data: Sabato 31 gennaio 2015, 17:29
 
 IsPunct Tests if a string contains
 only printable non-alphanumeric characters.
 
 
 Is there a function that return if a string contain only
 printable characters ?
 
 -- 
 Fabien Bodard
 
 --
 Dive into the World of Parallel Programming. The Go Parallel
 Website,
 sponsored by Intel and developed in partnership with
 Slashdot Media, is your
 hub for all things parallel software development, from
 weekly thought
 leadership blogs to news, videos, case studies, tutorials
 and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IsPunct

2015-01-31 Thread Benoît Minisini
Le 31/01/2015 17:29, Fabien Bodard a écrit :
> IsPunct Tests if a string contains only printable non-alphanumeric characters.
>
>
> Is there a function that return if a string contain only printable characters 
> ?
>

Why do you use that?

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem svn6875 and gb.qt

2015-01-31 Thread herberth guzman
Hi Benoit

thanks for you help
i share the link the example

https://drive.google.com/file/d/0B2gI4jYOofp0WmQtRzFhcDRhcGs/view?usp=sharing

for the moment i work with svn_rev6874
svn_rev6875 and 6876 no working for my with gb.qt4

waiting for your help


Herberth Guzman
https://plus.google.com/u/0/105457212371116775367/posts
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to include a .so library in the .deb package?

2015-01-31 Thread T Lee Davidson
I haven't actually done this, so I hope someone will correct me if I am wrong. 
But, I believe you would list your .so file in the Extra Files (step #8) 
section 
of the "Make installation package" process.


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 01/31/2015 10:19 AM, martin p cristia wrote:
> Hi:
>
> I need to include a .so library in the Installation package , how to do it?
>
> it needs to be at  /usr/lib or it can reside at program folder?
>
> tnx
>

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 599 in gambas: deb package of component: icons not found

2015-01-31 Thread gambas
Updates:
Status: Fixed
Labels: -Version Version-TRUNK

Comment #1 on issue 599 by benoit.m...@gmail.com: deb package of component:  
icons not found
https://code.google.com/p/gambas/issues/detail?id=599

It should be fixed in revision #6878.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IsPunct

2015-01-31 Thread Fabien Bodard
For testing an user entry in a personnal project

2015-01-31 18:41 GMT+01:00 Benoît Minisini :
> Le 31/01/2015 17:29, Fabien Bodard a écrit :
>> IsPunct Tests if a string contains only printable non-alphanumeric 
>> characters.
>>
>>
>> Is there a function that return if a string contain only printable 
>> characters ?
>>
>
> Why do you use that?
>
> --
> Benoît Minisini
>
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error.Text in Application_Error()?

2015-01-31 Thread Tobias Boege
Hi,

is the Error.Text property supposed to be empty in Application_Error()? The
attached script exhibits this behaviour. I'm not sure if it was always this
way...

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
#!/usr/bin/gbs3

Public Sub Main()
  Print 1 / 0
End

Public Sub Application_Error()
  Print "---"
  Print Error.Text
  Print "---"
End
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user