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

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

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

[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

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

[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 doe

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 Termina

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.81

[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

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

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

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 Busin

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

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/Addin

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 & "&" T

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

[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

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

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.

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://g

[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. ---

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. -- _

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 sD

[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 runnin

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

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

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.

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/V

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

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

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

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'

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 contex

[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 example

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

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. -- ___

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.

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", "

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 " &

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

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 i

[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 archiv

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

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 "

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: Ge

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.

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(TextBo

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.nabbl

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.814

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

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://

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

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 " & C

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.

[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

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

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

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

Re: [Gambas-user] qt5

2016-05-02 Thread Charlie
126/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 a

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

[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 th

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

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' bu

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

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

[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-u

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

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

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 -

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/Posi

[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

[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.81

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/g

[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

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

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

[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 & Str

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 Inte

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 Fr

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

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

[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.

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

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

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

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.n

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.

[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 gam

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-0ub

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

2014-10-02 Thread Charlie
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 --

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

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

2014-10-08 Thread Charlie
nts 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 mail

[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

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: ht

[Gambas-user] Possible bug

2013-05-14 Thread Charlie
tring 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 Archi

Re: [Gambas-user] Possible bug

2013-05-14 Thread Charlie
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 éc

Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
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 t

Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
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/P

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 Sen

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 mess

  1   2   3   4   5   6   7   8   9   >