Re: [Gambas-user] DateChooser mouse_scroll

2014-11-24 Thread Charlie
I'm not quite sure what you are needing help with but maybe the attached will
help as your query got me thinking.

DateChooser.tar
  



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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Charlie
Where did you get the "gb.sdl2.sound" and "/SDL2/SDL_mixer.h" as I can find
no reference to these anywhere?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/What-values-for-Music-Volume-of-gb-sdl2-sound-tp49958p49960.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] estru3d

2015-01-09 Thread Charlie
Have a look here  http://whiteislandsoftware.com
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/estru3d-tp50225p50229.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] Interesting IDE problem

2015-03-19 Thread Charlie
Possible bug notification: -

I deleted a form in Gabmas 3.7 and the tool bar lost its integrity see
attached.

 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Interesting-IDE-problem-tp51061.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] Issue 620 in gambas: Datebox doesn't respect localizations

2015-05-03 Thread Charlie
I am not sure why but following your instructions, after a little help from
Google Translate, my date shows correctly. I am running Linux Mint Cinnamon
17.1 set up for UK English and this is the result: -

  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Issue-620-in-gambas-Datebox-doesn-t-respect-localizations-tp51431p51449.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Code snippets

2015-05-03 Thread Charlie
I have been looking at the Code Snippets in Gambas. I found these
instructions  http://gambaswiki.org/wiki/ide/idesnippets
   but I can't get the "Insert
points" to work.

I have even copied the code and created a new snippet with the same code but
it does not respond the same as the original.

Can you tell me where I am going wrong.

With the Gambas default code the cursor ends up over the highlighted
"Value":-
 

The copied version ends up indenting the first line with the cursor left
there:-
 

I have asked this question  here

  
but I have not had a responce



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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Buffer Monitoring

2015-05-04 Thread Charlie
I tried the code below on Linux Mint 17.1 Cinnamon. You will need a Form with
a Timer added. It only tracks the mouse position but I was able to open
Terminal, Calculator and other programs and even if Gambas did not have
focus the position of the mouse was still being Printed to the Gambas
Terminal.

Public Sub Form_Open()

Timer1.enabled = True
Timer1.delay = 1

End

Public Sub Timer1_Timer()
Dim sX, sY As Integer

sX = Mouse.ScreenX
sY = Mouse.ScreenY

Print sX, "  ", sY
End 



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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Code snippets

2015-05-11 Thread Charlie
Hi Benoît,

I copied the text from the '_p' and pasted it into the '_s'. The code is: -

Public Sub _put(${1:Value} As ${2:Type}, ${3:Indexes})

  ${}

End

They appear the same.

 



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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas Farm - Dependencies

2015-06-03 Thread Charlie
I have created a program, QRCreator, and added it to the Gambas Farm. I added
'qrencode' as a dependency but it does not work. Am I misunderstanding the
meaning of 'dependencies' or have I missed a trick somewhere?

 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-Farm-Dependencies-tp51672.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] Need help clear tableview

2015-06-25 Thread Charlie
You need to update your Distro and Gambas! In Gambas 3.7.1 you can clear the
tableview with tableview.Clear




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Need-help-clear-tableview-tp226p51883.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Array.Add question

2015-07-15 Thread Charlie
Try this: -

Dim sTest As New String[1, 2] 

sTest[0, 0] = "Hello"
sTest[0, 1] = "World"



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

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] This is a test

2015-07-22 Thread Charlie
It's not working now 12:12 UTC



--
View this message in context: 
http://gambas.8142.n7.nabble.com/This-is-a-test-tp52045p52049.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Adding custom colors

2015-07-26 Thread Charlie
You don't give us much detail of what you are trying to do but I have put a
small program together that shows how to change colours using a variable.
ColourChanger.gz
  .



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52101.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] Adding custom colors

2015-07-28 Thread Charlie
All you have to do is click on the "Free" tab to take you from
 
to
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52117.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] Adding custom colors

2015-07-28 Thread Charlie
Create a form with one TextBox in it and use the code below. The "004F9F8B"
is the number from the 'Select a color' dialogue in my last post. (The one
in my last post shows "")

Public Sub Form_Open()
Dim sMyColour As String = "0045279F" 
Dim sHex As String

sHex = "&H" & sMyColour & "&" 
TextBox1.Background = Val(sHex)

End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52119.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] Adding custom colors

2015-07-28 Thread Charlie
I see what you mean. The only way I can see to do this is as attached.

Colours.gz   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52121.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] ColorChoser

2015-07-29 Thread Charlie
In the ColorChooser there is a button on the top right that the tool tip says
"Follow color grid". It seems to fix the the colour change to a grid which
makes any movement jerky. Is there a way to turn this off in code?

 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ColorChoser-tp52129.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] Since 3.8 open project with files in state "changed"

2015-08-15 Thread Charlie
I have just checked this and it seems to be fine on my system (Linux Mint
17.2 Cinnamon)



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Since-3-8-open-project-with-files-in-state-changed-tp52235p52236.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] Offline documentation - how to activate it?

2015-08-19 Thread Charlie
Go to *Tools > Preferences > Help & Applications* and switch on *Use offline
help*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Offline-documentation-how-to-activate-it-tp52278p52281.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] ColorChoser

2015-08-22 Thread Charlie
For anybody who is interested the answer is here
http://whiteislandsoftware.com/forum/index.php?page=topicview&id=g3-general-advanced%2Fcolorchooser

  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ColorChoser-tp52129p52350.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] Gambas 3.8.1

2015-09-07 Thread Charlie
The 3.8.1 update has the "Development version" title bar "USE AT YOUR OWN
RISK!"



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-3-8-1-tp52750.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] Gambas 3.8.1

2015-09-07 Thread Charlie
Seems OK now - Thanks



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-3-8-1-tp52750p52777.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] How to input hide password into gambas command line project ?

2015-10-02 Thread Charlie
Have you tried something simple like and let the computer do the work: -

/Public Sub Form_Open()
Dim sDesktop, sDir As String

sDesktop = Desktop.Type

Select Case sDesktop
  Case "GNOME"
Shell "gksu ls -a" To sDir  'Ubuntu, Mint, Debian etc
  Case "KDE"
Shell "kdesudo ls -a" To sDir'Kubuntu, Mint KDE etc
End Select

Print sDir

End/




--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-input-hide-password-into-gambas-command-line-project-tp53669p53687.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] Variation in output

2015-12-11 Thread Charlie
Can someone have a look at a bug that I have run into. The output inside the
IDE is as expected but when made into an executable the output is very
different.
Output when run in the IDE as expected: -  Run_in_IDE.png
  
Output when running as an executable: -  Run_as_executable.png
  
Here is a program that will demonstrate the error. Please note that 'inxi'
will need to be installed, the 'System information' is at the bottom of the
code: -  Execute_bug.gz
  
Thanks



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.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] Variation in output

2015-12-11 Thread Charlie
Thanks for looking at this. 
 Regarding the 'Esc' colour characters, the code posted does remove them. I
also discovered that when run as an executable there are lots of other
characters that are not showing in the IDE like *chr(3)* but these can
easily be removed. 
The main issue for me is why has the some of the data been replaced with
*'filter'*. 
For those having difficulty accessing my code I have attached an
uncompressed tar file. Execute_bug.tar
  



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

2015-12-12 Thread Charlie
This works for me:- 
/Public Sub Form_Open()
Dim sNetwork As String
With GridView1
.Columns.Count = 1
.Rows.Count = 1
End With
GridView1[0, 0].text = "Hello"
GridView1[0, 0].Font.Strikeout = True 
End/



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-tp54834p54927.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] need tests together, I get segfault

2015-12-12 Thread Charlie
The first time it ran all was OK but after that I got a segmentation fault
(11) 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/need-tests-together-I-get-segfault-tp54874p54930.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] Variation in output

2015-12-20 Thread Charlie
Thanks for the replies.
I have tried both the *-z* and *-Z* options but neither seem to have any
effect.
Regarding the use of *Trim* I do use this and other tricks to remove double
spaces etc. but it does not alter the output. 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55058.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] usb codebar reader how to handle events!?

2015-12-23 Thread Charlie
The barcode reader will only return the barcode information not the special
characters that are needed to create it. Once all the barcode is sent the
barcode reader will send a *Return key*.
We can use Gambas to check for the *Return key* so we know the barcode has
been completely read. If you want to see how this works open a spreadsheet
and read a code into a cell and you will see that if the code is read into
cell A1 the cursor ends up in cell B1 because of the *Return key*.
There is no need to program the reader to send any extra characters.
Here is some code you can use to see how Gambas can handle to reader. 
BarcodeReader.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55083.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] non printable char "Ⱶ" how to remove from string!!!!!

2015-12-23 Thread Charlie
Have a look at this code, note that the "Ⱶ" character is Chr(195) see  here
  
*Public Sub form_Open()
Dim sString As String
sString = Chr(195) & "Hello World" & Chr(195)
Print sString
sString = Replace(sString, Chr(195), "")
Print sString
End*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.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] Variation in output

2015-12-23 Thread Charlie
Thanks for this Zainudin A. It does work as you described.
Can you tell me why this works and why it doesn't work in a Home directory?
Thanks.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55085.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] usb codebar reader how to handle events!?

2015-12-24 Thread Charlie
I can't see how you are supposed to tell if you are typing on a keyboard or
using a barcode reader as they are both USB devices setup to look like a
keyboard. It's probably possible but you'll need somebody who can write code
to read USB ports and understands how they work - That's not me! 
OK let's try another tack. The barcode reader can fire in text at quite a
rate so here is some code that does not rely on any special characters. 
It uses the fact that if there is no new character added to the TextBox in
1/16th of a second then the barcode is read.
BarcodeReader.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55095.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] small date problem

2015-12-25 Thread Charlie
Public Sub form_Open()
Dim siNum As Short[] = [72, 97, 112, 112, 121, 32, 67, 104, 114, 105, 115,
116, 109, 97, 115, 32, 116, 111, 32, 121, 111, 117, 32, 97, 115, 32, 119,
101, 108, 108]
Dim siCount As Short
For Each siCount In siNum
  Print Chr(siCount);
Next
End




--
View this message in context: 
http://gambas.8142.n7.nabble.com/small-date-problem-tp55099p55101.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] SimpleEval

2015-12-29 Thread Charlie
Hi Fabian,
I presume that you wrote the code in SimpleEval. I can't work out how to use
it. I thought it might work with my gbCalculator (see Gmabas Farm). There
are quite a few compile warning errors.
 
*The main thing is some examples on how to use it please.*
Thanks.



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

2015-12-30 Thread Charlie
Can I get your code to calculate something like
28*(5/2.3)
If so how?



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

2015-12-31 Thread Charlie
Thanks, that's excellent. I will work on that.



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

2015-12-31 Thread Charlie
This is working out well! Your code can handle some complex maths.
Is there any way to handle negative numbers? If an answer is negative it
works but if you input "*-5*6*" it does not work.
I have also attached my code, still in development, so you can see what I am
doing with your code.
 
gbCalculator.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/SimpleEval-tp55114p55141.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] How to mention (in code) widgets which are in sub form , in the main fourm's code ?

2016-02-16 Thread Charlie
*You can't directly access the ListBox but you can pass a variable so in
FMain try this: -
*Public sTextForListBox As String[]
Public Sub Button1_Click()
  Form1.Show
  ListBox1.List = sTextForListBox
End
*In your Form1 enter this: -
*Public Sub Form_Open()
FMain.sTextForListBox = ["Hello World", "London", "New York", "The end of
the world"]
  End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-mention-in-code-widgets-which-are-in-sub-form-in-the-main-fourm-s-code-tp55455p55457.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Size Multiple Files with FileProperties

2016-02-16 Thread Charlie
*This code may help.
*Public Sub Form_Open()
Dim sPath As String = User.Home &/ "Desktop"
Dim sFileList As String[]
Dim sTemp As String
Dim stStat As Stat
sFileList = Dir(sPath)
For Each sTemp In sFileList
  stStat = Stat(sPath &/ sTemp)
  Print sTemp & Space(50 - Len(sTemp)) & " Last Modified " &
stStat.LastModified & " - Size " & stStat.Size & " bytes"
Next
End 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Size-Multiple-Files-with-FileProperties-tp55443p55458.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] XmlDocument.Open(filename) gives NULL

2016-02-16 Thread Charlie
*Try the following: -
*Public Sub Form_Open()
 Dim hXmlDocument As XmlDocument
hXmlDocument = New XmlDocument("/home/user1/test/myTest.xml")
Print hXmlDocument.Content
End 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/XmlDocument-Open-filename-gives-NULL-tp55456p55459.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to mention (in code) widgets which are in sub form , in the main fourm's code ?

2016-02-16 Thread Charlie
I'll look at your request  tomorrow.  The error your getting from my code is
because you do not have a ListBox1 on FMain. If you add one it will work. If
you have one change the name in my code to match the name of your ListBox.
You also mention a ComboBox not a ListBox, which do you want,  or is it that
you want both? 
I'd you give us a little more detail of exactly what you are trying to
accomplish we could probably give you better help.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-mention-in-code-widgets-which-are-in-sub-form-in-the-main-fourm-s-code-tp55455p55462.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Bug tracking

2016-02-16 Thread Charlie
Can't the bug tracking not have its own "Forum". It seems to get in the way
of everthing else.

Thanks,

Charlie



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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to mention (in code) widgets which are in sub form , in the main fourm's code ?

2016-02-18 Thread Charlie
OK machackerx86 I have put the attached together for you. It is a start,
there are probably things to change or add but see what you think.
URL-List.tar   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-mention-in-code-widgets-which-are-in-sub-form-in-the-main-fourm-s-code-tp55455p55487.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] String conversion for printing

2016-02-18 Thread Charlie
I don't know all the answers to this but If you run the following code it may
help you diagnose the problem: -
Public Sub Form_Open()
Dim siCount As Short
Print "Length of string = " & Len("é")
For siCount = 1 To 2
  Print "Character " & Str(siCount) & " - " & Asc(Mid("é", siCount, 1))
Next
Print "The UTF-8 Code for 'é' = " & String.Code("é")
End 
The output I get is:- 
Length of string = 2
Character 1 - 195
Character 2 - 169
The UTF-8 Code for 'é' = 233
The ASCII characters for é are 195 and 169See 
http://www.w3schools.com/charsets/ref_utf_latin1_supplement.asp
   for
UTF-8 tables



--
View this message in context: 
http://gambas.8142.n7.nabble.com/String-conversion-for-printing-tp55489p55492.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Charlie
What's a Baines Line?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Charlie
I could not get Gambas to do this, that's not to say it can't. I noticed that
pressing [Ctrl]+A selected the text so my solution is to get BASH to press
[Ctrl]+A
1/. Download and install 'xdotool' 
2/. Insert the following line after 'TableView1.Edit()'
Shell "xdotool key ctrl+a"
It worked for me.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p55541.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Charlie
Hi Jorge,
I looked at you solution but have a couple of points:-
1/. To select all the text in a TextBox there is no need for any more than
*TextBox1.Select*
2/. Even if, having added a TextBox as an editor, you change T Lee's code to
the below it doesn't work for me: -
* TableView1.Editwith(TextBox1)
 TextBox1.Select
* Can you provide code that works as it would be better than my 'Shelling'
example?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p55543.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Gambas Bug Tracker] Bug #897: Function "week" is one hour to early

2016-02-25 Thread Charlie
Please also see this thread: -
*
https://gambas.guru/tiki-view_forum_thread.php?forumId=31&threadId=5094&comzone=show#threadId5094

 
*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-Bug-Tracker-Bug-897-Function-week-is-one-hour-to-early-tp55504p55544.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Charlie
Sorry Fabien but your code does not work for me (GTK or QT4), The next
selected cell's text is not 'selected'
Have a look at the video attached.
cinnamon-20160225-1.webm
   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p2.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] An heretical suggestion for the IDE toolbar

2016-02-25 Thread Charlie
Simply press [F12] to swap between code and Form



--
View this message in context: 
http://gambas.8142.n7.nabble.com/An-heretical-suggestion-for-the-IDE-toolbar-tp55547p3.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Different Foreground Color of a string in TableView.Cell

2016-03-05 Thread Charlie
This works for me: -
Public Sub Form_Open()
TableView1.Rows.Count = 2
TableView1.Columns.Count = 2
With TableView1[0, 0]
  .Background = Color.Yellow
  .Foreground = Color.Red
  .Text = "Hello"
  .Alignment = Align.Center
  .Font.bold = True
End With
End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597p55598.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] MediaView1.URL cannot set status

2016-03-10 Thread Charlie
Works for me as well.
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaView1-URL-cannot-set-status-tp55626p55649.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to replace chr$(13) from a text file

2016-04-11 Thread Charlie
Not sure why but if you add Chr(13) to the TextArea and then save the output
as a file then look at the Hex in the file the Chr(13) is '0A' which is
Chr(10).
The code below works.
*Public Mglobal As String
Public Sub Form_Open() 
TextArea1.text = "Hello" & Chr(13) & "World" & Chr(13) & "Hello " & Chr(13)
& "World" & Chr(13)
File.Save("~/delete.txt", TextArea1.text) 'Have a look at this file in a Hex
viewer
End 
Public Sub Button1_Click()
Mglobal = TextArea1.Text
Mglobal = Replace$(TextArea1.Text, Chr$(10), "|") 
TextArea1.text = Mglobal
End*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908p55910.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ListEditor Icons

2016-04-19 Thread Charlie
/1) The ListEditor has four icons. If I don't like them, is there a chance to
change them?/
I don't know how to do this, or even if it can be done.
/2) And how is the Insert/Add button handled? Is there an event?/ 
When the list is displayed you can click on an item and then click the *Add*
button.
/3) I tried ListEditor1.List.Add("Hello") but it doesn't appear in the
list/. 
You need an array string e.g. 
Dim sString as String[] = ["Hello", "world"]
ListEditor1.List = sString
Have a look at the attached example: -
ListEditor_example.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ListEditor-Icons-tp56001p56002.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] qt5

2016-05-01 Thread Charlie
I have been playing with Ubuntu 16.04 and a lot of the Gambas Farm programs
wont install as they use qt4 (gb.qt4 and gb.qt4.ext), Ubuntu uses qt5. If I
install the necessary libraries Synaptic uninstalls the IDE!
 *buntu 14.04/Mint 17* etc are supported until 2019 and have qt4. Has
anybody got any ideas on the best way to get around this?



--
View this message in context: http://gambas.8142.n7.nabble.com/qt5-tp56109.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-01 Thread Charlie
Thanks for the reply Benoît. Ubuntu 16.04 has Gambas 3.8.4 which I also use
on Linux Mint 17.3 Cinnamon.
Here is the Gambas Farm error I get.
gambas1.png   
Here are the 'System information' details for both operating systems.
mint17.txt   
ubuntu16.txt   
Note that for future editions the English is 'System information' not
'System information*s*'.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56111.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-01 Thread Charlie
Are you able to add a 'xenial' repository to the Gambas ppa so that we can
download the stable version that will work from there?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56114.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-02 Thread Charlie
I have reinstalled Ubuntu 16.04, just to make sure. I then installed Gambas3
with the following command
*sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3*
I started Gambas from the command line and saw the following: -
gambas1.png   
I tried again to load software from the Gambas Farm but unfortunately I
received exactly the same error message as before
I am not that concerned about this not working in Ubuntu as I intend to
install Linux Mint 18 when it is released in about a month's time which is
based on 16.04
If I install from a '.tar' is this likely to solve this problem?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56124.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-02 Thread Charlie
Hi Gianluigi,
I followed your instructions to the letter and all went well, I saw no
errors. I rebooted the computer. The only problem is that Ubuntu says that
Gambas is not installed!
The Desktop had 2 log files on it which are below.
Make_Inst3-8.log
<http://gambas.8142.n7.nabble.com/file/n56126/Make_Inst3-8.log>  
R_conf3-8.log <http://gambas.8142.n7.nabble.com/file/n56126/R_conf3-8.log>  
Did I do something wrong?
Thanks,
Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56126.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-03 Thread Charlie
I have now installed Gambas 3.8.4 from the ppa on 16.04 and the Farm now
works as expected
Thanks to all your efforts.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56147.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] MessageBox problem

2016-05-04 Thread Charlie
The MessageBox gives focus to the first button created so it's a good idea to
use the first button as 'Cancel' in case a user presses [Enter].
If the user decides he does not want the MessageBox at all and presses the
'X' to close it the message box returns the number of the last button which
in the case of a MessageBox with 2 button 'Cancel' & 'Do It' pressing the
'X' will cause the 'Do It' routine to be activated. See example attached. is
this correct?
MessageBoxTest.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] QT5 Configuration on Ubuntu 16.04

2016-05-06 Thread Charlie
Try the following command.
*sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/QT5-Configuration-on-Ubuntu-16-04-tp56232p56233.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Charlie
Yes I am aware of this but as I said "The MessageBox gives focus to the first
button created so it's a good idea to use the first button as 'Cancel' in
case a user presses [Enter]." So in your example if you reverse the 'Yes'
and 'No' (Cancel) buttons so that if the user presses [Enter] the 'No'
button if pressed the window is not closed then the problem reappears if you
click on the 'X'.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154p56234.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MessageBox problem

2016-05-07 Thread Charlie
Hi Gianluigi,

That's an interesting twist and it does solve the problem, thank you.



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

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Component problems

2016-05-23 Thread Charlie
I this case I think the problem starts with 'Me'. Is this because there is no
SpinLabel.Form which would be 'Me'?
I've messed about with this and if you change 'Me' to 'FMain' things change.
Hope that helps.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Component-problems-tp56386p56390.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is this a bug

2016-06-30 Thread Charlie
I have tried this using gb.gui/gb.gtk3/gb.qt4 and it fails, is this a bug?
Public Sub Button1_Click()
  SpinBox1.Enabled = False 'O.K.
  SpinBar1.Enabled = False 'Doesn't work
End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Is-this-a-bug-tp56630.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to add subitems to a ListView?

2016-08-02 Thread Charlie
See if the attached works for you. I have used a Gridview to get the result I
think you are looking for.
MultipleListView.tar
  
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56849.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] How to add subitems to a ListView?

2016-08-04 Thread Charlie
Hi Gianluigi - Very good, you certainly know your way around the 'Paint'
command.




--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56855.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] Positioning Image and Text in a Button

2016-08-20 Thread Charlie
I thought I would add to this debate. The examples above work just fine but
they seem very complicated to me.
I have taken your picture, put it in a PictureBox and in 8 lines of code
have a button you can click.
SimpleButton.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p56949.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] Positioning Image and Text in a Button

2016-08-23 Thread Charlie
You can have the "Buttons" I created in a group and this will work OK.
Check out the attached based on my last example, now 30 lines of code.
SimpleButton.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p57001.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] Program picture icon

2013-10-04 Thread Charlie
Can you advise me how to attach apicture icon so that at compile time it
automatically appears on the Desktop. I noticed that if I compiled the
example file "The little text editor" the icon appeared automatically but I
can't see how this is done.

Thanks,

Charlie Ogier



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Program-picture-icon-tp43471.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Container help

2013-10-04 Thread Charlie
I just can't seem to get my head around Containers. I am trying to get as
much "stretch" as I can from "FMain" in the attached program written in
Gambas3.4.2. Any help will be gratefully received.

Thanks,

Charlie Ogier

FindFile-0.0.9.tmp.tar.gz
<http://gambas.8142.n7.nabble.com/file/n43472/FindFile-0.0.9.tmp.tar.gz>  

[System]
OperatingSystem=Linux
Kernel=3.5.0-32-generic
Architecture=x86
Distribution=Linux Mint 14 Nadia
Desktop=GNOME
Theme=QGtk
Language=en_GB.UTF-8
Memory=7990M

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



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Container-help-tp43472.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-04 Thread Charlie
I bumped into this problem. I don't know how to automate this but if you run
the following commands in Terminal on the problem computer and then rerun
the Deb file all should be well. 

The 1st line adds the Gambas3 repository and the second updates the
computer.

sudo add-apt-repository ppa:nemh/gambas3
sudo apt-get update



--
View this message in context: 
http://gambas.8142.n7.nabble.com/can-t-install-my-home-made-package-due-to-the-dependencies-tp43463p43473.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I add a script to a Deb file

2013-10-04 Thread Charlie
Is there a way to add commands like the ones below to a Deb file created in
Gambas?

sudo add-apt-repository ppa:nemh/gambas3 
sudo apt-get update 

Thanks for any help.

Charlie Ogier





--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-do-I-add-a-script-to-a-Deb-file-tp43475.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-04 Thread Charlie
Hi Charlie,

I have asked the question in another post on how to insert the necessary
code in a Deb file. Keep an eye out for any tips.

Regards,

Charlie Ogier



--
View this message in context: 
http://gambas.8142.n7.nabble.com/can-t-install-my-home-made-package-due-to-the-dependencies-tp43463p43476.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How do I add a script to a Deb file

2013-10-04 Thread Charlie
Thaks Willy, you have hit the nail on the head. If trying to do this is
unethical I will accept it, but I would still like to understand how to do
it.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-do-I-add-a-script-to-a-Deb-file-tp43475p43480.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=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Editor - How to

2013-10-21 Thread Charlie
I want to use the "Editor" feature to highlight part of a string in bold. I
have looked at the "Highlighter" example provided in Gambas 3.5 (and perhaps
earlier versions) but I just can't work it out.

I would like something like: -

String1 = "Hello"
String2 = " to you"
Editor1.text= String1 & String2.Bold

I know it does not work this way but I hope this helps explain what I am
looking for.

Thanks in advance for any help.

[System]
OperatingSystem=Linux
Kernel=3.5.0-32-generic
Architecture=x86
Distribution=Linux Mint 14 Nadia
Desktop=GNOME
Theme=QGtk
Language=en_GB.UTF-8
Memory=7990M
[Libraries]
Cairo=libcairo.so.2.11200.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1.0
GTK+=libgtk-x11-2.0.so.0.2400.13
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.3
SDL=libSDL-1.2.so.0.11.4



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Editor-How-to-tp43740.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=60135991&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Container help

2013-10-21 Thread Charlie
Bump



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Container-help-tp43472p43742.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=60135991&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Program picture icon

2013-10-21 Thread Charlie
Bump!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Program-picture-icon-tp43471p43741.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=60135991&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Editor - How to

2013-10-24 Thread Charlie
Thanks for the input. Unfortunately I could not get your ideas to work.
However it spurred me on to dig deeper and using Gridview the effect I was
looking for can be done.

I created some code that I can not show here as the HTML tags get converted,
even though I asked for this message not to be in HTML. I have put the code 
here   

The result is: -

 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Editor-How-to-tp43740p43818.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=60135991&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Container help

2013-10-24 Thread Charlie
But Ricardo my "Bump" got a reply. Not a very useful reply but a reply none
the less!



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Container-help-tp43472p43819.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=60135991&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-12 Thread Charlie
Hi,I want to clear multiple *Textboxes* and using the following code seems
inefficient: -*Textbox1.text = ""Textbox2.text = ""Textbox3..*Is there a
better way?I have looked at "Collections" and "For Each" commands but I
can't work out if this is the correct method.Thanks for any help.Charlie.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-do-you-deal-with-multiple-objects-Textboxes-tp44646.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=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Charlie
Hi Richard,

Thanks for the reply. Here is the code I am using. I thought there must be a
better way.

Charlie.

Public Sub ClearTable()
QTY1.text = ""
QTY2.text = ""
QTY3.text = ""
QTY4.text = ""
QTY5.text = ""
QTY6.text = ""
QTY7.text = ""
QTY8.text = ""
QTY9.text = ""
QTY10.text = ""
WH1.text = ""
WH2.text = ""
WH3.text = ""
WH4.text = ""
WH5.text = ""
WH6.text = ""
WH7.text = ""
WH8.text = ""
WH9.text = ""
WH10.text = ""
PTNO1.text = ""
PTNO2.text = ""
PTNO3.text = ""
PTNO4.text = ""
PTNO5.text = ""
PTNO6.text = ""
PTNO7.text = ""
PTNO8.text = ""
PTNO9.text = ""
PTNO10.text = ""
BookInOut1.Hide
BookInOut2.Hide
BookInOut3.Hide
BookInOut4.Hide
BookInOut5.Hide
BookInOut7.Hide
BookInOut8.Hide
BookInOut9.Hide
BookInOut10.Hide
Desc1.text = ""
Desc2.text = ""
Desc3.text = ""
Desc4.text = ""
Desc5.text = ""
Desc6.text = ""
Desc7.text = ""
Desc9.text = ""
Desc9.text = ""
Desc10.text = ""



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-do-you-deal-with-multiple-objects-Textboxes-tp44646p44655.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=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Charlie
Thank you everyone. I tried the simple example from Jussi Lahtinen and found
that worked very well. I need to get my head around this before I try the
more complex examples.

Thanks again.

Mark as SOLVED.

Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-do-you-deal-with-multiple-objects-Textboxes-tp44646p44660.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=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] rpmbuild and install package

2014-03-02 Thread Charlie
I had this problem and on installing rpm with *sudo apt-get install rpm* all
was well




--
View this message in context: 
http://gambas.8142.n7.nabble.com/rpmbuild-and-install-package-tp15237p45881.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Charlie
*I was playing with this routine and found that the following 2 lines can be
replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks =
Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks =
Val(Right(Trim(sShellOutput), 1))



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared

2014-09-22 Thread Charlie
The ppa has been change, you can run the following in Terminal to activate
the latest ppa (Gambas stable).

sudo add-apt-repository ppa:gambas-team/gambas3




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Issue-562-in-gambas-Ubuntu-ppa-for-Gambas-has-disappeared-tp48436p48443.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Installation package(s)

2014-09-22 Thread Charlie
I want to create an installation package but when I try I now get 13 files
created, what are they all for and is there a way to get just one or am I
missing something? Thanks.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Installation-package-s-tp48444.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installation package(s)

2014-09-23 Thread Charlie
Thanks for the reply but I am still confused. I have tried a few of the .deb
files but they don't seem to work so which one?

control_1.0.4-0ubuntu1_all.deb
control_1.0.4-0ubuntu1_amd64.changes
control_1.0.4-0ubuntu1.diff.gz
control_1.0.4-0ubuntu1.dsc
control_1.0.4.orig.tar.gz
control-gtk_1.0.4-0ubuntu1_all.deb
control-gtk_1.0.4-0ubuntu1_amd64.changes
control-gtk_1.0.4-0ubuntu1.dsc
control-gtk_1.0.4-0ubuntu1.tar.gz
control-qt4_1.0.4-0ubuntu1_all.deb
control-qt4_1.0.4-0ubuntu1_amd64.changes
control-qt4_1.0.4-0ubuntu1.dsc
control-qt4_1.0.4-0ubuntu1.tar.gz




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Installation-package-s-tp48444p48465.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ERROR when I put a GridView on the Form

2014-10-02 Thread Charlie
Ru Vuott  yahoo.it> writes:

> 
> Hello,
> 
> when I set the GRIDVIEW on the Form an error-notice window is raised:
> 
> 
***
***
>  This application has raised an unexpected error and must abort.
>   [13] Null object.
>   ScrollArea.DrawingArea_Draw.417
> 
***
***
> 
> I do not understand 
> 
> Here my system:
> 
> [System]
> Gambas=3.5.90
> OperatingSystem=Linux
> Kernel=3.13.0-24-generic
> Architecture=x86_64
> Distribution=Linux Mint 17 Qiana
> Desktop=GNOME
> Theme=QCleanlooks
> Language=it_IT.UTF-8
> Memory=3953M
> [Libraries]
> Cairo=libcairo.so.2.11301.0
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.6
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.204.0
> GTK+3=libgtk-3.so.0.1000.8
> GTK+=libgtk-x11-2.0.so.0.2400.23
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.44.0.0
> Qt4=libQtCore.so.4.8.6
> SDL=libSDL-1.2.so.0.11.4
> 
> Regards
> vuott
> 
> -
-
> 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=154622311&iu=/4140/ostg.clktrk
> 

Hi,

I suggest you use the latest stable version of Gambas which is 3.5.4 as the 
version 3.5.90 is for testing only and is expected to be buggy.

Remove your existing ppa, then in Terminal run the following: -

sudo apt-get remove --purge gambas3
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
sudo apt-get install gambas3
 
Hope that helps.

Charlie



--
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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Question on ComboBox

2014-10-07 Thread Charlie
I had a look at this and came up with a possible solution. I have attached
NewComboBox code that was created in Gambas 3.5.4.

It is not a simple as I would like but may give you some ideas.

Charlie

NewComboBox.gz <http://gambas.8142.n7.nabble.com/file/n48628/NewComboBox.gz>  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Question-on-ComboBox-tp48622p48628.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to catch a bar-code "Enter"

2014-10-08 Thread Charlie
When reading bar-codes the gun adds an "Enter" at the end. In a spreadsheet
if the focus was on cell A1 once the bar-code is read the focus will be in
cell A2 as if "Enter" had been pressed. 

In Gambas using gb.gtk toolkit this works: -


CatchBarcodeEnter = Key.Code
If Key.Code = Key.Enter Or CatchBarcodeEnter = 65293 Then


It does not work without the 65293 part.

This is not recommended as we are warned: -

"Never compare the value of this property with a numeric constant, because
the key codes may depend on the underlying toolkit. Always use the constants
defined in this class!"

Do you know how I might get around this?

Thanks,

Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-catch-a-bar-code-Enter-tp48645.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] IDE feature request

2014-10-09 Thread Charlie
I like the IDE *[Ctrl] + H* and *[Ctrl] + J* split screen options.Getting
back to the *No split* screen seems to require *Right click> Advanced > View
> No Split.*Would it be possible to have a shortcut key to return to *No
split*?Thanks,Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/IDE-feature-request-tp48657.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IDE feature request

2014-10-09 Thread Charlie
Thanks but I tried that. If the screen is split horizontally then *[Ctrl] + H
does nothing. Pressing [Ctrl] +J will change it to vertical split but
nothing I have found will change it to No split.


 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/IDE-feature-request-tp48657p48663.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=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Possible bug

2013-05-14 Thread Charlie
Hi all,

You need one *Button* and one *DirChooser* on your form
I have reduced code to the following to emulate this bug I am getting: -
'*
Public Sub _new()
End

Public Sub Form_Open()
End


Public Sub Button1_Click()

Dim SDir As String
Sdir = DirChooser1.SelectedPath
SDir = Replace(SDir, " ", "\ ")

End
'*

Run the program and it crashes Gambas every time.

Any ideas?

Thanks,

Charlie

[System]
OperatingSystem=Linux 
Kernel=3.5.0-17-generic
Architecture=i686
Memory=8182136 kB
DistributionVendor=LinuxMint
DistributionRelease="Linux Mint 14 Nadia"
Desktop=Gnome

[Gambas 3]
Version=3.1.1
Path=/usr/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.8.3
GTK+=libgtk-x11-2.0.so.0.2400.13




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

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Possible bug

2013-05-14 Thread Charlie
Hi  Benoit,

It may, or may not, be good syntax but press F5 and Gambas crashes. You can not 
compile it because Gambas crashes.

The purpose of the code was to change "dir" string into a form tha BASH would 
accept from Shell command if there are spaces in the "dir" string.

I am not an expert in any of this. I am just tring to help by pointing this 
issue out. If it is a syntax error Gambas should detect this and not crash.

Regards,

Charlie.





Sent from Charlie's Samsung tablet"Benoît Minisini [via Gambas]" 
 wrote:Le 14/05/2013 18:09, Charlie a 
écrit :

> Hi all, 
> 
> You need one *Button* and one *DirChooser* on your form 
> I have reduced code to the following to emulate this bug I am getting: - 
> '* 
> Public Sub _new() 
> End 
> 
> Public Sub Form_Open() 
> End 
> 
> 
> Public Sub Button1_Click() 
> 
> Dim SDir As String 
> Sdir = DirChooser1.SelectedPath 
> SDir = Replace(SDir, " ", "\ ")

This line is not syntactically correct ("\ "). Please provide a project 
or at least code that compiles! 

Regards, 

-- 
Benoît Minisini 

-- 
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls 
from a single console and one unified framework. Download a free trial. 
http://p.sf.net/sfu/alienvault_d2d
___ 
Gambas-user mailing list 
[hidden email] 
https://lists.sourceforge.net/lists/listinfo/gambas-user


If you reply to this email, your message will be added to the discussion below:
http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41946.html
To unsubscribe from Possible bug, click here.
NAML



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41948.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
Hi Caveat and Benoît,

Thanks for the replys. I will try a workaround, and I am pleased it's 
not a issue for anybody else.

Should you be interested I have created a desktop video of the problem 
and supplied the code that causes my Gambas to crash. You will find the 
files at http://www.cogier.com/gambas/.

I have found that "SDir = Replace(SDir, " ", "\ ")" will cause a crash 
but "SDir = Replace(SDir, " ", "\\ ")" is fine.

Thanks,

Charlie


On 15/05/13 00:55, Caveat [via Gambas] wrote:
> Yeah, I see what you're trying to do. You can use \\ to make a single \
> as the \ is normally the first part of a special character constant
> (e.g. \t makes a Tab character).  I think you can just wrap file/dir
> names with spaces in them in quotes for use in bash scripts.
>
> Oh, and my Gambas doesn't crash with the code exactly as you had it.  As
> Benoit experienced, it just doesn't compile, same for me (compile error
> is"Bad character constant").
>
> Kind regards,
> Caveat
>
> On 15/05/13 01:17, Charlie wrote:
>
> > Hi  Benoit,
> >
> > It may, or may not, be good syntax but press F5 and Gambas crashes. 
> You can not compile it because Gambas crashes.
> >
> > The purpose of the code was to change "dir" string into a form tha 
> BASH would accept from Shell command if there are spaces in the "dir" 
> string.
> >
> > I am not an expert in any of this. I am just tring to help by 
> pointing this issue out. If it is a syntax error Gambas should detect 
> this and not crash.
> >
> > Regards,
> >
> > Charlie.
> >
> >
> >
> >
> >
> > Sent from Charlie's Samsung tablet"Benoît Minisini [via Gambas]" 
> <[hidden email] > 
> wrote:Le 14/05/2013 18:09, Charlie a écrit :
> >
> >> Hi all,
> >>
> >> You need one *Button* and one *DirChooser* on your form
> >> I have reduced code to the following to emulate this bug I am 
> getting: -
> >> '*
> >> Public Sub _new()
> >> End
> >>
> >> Public Sub Form_Open()
> >> End
> >>
> >>
> >> Public Sub Button1_Click()
> >>
> >> Dim SDir As String
> >> Sdir = DirChooser1.SelectedPath
> >> SDir = Replace(SDir, " ", "\ ")
> > This line is not syntactically correct ("\ "). Please provide a project
> > or at least code that compiles!
> >
> > Regards,
> >
>
>
> --
>  
>
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> ___
> Gambas-user mailing list
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> 
> If you reply to this email, your message will be added to the 
> discussion below:
> http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41950.html
> To unsubscribe from Possible bug, click here 
> <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=41943&code=Y2hhcmxpZUBjb2dpZXIuY29tfDQxOTQzfC0xMjY5ODcwMTc2>.
> NAML 
> <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41957.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
Hi Olivier Cruilles,

I have found a work around. As suggested earlier by Caveat using "// ". I
now have: -

*Public Sub Button1_Click()
Dim SDir As String

Sdir = DirChooser1.SelectedPath

SDir = "ls " & Replace(SDir, " ", "\\ ") & " > Temp.txt"
Shell SDir

End
*

The output to the shell is : - 

*ls /home/charlie/This\ is\ a\ \ test\ directory > Temp.txt*

This even allows for more that one space in a directory name.

Thanks all for your help.

Charlie




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

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ProgressBar code example

2016-09-25 Thread Charlie
Have a look at the attached and see if that helps, if not check us out at 
Gambas.one   
Take2.tar   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ProgressBar-code-example-tp57393p57405.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] gambasdoc.org up for sale?

2016-10-03 Thread Charlie
In Mint/Ubuntu etc. simply run the following line to install the latest
stable release of Gambas: -
*/sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3/*
This way you will stay up to date with any later stable releases.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gambasdoc-org-up-for-sale-tp57430p57456.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


  1   2   3   4   5   6   7   8   9   >