[Gambas-user] Custom Control Icon

2019-04-04 Thread bill-lancaster
I haven't yet been able to install the control's icon successfully.
I have installed an icon in the .hidden/control folder of the project but
the icon shown in collection of controls is a default one with no icon.
Any advice would be welcome

Kubuntu 18.04
Gambas 3.12.2



--
Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html


___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] textarea won't accept text

2017-07-29 Thread bill-lancaster via Gambas-user
Sorry, my mistake.
The textarea control works fine if I don't intercept key strokes. 
(Form_KeyPress())
Thanks again for the responses



--
View this message in context: 
http://gambas.8142.n7.nabble.com/textarea-won-t-accept-text-tp59911p59961.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] textarea won't accept text

2017-07-28 Thread bill-lancaster via Gambas-user
Thanks for the ideas, Textarea works in other projects.
A copy of the the offending project is attached.
MusicLibraryCreate-0.gz
  

Meanwhile, I'll see if I can make a simpler version.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/textarea-won-t-accept-text-tp59911p59933.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] textarea won't accept text

2017-07-28 Thread bill-lancaster via Gambas-user
I'm obviously missing something here but have just added a textarea control
to my form.
I can display text in it from code but can only enter one character.
Any ideas?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/textarea-won-t-accept-text-tp59911.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] Strange behaviour of File.Read

2017-06-22 Thread bill-lancaster via Gambas-user
The directory string was written from a directory chooser, originally via a
string variable - this is where the quotes came from.
Using a variant produces a string without quotes and presumably without \n
Thanks again



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467p59493.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] Strange behaviour of File.Read

2017-06-21 Thread bill-lancaster via Gambas-user
Thanks so much for the insight.

IsDir(Trim(s)) still produced False, but I tried saving the path with a
Variant instead of a string and now I get True

Thanks again



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467p59481.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] Strange behaviour of File.Read

2017-06-21 Thread bill-lancaster via Gambas-user
I must be missing something - any ideas?
Gambas3.9.2
Components, gb.form, gb,gui, gb.image

This is the code:-

Public Sub Button1_Click()
Dim s As String
  s = File.Load(User.Home &/ "Pictures/PhotoFolder.txt")
  Print s
  Print IsDir(s)
  Print IsDir("/home/bill/Pictures/Family/Visits/2000-07-29")
End

This is the output:-

"/home/bill/Pictures/Family/Visits/2000-07-29"

False
True





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467.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] rdir returns unwanted directories

2017-05-28 Thread bill-lancaster
Thank you Charlie,
In fact I'm looking for all the image files in the sPathThumbs folder



--
View this message in context: 
http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59209.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] rdir returns unwanted directories

2017-05-28 Thread bill-lancaster
By specifying only files of type png or jpg directories would be  excluded
any way.
So this would produce the same result:-
sFileArray = RDir(sPathThumbs, "*.{png,jpg}")

Any way, I must thank you because I'd been looking for a way to specify
multiple file types and you've answered my question!

Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59207.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] rdir returns unwanted directories

2017-05-28 Thread bill-lancaster
This line of code returns files AND directories

sFileArray = RDir(sPathThumbs, "*", gb.File)

Any ideas would be welcome

Gambas 3.9.2
Kubuntu 16.10



--
View this message in context: 
http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204.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] Help needed with drag icon

2017-04-28 Thread bill-lancaster
OK, I had a feeling I was being stupid!
I don't need to show an icon anyway, just draw a shape that tracks the mouse
during the drag event.
Thanks anyway.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829p58835.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] Help needed with drag icon

2017-04-28 Thread bill-lancaster
Thanks Guys,
Yes, I had looked at those examples already.
They both have code like:-
Drag.Icon = Last.Picture
Last.Drag(Last.Picture.Image)

or 
Last.Drag(Last.Tag) 
Drag.Icon = Picture["icon:/32/add"] 

Problem is that I don't have a last.image or a last.tag.

I'm dragging a shape that has been created in code.
Imagine an empty drawing area, click at some point then drag.  How would you
show an icon at that point?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829p58834.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] Help needed with drag icon

2017-04-27 Thread bill-lancaster
I have a DrawingArea with a series of images drawn within.
I can move an image within the DrawingArea but how to show a drag,icon while
the image is being dragged?

Public Sub dwgImage2_MouseDrag()
Drag.Icon = Picture["icon:/64/linux"]
End

This code doesn't show any icon during the drag operetraion.

Any advice would be appreciated





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829.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] Look up menu items

2017-04-22 Thread bill-lancaster
Thanks Tobi



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Look-up-menu-items-tp58779p58785.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] Look up menu items

2017-04-21 Thread bill-lancaster
I'd like to read through all the menu items from code in a project.  The menu
items were created using the Menu Editor
Can anyone point me in the right direction?

Gambas 3.9.2



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Look-up-menu-items-tp58779.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] EXEC progress

2017-03-22 Thread bill-lancaster
Yes, a progress bar or even just a label showing which operation is current.
hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As
"Process"

with

Public Sub Process_Read()
Dim sData As String
Read #Last, sData, -255 
   Label1.caption = sData
End

doesn't show anything

This works, but is not very elegant

 hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] For Input
 Do While hProc.State = 1
  Wait
 Loop
 Label1.caption = "process 1 completed"




--
View this message in context: 
http://gambas.8142.n7.nabble.com/EXEC-progress-tp58674p58679.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] EXEC progress

2017-03-22 Thread bill-lancaster
I have a series of EXEC command line jobs.  The whole lot takes some time and
it would be nice to have some indication of progress.
Because there's a series of EXECs, I'm using the 'Wait' function.  In this
case it seems that 'Process_Read' doesn't report what's happening.
Any advice would be welcome

Gambas 3.9.2
Kubuntu 14.04



--
View this message in context: 
http://gambas.8142.n7.nabble.com/EXEC-progress-tp58674.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] Runtime Libraries in Gambas 3.9.2

2017-02-17 Thread bill-lancaster
Alles Gute indeed!
Thanks Christof.  The addition of the vendor info made all the difference.

-- 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Runtime-Libraries-in-Gambas-3-9-2-tp58484p58502.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] Runtime Libraries in Gambas 3.9.2

2017-02-16 Thread bill-lancaster
Have just upgraded my Gambas to 3.9.2 from a much earlier v3.
The way libraries are managed has changed and I don't quite understand how
the the arrangement works.
Can someone point me to some help on this matter?
Thanks



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Runtime-Libraries-in-Gambas-3-9-2-tp58484.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] detecting menus actions

2017-01-25 Thread bill-lancaster
Is it possible to log which menu items have been selected?
In other words, can I create a general event to catch and identify menu
activity?

Gambas 3.8.2



--
View this message in context: 
http://gambas.8142.n7.nabble.com/detecting-menus-actions-tp58302.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


[SPAM] ☠ amazing!

2016-06-01 Thread bill-lancaster
Hey,
You won't believe what I've just read, this is so amazing, read more at  


Good wishes, bill-lancas...@lineone.net

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] IDE - a stupid question

2015-12-16 Thread bill-lancaster
This is embarrassing!
In the Project Properties panel I had Control Properties/Hierarchy, a Help
Panel and below that a panel with all the controls available.  I
accidentally hit a key combination that caused the controls panel to
disappear.
How can I get it back?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IDE - a stupid question

2015-12-16 Thread bill-lancaster
Ah!
Yes, F4 does control the whole panel but the lower part (where all the
controls are) can be made to disappear (actually made very small) by
dragging the border.  This I must have done with some clumsy mouse movement.
Thanks for all your help.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025p55029.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fw: new message

2015-11-18 Thread bill-lancaster
Hey!

 

New message, please read 

 

bill-lancas...@lineone.net



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Playing dv video files

2015-06-06 Thread bill-lancaster
This code works:-
hProc = Exec [mplayer, -fps, 25, -wid, dwgMoviePlayer.Handle,
User.Home / aa.dv] 
The dv file plays in the drawing area.
But it doesn't work when adding 'For Read Write As Process' to the line.
Any ideas would be welcome



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Playing-dv-video-files-tp51701.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Entry value for gambas project

2015-04-21 Thread bill-lancaster
I want to start a Gambas programme from another Gambas programme.
What would be the best way to pass a value to the programme?

At the moment I write the value to a file from the first programme and read
it in the second one. then open the ne prog with:-
Exec [User.Home / GambasFolder/GambasExec/MusicFiling.gambas]
where the executable version of the sencond programme resides.

Perhaps gb.settings would be a bit more elegant but maybe the best would be
to use the _new() sub in the second programme but how to call the second
programme?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Entry-value-for-gambas-project-tp51346.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Entry value for gambas project

2015-04-21 Thread bill-lancaster
Thank you guys - it's just what I was looking for
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Entry-value-for-gambas-project-tp51346p51352.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Change value shown in Tray Icon

2015-03-12 Thread bill-lancaster
My mistake was to use a .png file instead of an image value.
It's working fine now
Thanks



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812p50870.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


Re: [Gambas-user] Change value shown in Tray Icon

2015-03-10 Thread bill-lancaster
Thanks Benoît,
Please see attached.
a10-0.gz http://gambas.8142.n7.nabble.com/file/n50866/a10-0.gz  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812p50866.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] Change value shown in Tray Icon

2015-03-06 Thread bill-lancaster
Hello,
I wish to display a number (say 1 to 20) in a tray icon.
I can generate an icon sized .png file with with the value in it but the
displayed icon does not show the changed value.
Is is possible to do this?  If so, what would be the best way to do it?
Thanks




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812.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


Re: [Gambas-user] Custom library function returns wrong value

2015-02-05 Thread bill-lancaster
Thanks Fabien,
Yes, I have done that and the problem is fixed.
It was interesting that the same function in different locations can produce
different answers.  I suppose that is the risk with float values.
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542p50544.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] Custom library function returns wrong value

2015-02-05 Thread bill-lancaster
I have a Procedure in MyLib to convert a 'money' string to integer value.

Static Public Procedure StrMoneyToInt(sVal As String) As Integer
Dim f As Float
 f = Val(sVal)
 Return f * 100
End

Some values are incorrectly returned.  For example:-

This code calls the procedure

Dim sMoney As String
 sMoney = 38.37
 f = Val(sMoney)
 Print f;; f * 100;; MyLib.StrMoneyToInt(sMoney)
Gives:-
38.37 3837 3836

Any ideas?

Gambas3.5.3



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542.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


Re: [Gambas-user] Problem with OPTIONAL method declaration

2015-02-05 Thread bill-lancaster
Thank you both - I'm learning!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-with-OPTIONAL-method-declaration-tp50515p50541.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] Problem with OPTIONAL method declaration

2015-02-04 Thread bill-lancaster
I have a form with:-

Public Sub _new(Optional iNr As Integer)   
 iStatementNr = iNr
End

When the form is opened with:-

Dim hForm As FFormName
 hForm = New FFormName1019)
 hForm.ShowModal

I get this error message - Type mismatch: wanted control, got integer
instead

Wheras just:-
 FFormName.ShowModal()
Works OK

Any help would be appreciated
Gambas3.5.3



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-with-OPTIONAL-method-declaration-tp50515.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


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] 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


Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Thanks for the several ideas.
The example from Ru works except when the user scrolls down, then the
balloon is placed well below the gridview control because the cell position
has moved relative to the control.

Using the GridView[Row, Column].EnsureVisible() has the same problem.

BTW the control is destroyed after Balloon.Delay

I've attached a simple example.

Gridview2-0.gz http://gambas.8142.n7.nabble.com/file/n50090/Gridview2-0.gz  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50090.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


Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Sorry about this,
I thought I'd tried this already - it works fine
Public Sub GridView1_MouseDown()
 Balloon.Info(GridView1[GridView1.Row, GridView1.Column].Text,
GridView1, Mouse.X, Mouse.Y)
End




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50094.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] Gridview cell coordinates

2015-01-02 Thread bill-lancaster
I want to position a balloon by the gridview cell that was right clicked.
It is necessary to scroll down to the lower rows.
I'm struggling with this so any suggestion as to the best way to do this
would be welcome.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069.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


Re: [Gambas-user] Gridview sort function

2014-12-28 Thread bill-lancaster
Bruno and Lee, thank you for the Christmas present!
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49878.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


Re: [Gambas-user] Gridview sort function

2014-12-24 Thread bill-lancaster
Thanks for taking the time Lee,
In fact I made that error when composing a simple example, my main programme
didn't have that error.
To make things simple for myself I toggle a boolean value every time the
gridview1_ColumnClick event occurs rather than use the Ascending value.
Thanks again
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49869.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] Gridview sort function

2014-12-23 Thread bill-lancaster
After setting the sort option (TableView1.Sorted = True) does a click on a
column change the state of TableView1.Columns.Sort or do I need to change it
myself?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863.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


Re: [Gambas-user] Gridview sort function

2014-12-23 Thread bill-lancaster
Thanks for that Lee,

Please see the attached example.  The result of the column_click event does
not agree with the results of button1_click which reports on the state of
.Ascending.  In fact after two column_clicks there is no change of state
with the Ascending property with the column_click event.

Any thoughts?

Gambas 3.5.3
Kubuntu 14.04 TableviewExample-0.gz
http://gambas.8142.n7.nabble.com/file/n49866/TableviewExample-0.gz  




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49866.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] Problem running mplayer from EXEC

2014-10-20 Thread bill-lancaster

this code:-

Exec [mplayer, /folder/somemusic.mp3] 

runs ok, but when trying to capture the mplayer ouput by adding] 'For Read
As Process_Run', mplayer doesn't run and this message is displayed. in Sub
Process_Run_Read()

MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team

Terminal type `unknown' is not defined.

Playing /folder/somemusic.mp3.

libavformat version 54.20.4 (external)
Mismatching header version 54.20.3

libavformat file format detected.

Any ideas would be welcome.

Kubuntu 14.04 (64b)
Gambas 3.5.3



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem running mplayer from EXEC

2014-10-20 Thread bill-lancaster
Thanks Tobias that produced a result - the file plays and mplayers output is
captured.
However, I used to get a handy measure of progress but now:-

A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 
A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 
A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 
A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 
A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 
A:   0.1 V:-9223372036854775808.0 A-V:  0.000 ct:   -nan   0/  0 ??% ??%
??,?% 

Until recently,   For Read Write As Process_Run worked fine but I don't if
its since upgrading Kubuntu or Gambas



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844p48846.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem running mplayer from EXEC

2014-10-20 Thread bill-lancaster
Thank you Benoît , I'll get on to it!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844p48853.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Tableview behaviour

2014-10-04 Thread bill-lancaster
The attached example has a tableview with values in column 0, click on one of
those values and it goes into column 1.  Alternatively a new value may be
entered in column 1.
It all works fine but the return key causes unwanted data in column 1.
Where am I going wrong?
TableviewExample.gz
http://gambas.8142.n7.nabble.com/file/n48583/TableviewExample.gz  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Tableview-behaviour-tp48583.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fit jpg into drawingarea

2014-07-09 Thread bill-lancaster
Sorry, I wasn't displaying the whole of the drawingarea!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47343.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
I thought I'd sorted this a long time ago but need some help.

hImage = Image.Load(/home/xxx.jpg)  '(the jpg file is a scan of an A4
document)
Public Sub DrawingArea1_Draw()
  Draw.Image(hImage, 0, 0)
End

Whatever I try I can never fit the jpg image into the drawing area, this is
the nearest I get:-
 Draw.Image(hImage, 0, 0, DrawingArea1.Width, DrawingArea1.Height)
But the top of the image is missing.

Where am I going wrong?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
Thanks, please see attached.




--
View this message in context: 
http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47338.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster




--
View this message in context: 
http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47339.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fit jpg into drawingarea

2014-07-08 Thread bill-lancaster
Thanks - please see attached
a3-0.gz http://gambas.8142.n7.nabble.com/file/n47340/a3-0.gz  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47340.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-17 Thread bill-lancaster
Thanks gianluigi
Not speaking Italian I wasn't confident in following the instructions in the
link - sorry.
Thanks also Jesus-21, but still had errors.

I found this link:-
http://kalaharix.wordpress.com/2012/04/22/installing-gambas-3-on-ubuntu-12-04-lts-precise-pangolin/
It worked fine



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-installing-Gambas-3-5-35-tp46994p47027.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread bill-lancaster
This is what I have done so far:-
1 Download latest gambas version
2 In terminal CD to install directory
3 run ./reconf-all
4 run ./configure -C
so far everything seems OK
5 run make - two error reported.  Hers is the result:-
make  all-recursive
make[1]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3'
Making all in main
make[2]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main'
make  all-recursive
make[3]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main'
Making all in gbc
make[4]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/gbc'
  CC   gbc3-gbc.o
  CCLD gbc3
  CC   gba3-gba.o
  CCLD gba3
  CC   gbi3-gbi.o
  CCLD gbi3
make[4]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/gbc'
Making all in gbx
make[4]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/gbx'
  CC   gbx3-gbx.o
  CCLD gbx3
make[4]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/gbx'
Making all in lib
make[4]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib'
Making all in .
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib'
Making all in debug
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/debug'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/debug'
Making all in eval
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/eval'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/eval'
Making all in db
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/db'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/db'
Making all in compress
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/compress'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/compress'
Making all in vb
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/vb'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/vb'
Making all in option
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/option'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/option'
Making all in geom
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/geom'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/geom'
Making all in draw
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/draw'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/draw'
Making all in image
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/image'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/image'
Making all in gui
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/gui'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/gui'
Making all in gui.opengl
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/gui.opengl'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/gui.opengl'
Making all in image.effect
make[5]: Entering directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/image.effect'
  CXX  gb_image_effect_la-main.lo
../../libtool: line 1128: g++: command not found
make[5]: *** [gb_image_effect_la-main.lo] Error 1
make[5]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib/image.effect'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/bill/GambasFolder/GambasSource/gambas3-3.5.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread bill-lancaster
Ah!  This is a fresh install of Kubuntu 14.04
I don't know anything about g++ but will look into it.
Thanks for the reply





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-installing-Gambas-3-5-35-tp46994p46996.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] DateChooser time value

2014-05-29 Thread bill-lancaster
A DateChooser control when set mode = time only does not respond to the
change event.

Public Sub DateChooser3_Change()

 Print time;; DateChooser3.Value

End

prints nothing

Is this a bug or am I doing something wrong?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/DateChooser-time-value-tp46715.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] DateChooser time value

2014-05-29 Thread bill-lancaster
Sorry, Should have said I'm using Gambas 3.5.90 running in Kubuntu 13.10



--
View this message in context: 
http://gambas.8142.n7.nabble.com/DateChooser-time-value-tp46715p46716.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] displaying pnm and pdf files

2014-05-23 Thread bill-lancaster
I have a collection of documents in both pdf  pnm formats and wish to view
them with the facility to enlarge the image.
The gb.pdf is fine for pdf items while drawingarea seems suitable for
enlarging pnm items
What is the best way of doing this?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/displaying-pnm-and-pdf-files-tp46649.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] displaying pnm and pdf files

2014-05-23 Thread bill-lancaster
Thank you Fabien,  I now have both pnm  pdf items displayes in a drawing
area.
Regards



--
View this message in context: 
http://gambas.8142.n7.nabble.com/displaying-pnm-and-pdf-files-tp46649p46652.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FileChooser Filter

2014-02-21 Thread bill-lancaster
I have a list of files including some .jpg.
Setting FileChooser1.filter to  [*.jpg;*.jpeg;, Photo files] is fine.
But can I exclude certain files from the display i.e. those whose name start
with GPR (GPR0098.jpeg for example)?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/FileChooser-Filter-tp45812.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-07 Thread bill-lancaster
Oh!  I should pay better attention.
Thanks again



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45583.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
I thought I had seen an added feature to gridview where the ColumnClick event
results in a small indicator in the column header but can't find it now.
Anyway, such a feature would be helpful to show which column in a table had
been sorted (and also if 'up' or 'down' sorted).
Any ideas?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
Thanks Jorge, can the indicator be changed to point up as well as down?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45570.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Anotating a pdf image

2014-01-12 Thread bill-lancaster
Thanks for the ideas and encouragement Tobi
I've got something working now.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Anotating-a-pdf-image-tp45108p45140.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Anotating a pdf image

2014-01-10 Thread bill-lancaster
I have a number of files in pdf format and I'd like to add some text to the
image and save as a pdf file.
Is this possible?
If so, some hints as to how would be appreciated.

Gambas 3.5.1
Kubuntu 13.04



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Anotating-a-pdf-image-tp45108.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Writing a text file from the contents of a text area

2013-12-14 Thread bill-lancaster
You could try
 File.Save(~/test.txt, TextArea1.Text)
Although this doesn't answer your question about the OPEN statement



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Writing-a-text-file-from-the-contents-of-a-text-area-tp44675p44676.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Blob type and segmentation error

2013-12-12 Thread bill-lancaster
Thank you Tobias and sorry Benoit.

Here is a small programme:-


Public hConn As New Connection
Public hResult As Result

Public Sub _new()
 With hConn
  .Type = MySQL
  .Host = localhost
  .Login = root  
  .Port = 3306
  .Name = xxx
  .Password = yyy 
  .Open()
 End With
 hResult = hConn.Find(maildata, DeletedFlag IS NOT TRUE AND Type =
'Received' ORDER BY Date DESC)
 hResult.MoveFirst
End

Public Sub btnNext_Click()
Dim bTemp As Blob
 TextBox1.Text = hResult!Date  
 TextBox2.Text = hResult!Address 
 TextBox3.Text = hResult!Subject
 bTemp = hResult!MsgBlob
 Print bTemp.Length
 CheckAttachments(bTemp)
 hResult.MoveNext
End

Private Function CheckAttachments(sBody As Blob)
 File.Save(~/aaa, hResult!MsgBlob)
End


This gives a segmenation error, in this case when bTemp.Length = 1246339
Other records with small values of bTemp don't cause a problem.

Gambas 3.5

[System]
OperatingSystem=Linux
Kernel=3.8.0-32-generic
Architecture=x86_64
Distribution=Ubuntu 13.04
Desktop=KDE4
Theme=Oxygen
Language=en_US.UTF-8
Memory=3821M
[Libraries]
Cairo=libcairo.so.2.11200.14
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.6.0
GTK+=libgtk-x11-2.0.so.0.2400.17
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.4
SDL=libSDL-1.2.so.0.11.4



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Blob-type-and-segmentation-error-tp44631p44641.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Blob type and segmentation error

2013-12-12 Thread bill-lancaster
This may be significant, the mysql db was created using MySQL Workbench and
field (column) MsgBlob is set as data type LONGBLOB



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Blob-type-and-segmentation-error-tp44631p44642.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Blob type and segmentation error

2013-12-12 Thread bill-lancaster
Benoît,
BlobTest-0.0.1.tmp.tar.gz
http://gambas.8142.n7.nabble.com/file/n44644/BlobTest-0.0.1.tmp.tar.gz  
and some mysql
BackUpOfBlobTest.sql
http://gambas.8142.n7.nabble.com/file/n44644/BackUpOfBlobTest.sql  
Hope this is OK.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Blob-type-and-segmentation-error-tp44631p44644.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Blob type and segmentation error

2013-12-11 Thread bill-lancaster
I have a mysql table with a blob type field, this seems to cause Segmentation
Fault (11) or Aborted(6) crashes.
Is this a known problem? (other postings seem to suggest this)
Or is there a work-around?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Blob-type-and-segmentation-error-tp44631.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problems reading pdf attachment using pop3 client

2013-12-09 Thread bill-lancaster
Thank you Benoît - it works fine now!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problems-reading-pdf-attachment-using-pop3-client-tp44464p44592.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problems reading pdf attachment using pop3 client

2013-11-30 Thread bill-lancaster
Using the pop3Client to download emails into a mysql db sometimes attached
pdf files are unreadable.

Have sent a pdf document to myself, email message =  testemail
http://gambas.8142.n7.nabble.com/file/n44464/testemail  
Then, using pop3_client it is saved to the database into a string field
using .Message.ToString()

My posting of 27 October is similar (I thought I'd solved it then!)



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problems-reading-pdf-attachment-using-pop3-client-tp44464.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problems reading pdf attachment using pop3 client

2013-11-30 Thread bill-lancaster
Some further information.

If I download emails containing pdf files using .Message.ToString() and save
the email to file then try to decode the attachment with-:

Dim hMimeMessage As MimeMessage
Dim hMimePart As MimePart
Dim sTemp As String
 Dialog.Title = Select a text file
 If Dialog.OpenFile() Then Return
 sTemp = File.Load(Dialog.Path)
 hMimeMessage = New MimeMessage(sTemp)
 For Each hMimePart In hMimeMessage.Part 
  If hMimePart.Disposition = attachment Then
   File.Save(User.Home / New Folder / hMimePart.FileName,
Mime.Decode(sTemp, hMimePart.ContentEncoding))   
  Endif
 Next

The saved file is unreadable.
kmail however can open the saved email and displays the attachment OK.

BTW I'm using Gambas 3.5



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problems-reading-pdf-attachment-using-pop3-client-tp44464p44465.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mime.decode seems to fail with a pdf attachment

2013-10-27 Thread bill-lancaster
I have 3 emails from the same source, each contains a pdf attachment.  Two of
the decode sucessfully to a pdf file but one has quit a bit of detail
missing when compared with the original.
Here is some simplified code to show how I'm decoding the email:-

 MailClient.Open()
 Wait
 For Each oMail In MailClient
  oMimeMessage = New MimeMessage(oMail.Message.ToString())
  If oMimeMessage.Part.Count = 3 Then File.Save(User.Home /
oMimeMessage.Part[2].FileName  i, Mime.Decode(oMimeMessage.Part[2].Data,
oMimeMessage.Part[2].ContentEncoding))
  Inc i
 Next
 Wait
 MailClient.Close

Please note the  If oMimeMessage.Part.Count = 3  is just a way to process
only the emails in the list that have attachments.  Also since all three
have the same filename, I've added the integer 'i' to the filename.

Hope this makes a bit of sense to the list!

The new pop3 component is working well so any advice would be welcome.

Gambas 3.4.2



--
View this message in context: 
http://gambas.8142.n7.nabble.com/mime-decode-seems-to-fail-with-a-pdf-attachment-tp43877.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mime.decode seems to fail with a pdf attachment

2013-10-27 Thread bill-lancaster
Thanks Benoît:-
wast http://gambas.8142.n7.nabble.com/file/n43887/wast  





--
View this message in context: 
http://gambas.8142.n7.nabble.com/mime-decode-seems-to-fail-with-a-pdf-attachment-tp43877p43887.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mime.decode seems to fail with a pdf attachment

2013-10-27 Thread bill-lancaster
Benoît, 
I obtained the email provided to you by 1)forwarding it to another server,
one which enable me to save it ti disc.
Putting that file through the mime.decode process make a good pdf.
It seems that my problems have arisen after downloading the email and saving
it to a mysql db ( as type 'blob') and then decoding it.  It was saved to
the db using .Message.ToString().
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/mime-decode-seems-to-fail-with-a-pdf-attachment-tp43877p43888.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.report, help wanted to write a simple report

2013-10-16 Thread bill-lancaster
I would like a simple report, one page, a number of boxes with fixed and
variable information.
Have tried to manipulate the example programme (which is far more complex
than my needs) but can't see how to controll the position of reportlables.
Also, in a blank project, a new Report is created, a ReportLabel is inserted
with some text but nothing shows on print preview.
Have tried embedding reportlables in various combinations of containers but
still nothing shows.
Any advice would be welcome.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gb-report-help-wanted-to-write-a-simple-report-tp43672.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.report, help wanted to write a simple report

2013-10-16 Thread bill-lancaster
Thanks for the reply - it helped a bit.
I have two reportlables in a ReportBox in a ReportVBox.
The text in both labels is showing in preview but the second label is
over-writing the first.
How would I have the second label display exactly below the first.  BTW the
first label will have multiple lines



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gb-report-help-wanted-to-write-a-simple-report-tp43672p43678.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.report, help wanted to write a simple report

2013-10-16 Thread bill-lancaster
Making some progress now, please regard this post as closed.
Thanks again.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gb-report-help-wanted-to-write-a-simple-report-tp43672p43682.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] pop3client attachment

2013-09-27 Thread bill-lancaster
Some advice on how to extract attachment s woule be appreciated.

I have a message (stored at hResultGlobal!MsgWhole) known to contain an
attached .pdf

 hMimeMessage = New MimeMessage(hResultGlobal!MsgWhole)
 hMimeMessage.Headers[Content-Type] produces - multipart/mixed;
boundary=MIME delimiter for sendEmail-530503.088449226.
but
 hMimeMessage.Headers[Content-Disposition] gives a blank string
but I know the message contains the line - 'Content-Disposition: attachment;
filename=bg01.pdf'




--
View this message in context: 
http://gambas.8142.n7.nabble.com/pop3client-attachment-tp43383.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] pop3client attachment

2013-09-27 Thread bill-lancaster
Thank you Benoit,




--
View this message in context: 
http://gambas.8142.n7.nabble.com/pop3client-attachment-tp43383p43392.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Tableview row does not show as selected

2013-09-20 Thread bill-lancaster
The solution is to rebuild a fresh project and the problem goes away!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Tableview-row-does-not-show-as-selected-tp43269p43290.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Tableview row does not show as selected

2013-09-18 Thread bill-lancaster
 gridview 'mode' is set to single but clicking on a row does not highlight
the row.
gdvIncoming_Click() produces:-  gdvIncoming.Row = 6 ( or whatever row was
clicked)

gdvIncoming.Rows[gdvIncoming.Row].Selected = True
also does not hightlight the row.

Where am I going wrong?

Distribution=Ubuntu 13.04
Desktop=KDE4
Theme=Oxygen
Language=en_US.UTF-8

[Libraries]
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.17
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.4
SDL=libSDL-1.2.so.0.11.4



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Tableview-row-does-not-show-as-selected-tp43269.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] POP3 email body

2013-09-15 Thread bill-lancaster
I'm struggling with this.
 For Each oMail In MailClient
  Print ; oMail.Message.Subject;; oMail.Message.Sender
Wait
Next
 This works fine but how to retrieve the body of the message?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/POP3-email-body-tp43248.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Pop3

2013-09-15 Thread bill-lancaster
 Print   oMail.Message.Body
gives:-
 (MimePart 0x1f1fad8)
!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/POP3-email-body-tp43248p43250.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] pop3

2013-09-15 Thread bill-lancaster
Oh!!!
I thought I'd tried that and many others - sorry to waste your time.

Yes - its fine.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/POP3-email-body-tp43248p43252.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] POP3 message date time

2013-09-14 Thread bill-lancaster
Have just started playing with POP3 and can't see a way of retrieving the
date/time of a message.
Its not part of  _Pop3Client_Message.
I guess its buried in the message header but



--
View this message in context: 
http://gambas.8142.n7.nabble.com/POP3-message-date-time-tp43243.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas in background

2013-09-09 Thread bill-lancaster
Thank you Benoit, but the sample programme quits immediatly still.

I have only just installed G 3.4.2 so presumably it current.

I've never been involved with revision numbers so am embarrassed to say I've
no idea if I have revision #5836 




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-in-background-tp43192p43195.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas in background

2013-09-08 Thread bill-lancaster
In April 2010 I asked this question.

Is it possible to run a Gambas programme with only a trayicon showing? 

Caveat posted an excellant example which worked for me at the time.
http://gambas.8142.n7.nabble.com/Gambas-in-background-td30383.html#a30384
Have just tried to re-create it and can't get it to run properly.

The posting say My FMain is the same FMain as I used for Rolf's question
but I can't find what this refers to so my FMain is empty. 

When the programme is run, an icon shows beiifly in the tray and then the
programme quits.

Clearly I'm missing something that I hope is obvious to others.

Gambas 3.4.2
Kubuntu 13.04



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-in-background-tp43192.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Message Box Already Displayed

2013-08-10 Thread bill-lancaster
Thanks Tobi

Yes, the problem was assocaited with an event.

Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Message-Box-Already-Displayed-tp42758p42767.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mysql seach string contains single quote

2013-08-10 Thread bill-lancaster
Have seen a couple of posts that refer to this but can't quite understand the
answer

I have a database which conntains a string  'Queen's Head'

so 
 hResult = hConn.Exec(SELECT contacts.* FROM contacts WHERE Title =
'Queen's Head')
produces an error.

How best to solve this?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/mysql-seach-string-contains-single-quote-tp42768.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mysql seach string contains single quote

2013-08-10 Thread bill-lancaster
Johny, that's great.  I spent more than an hour this morning on this.
Thank you very much



--
View this message in context: 
http://gambas.8142.n7.nabble.com/mysql-seach-string-contains-single-quote-tp42768p42772.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Message Box Already Displayed

2013-08-09 Thread bill-lancaster
In a fairly simple programme I get this error when only one message box is
displayed

Is there a known cause for this?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Message-Box-Already-Displayed-tp42758.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] LastModified value for hidden files not available

2013-05-22 Thread bill-lancaster
If I list the LastModified value for all the files in a folder some of them
are null values.

All of those with null values are hidden files.

Is this a bug or something on mu system?

Any ideas would be welcome.





--
View this message in context: 
http://gambas.8142.n7.nabble.com/LastModified-value-for-hidden-files-not-available-tp42005.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] LastModified

2013-05-22 Thread bill-lancaster
Sorry Benoît - false alarm.

In error, I had gb.directory as filter in my rdir call.

Without that it works fine



--
View this message in context: 
http://gambas.8142.n7.nabble.com/LastModified-tp42005p42007.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Form open - simple question

2013-04-20 Thread bill-lancaster
I want to open a form and immediatly display the progress of a process.

If I do it in the form_open event the form isn't displayed untill the
process is complete.

I can't find an event for the form that will do this simple thing!

Any ideas?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] simple answer

2013-04-20 Thread bill-lancaster
Simple answer!

form_open
   form.show
   run process
end



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41729.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Simple

2013-04-20 Thread bill-lancaster
Thanks Fabien  Bruce for the ideas



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41734.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] printer how to set custom page size

2013-04-10 Thread bill-lancaster
I'm trying to make a simple routine to print an address on a 'DL' (220 X 110)
envelope.

The routine does not need to go through the printer setup each time.

How do I set the width  height?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/printer-how-to-set-custom-page-size-tp41684.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Printing - custom page

2013-04-10 Thread bill-lancaster
OK, I'm getting somwhere now.

I was getting symbol not recognised when trying to set PaperWidth but the
printer object was not Instantiated

So, one step forward!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/printer-how-to-set-custom-page-size-tp41684p41685.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   >