Re: [Gambas-user] How to open new examples in gambas, after finishing with one.

2013-11-11 Thread charlesg
assuming you are using Gambas3: File, Open example -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-open-new-examples-in-gambas-after-finishing-with-one-tp44200p44212.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Gambas 3 in Debian Repository?

2013-01-13 Thread charlesg
I see Gambas 3.1.1 has re-appeared (yet again) in the repository of Xubuntu 12.10 which presumably inherits from Ubuntu which presumably inherits from Debian. Seems ok. Is this (at long last) a working version? -- View this message in context:

Re: [Gambas-user] Puppy on Pi

2012-12-23 Thread charlesg
Hi Gambas on Puppy has been a saga that has run and run and run. The paranoid half of me suspects some kind of official disapproval as Puppy has it's own lobotomised BASIC variant called BaCon. -- View this message in context: http://gambas.8142.n7.nabble.com/Puppy-on-Pi-tp40515p40516.html

Re: [Gambas-user] RaspberryPi

2012-12-21 Thread charlesg
Mike Crean wrote: I .. had problems using Ubuntu to put the image on the SD. I had the same problem. It was due to M$ crud on the SD as bought. Blatted it with System Rescue and the image installed fine from Xubuntu. -- View this message in context:

Re: [Gambas-user] hsplit.layout settings under gtk

2012-11-28 Thread charlesg
Benoît Minisini wrote I cannot reproduce any problem, so please give more details : which GTK+ theme you use, which desktop you use, screenshots... Here is a link to a short video showing the problem. It's short: only 400K ftp://ftp.drivehq.com/charlesg628/PublicFolder/out.ogv

Re: [Gambas-user] hsplit.layout settings under gtk

2012-11-25 Thread charlesg
Hi I am using a fresh install of Xubuntu 12.10 but it also happens on Lubuntu 12.04. [System] OperatingSystem=Linux Kernel=3.5.0-18-generic Architecture=i686 Memory=1805260 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 12.10 Desktop=Xfce Language=en_GB.UTF-8 [Gambas 3] Version=3.3.90

Re: [Gambas-user] hsplit.layout settings under gtk

2012-11-25 Thread charlesg
Hi Hi I am not sure that video will get through. Here are two screenshots done by simply run,close,run,close. 1st_run.png http://gambas.8142.n7.nabble.com/file/n40061/1st_run.png 2nd_run.png http://gambas.8142.n7.nabble.com/file/n40061/2nd_run.png Each time you run the programme (under GTK

Re: [Gambas-user] hsplit.layout settings under gtk

2012-11-25 Thread charlesg
Hi I have noticed that the effect is not apparent if you close the application from the IDE. I can only get the bug by open from IDE, close from application repeated. rgds -- View this message in context: http://gambas.8142.n7.nabble.com/hsplit-layout-settings-under-gtk-tp40036p40062.html

[Gambas-user] hsplit.layout settings under gtk

2012-11-24 Thread charlesg
Hi, The saving of hsplit.layout settings works fine under qt4 but give imprecise results under gtk. Gambas 3.3.9. various 32bit OS. tSplitLayout-0.0.1.tar http://gambas.8142.n7.nabble.com/file/n40036/tSplitLayout-0.0.1.tar rgds -- View this message in context:

Re: [Gambas-user] hsplit.layout settings under gtk

2012-11-24 Thread charlesg
Hi Thks for super-quick reply! Gambas 3.3.90 Under GTK only: If I move the hsplit bar and close the file, then the hsplit is not in the new position when I open the program the next time. It does respond to the change but not accurately. All this works fine under QT rgds -- View this

Re: [Gambas-user] Printer code request

2012-10-28 Thread charlesg
Here is a revised version of the Barcode example http://old.nabble.com/file/p34612204/BarcodeGambas3-0.0.4.tar BarcodeGambas3-0.0.4.tar Benoît Minisini wrote: Le 11/08/2012 11:58, charlesg a écrit : Benoît Minisini wrote: I don't remember. When? Your file is unreadable. Please join

Re: [Gambas-user] Writing an article about Gambas 3.3

2012-10-17 Thread charlesg
Benoît Minisini wrote: Does anyone know the best places where that article should be submitted? Muktware is normally an interesting read. Can I offer any help with translation? -- View this message in context:

Re: [Gambas-user] Gambas3 Can't see the project files

2012-10-03 Thread charlesg
Choperhead wrote: .. but when I open the project folder there is empty (the form files etc. not are there) Many Gambas3 files (including source files) are hidden. In Nautilus (the file manager) you can display them with ctrl-H. It might be safer to make a source archive (Project, Make,

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Jussi Lahtinen wrote: See Barcode example for how to send things to printer. My barcode example only printed from Gambas2. I did submit a Gambas3 version to the mailing list that did print from Gambas 3 but it never made it into the source repository. I see the source version of the

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Benoît Minisini wrote: I don't remember. When? Your file is unreadable. Please join it to your post as a normal attachment. It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has been deleted. I seem to remember you found fault with something. Perhaps you expected me

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Jussi Lahtinen wrote: Hints... ((Key[n] Or Key[N]) And Key.Alt) Here Or and And are bitwise operators. AAHH! Thanks. I will correct. -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285575.html Sent from the gambas-user mailing list

[Gambas-user] Distribution availability: it's gets better!

2012-07-28 Thread charlesg
Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means Ubuntu as well. -- View this message in context: http://old.nabble.com/Distribution-availability%3A-it%27s-gets-better%21-tp34223758p34223758.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Distribution availability: progress at last

2012-07-20 Thread charlesg
Very nice to see that Mageia 2 has Gambas 3.1.1 in its software repository. Distrowatch (not that it is definitive) has Mageia as second most popular over the last three months and ahead of Ubuntu. -- View this message in context:

Re: [Gambas-user] Gambas 3 runs on Raspberry Pi

2012-04-28 Thread charlesg
Benoît Minisini wrote: But it works, and it's cool. :-) I sent Raspberry Pi the screendump and had the following reply from Eben Upton: Oh, very cool. We'll try to help you guys jump the queue for some units when we get the next batch in. Fingers crossed. -- View this message in

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-26 Thread charlesg
charlesg wrote: I have emailed Raspberry Pi to see if they have any development kits. I have received a very polite reply from Eben Upton telling me to join the queue! Thinking about it, I suspect the ex-Director of Computer Science, St John's College, Cambridge would probably develop

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-25 Thread charlesg
kevinfishburne wrote: I just tested gb3's memory consumption with the world generator for my game it it uses about 70 MB of RAM just to load the project. Gambas apps may not consume RAM but I seem to remember that Gambas itself will not compile an app if the m/c does not have 384Mb.

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-25 Thread charlesg
Fabien Bodard-4 wrote: but how to get one of these machines? I have emailed Raspberry Pi to see if they have any development kits. Standing in RS Components or Premier Farnell queue would I fear take forever. -- View this message in context:

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-24 Thread charlesg
gambas-4 wrote: Status: New New issue 242 by tvijlbr...@gmail.com: Gamba forms fail on Debian ARM It's early days (you're lucky if you can actually get hold of a Raspberry Pi) but I think a Pi with functional Gambas would have an enormous effect on the perception and acceptance of Gambas.

Re: [Gambas-user] Installing Gambas3 - /.reconf-all not found

2012-03-10 Thread charlesg
Bill-Lancaster wrote: I have a clean hard drive with fresh install of Ubuntu 12.04 Am following instructions from http://kalaharix.wordpress.com/gambas-3/gambas-3-compile-and-install/ Everything is fine until ./reconf-all when I get bash: ./reconf-all: No such file or directory Any

Re: [Gambas-user] Installing Gambas 3 fails

2012-03-09 Thread charlesg
Hi Bill-Lancaster wrote: I'm following instructions found at http://kalaharix.wordpress.com/gambas-3/gambas-3-compile-and-install/ Package kdelibs4-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only

Re: [Gambas-user] Installing Gambas 3 fails

2012-03-09 Thread charlesg
My experience after a compilation failure is to delete trunk and start over. I am sure it is not essential but I am convinced there are black arts at work :) Bill-Lancaster wrote: Thanks for the help. That set of commands runs fine, but I then ran reconf all - fine Then ./configure

Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-03-03 Thread charlesg
works great. Thank you. gambas-4 wrote: Updates: Status: Fixed Comment #3 on issue 211 by benoit.m...@gmail.com: Gridview multiselect http://code.google.com/p/gambas/issues/detail?id=211 You can use Text inside of Title. I will add the Title synonymous anyway, to keep the

Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-03-02 Thread charlesg
Gridview multiselect ver 4522, lubuntu 11.10 32bit 1) Now works consistently GTK/QT. 2) ctrl-click adds correctly. click new line removes previous selection. All OK 3) select line then shift-click another does not add block on either gtk/qt thanks gambas-4 wrote: Updates: Status:

Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-02-19 Thread charlesg
gambas-4 wrote: 1) Describe the problem. i cant deselect a row when multiple row are selected Hi I have an application with the same problem and have been trying to de-construct it to get to the essence. It first occured in Gambas2 and transferred to Gambas3 with the auto convert. If I

Re: [Gambas-user] TAB on keyboard

2012-02-11 Thread charlesg
Willy Raets wrote: Is there a way in Gambas2 (or Gambas3), when using TAB-key on keyboard to have it skip (in my case all read only) controls and just go to those that matter for input? 2 workarounds: firstly: Public Sub TextBox3_GotFocus() TextBox1.SetFocus End secondly: fake

Re: [Gambas-user] Gambas Cloud

2011-08-27 Thread charlesg
Andrea Bertini wrote: Gui-frontend on desktop made with Gambas, database sqlite on the cloud: is it actually possible? SQLite is single-user update but multi-user read. You don't say whether you (alone) are trying to share a database (e.g. home and work) or whether lots of different users

[Gambas-user] Moving a modal child window

2011-08-24 Thread charlesg
Hi I am trying to position a modal child window relative to its parent. When I put 'me.top = FMain.top + 20' in the _Open class of the child, it works with GTK but not QT (where the child window opens centered). I can get the child window to move correctly in both GTK and QT by using a 1msec

Re: [Gambas-user] Help me ....... with Gambas2 and SQlite3

2011-08-16 Thread charlesg
quot;Muñoz Palominos, César Augustoquot; wrote: How I can insert a CSV (comma-separated values) file into Sqlite3 database in Gambas2 program? Here is an example. It won't be directly applicable to you but will give pointers. In constructing the CSV, I used ^ as a separator. If you

[Gambas-user] Gambas 3 book

2011-07-06 Thread charlesg
It see on the Ubuntu forum that Dr Rittinghouse has updated his Gambas book with Jon Nicholson (http://beginnersguidetogambas.com/) now 'revised for Gambas 3'. This is brilliant news! -- View this message in context: http://old.nabble.com/Gambas-3-book-tp32005062p32005062.html Sent from the

Re: [Gambas-user] Barcode example for Gambas3

2011-06-08 Thread charlesg
Pino Zollo wrote: FMain.printer_Draw.49: FMain.printer_Draw.47Type mismatch: wanted Float, got Null instead I am hoping the following will allow for comma decimals (would be grateful if you could check) : ftp://ftp.drivehq.com/charlesg628/publicfolder/BarcodeG3-0.0.5.tar.gz

[Gambas-user] Barcode example for Gambas3

2011-06-05 Thread charlesg
I posted this on gambas-devel but don't know if it got through. I was not registered on that list. It is an update on the barcode example for Gambas3. http://old.nabble.com/file/p31776060/BarcodeG3-0.0.4.tar.gz BarcodeG3-0.0.4.tar.gz -- View this message in context:

Re: [Gambas-user] Barcode example for Gambas3

2011-06-05 Thread charlesg
shordi wrote: I can't open the file Shordi Hmm.. I don't have a problem (ub10.10 32bit) but have had this in the past. Bit odd as I am just using the 'project,make,source archive' from within G3. Could you try 'gunzip BarcodeG3-0.0.4.tar.gz' from a terminal and work from the tar

Re: [Gambas-user] 2 Forms on one form!

2011-02-21 Thread charlesg
Baris Bicer wrote: When clicking one button the form will be shown on the same form using panels etc.Is it possible? Most objects have a visible property. You can, for example, layer panels on a form (one on top of the other) and control the visible property from a button. Here's an

Re: [Gambas-user] gb3 - unable to load Qt translation

2010-12-08 Thread charlesg
Hi, Wally-8 wrote: on run a project in gambas3 i always get: warning: unable to load Qt translation: en_US.UTF-8 I can confirm the error message (but in my case with en_GB.UTF-8). 32bit UBuntu 10.10, Gamrev 3338 -- View this message in context:

Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg
Hi Gregor Burck wrote: Can I direct print html? I shell to htmldoc to turn the html to pdf. e.g. shll = htmldoc --bodyfont Sans --fontsize 6.0 --outfile Application.path /tfc.pdf --webpage Application.path /tfc.htm SHELL shll WAIT then: shll = lpr Application.path /tfc.pdf

Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg
Dimitris Anogiatis wrote: Hey guys, Does htmldoc have any UTF-8 support? Looking at www.htmldoc.org I don't think there is UTF-8 support. I just use it for formatting tables. It is in the Ubuntu repository (sudo apt-get install htmldoc) but I don't know about other distros. rgds --

Re: [Gambas-user] Beep?

2010-10-19 Thread charlesg
SHELL echo -e \\\007\ /dev/tty10 I think I got that from this forum. bbb888 wrote: Pretty simple? How can I make the computer go beep -- View this message in context: http://old.nabble.com/Beep--tp29997205p29998294.html Sent from the gambas-user mailing list archive at

Re: [Gambas-user] Beep?

2010-10-19 Thread charlesg
Just as well! I just tested my version and it doesn't work anyway. :,( 'echo -e \\007' does work from terminal. Benoît Minisini wrote: SHELL echo -e \\\007\ /dev/tty10 I think I got that from this forum. bbb888 wrote: Pretty simple? How can I make the computer go beep In

Re: [Gambas-user] Barcode reader

2010-10-16 Thread charlesg
I have Metrologic and Symbol scanners working with 'keyboard wedge' interface. Needs a computer with ps2 keyboard socket though. Connect scanner to keyboard port, keyboard to scanner and computer can't tell the difference. minthaka wrote: Is it possible to use Gambas2 (or 3) together with a

Re: [Gambas-user] [ASK] How to sort Gridview?

2010-10-13 Thread charlesg
Use columnclick event, clear gridview, sort data, redisplay. Use data event if you have thousands of data. PUBLIC SUB Form_Open() GridView1.columns.count = 2 END PUBLIC SUB GridView1_ColumnClick(colm AS Integer) PRINT Colm END rportnoy wrote: Hey bro, how could I order by

Re: [Gambas-user] installation error in ubuntu

2010-10-11 Thread charlesg
You don't say what version Ubuntu. I can't see a reason to compile an old version of Gambas (2.18). Just enter: sudo apt-get install gambas2 from terminal. Do not add from Ubuntu repository ( e.g. 'Add/Remove' on 8.04). The repository versions tend to be incomplete. btw New Ubuntu Maverick

Re: [Gambas-user] Using Open in Gambas 3

2010-09-06 Thread charlesg
craf wrote: In Gambas 3 can not be used and must be assigned to hfile: Dim hFile As File Dim line As String hFile = Open text For Read While Not Eof(hFile) Line Input #hfile, line Print linea Wend

Re: [Gambas-user] Using Open in Gambas 3

2010-09-06 Thread charlesg
Fabien Bodard-4 wrote: this is new since gb2 Not sure about that. The following works even back to 2.13 DIM j AS Integer = 0 INC Application.busy hFileOut = OPEN /home/charles/rba/rba.csv FOR CREATE sql = select * from stmaster res = mdFile.$hConnStock.Exec(sql) FOR EACH

Re: [Gambas-user] Change Gridview.mode programmatically

2010-08-09 Thread charlesg
charlesg wrote: I can change a gridview with mode = multiple to single with: ' Public Sub radbutSingle_Click() GridView1.mode = 1 End ' and it works but I cannot do it the other way round. i.e. if the mode is single

[Gambas-user] Change Gridview.mode programmatically

2010-08-08 Thread charlesg
Hi I can change a gridview with mode = multiple to single with: ' Public Sub radbutSingle_Click() GridView1.mode = 1 End ' and it works but I cannot do it the other way round. i.e. if the mode is single then:

Re: [Gambas-user] Gambas3:draw.begin(printer)

2010-06-01 Thread charlesg
Thanks Fabien for your reply. After much struggle I still cannot get a result and include the following for the amusement of all. :) prnter is not aware of events begin and draw. Rsult is T and thus a failure. The program does spit an empty sheet from the printer. If someone could correct the

[Gambas-user] Gambas3:draw.begin(printer)

2010-05-31 Thread charlesg
Hi Converting Gambas2 to Gambas3 using QT. draw.begin(printer) now says that printer is 'not a drawable object' printer.name reports correctly. Grateful any help or pointer to the documentation I can't find! rgds -- View this message in context:

Re: [Gambas-user] Ubuntu 10.04 LTS

2010-04-30 Thread charlesg
Hi Gambas 2.20.2 works fine on a raw install (i.e. not upgraded) 10.04 using Karmic (9.10) dependency list. I think there is a problem with Gambas 3 but am sure it will be sorted soon (as ever!) rgds -- View this message in context:

Re: [Gambas-user] Ubuntu 10.04 LTS

2010-04-30 Thread charlesg
Hi Gambas 2.19.0 is in UB10.04 software centre but last time I tried it gave an incomplete installation. If you don't want to compile rather do sudo apt-get install gambas2 from the terminal and even then check in synaptic by searching on gambas and making sure all the boxes are ticked. rgds --

Re: [Gambas-user] Cannot load class 'Balloon'

2010-04-28 Thread charlesg
Hi I fixed the balloon error by loading Ubuntu package intltool (don't know the Arch equivalent). Now it loads but still does not run so there must be other unsatisfied dependencies. Somebody on the Ubuntu forum has got it working (Gambas 2.99 on ub10.04 64bit) but has not spilled the beans yet.

Re: [Gambas-user] Cannot load class 'Balloon'

2010-04-27 Thread charlesg
Fabien Thank you for that. Gambas 3 used to compile on Ubuntu 10.04 (lucid) using the list of dependencies for 9.10 (Karmic) in the Gambas installation pages. It now also needs intltool (or part of it?) as in sudo apt-get install intltool. Gambas 3 now runs but looks odd. I am way out of my

Re: [Gambas-user] Currency and addition/subtraction

2010-03-12 Thread charlesg
Hi, I guess the simple answer is: fTotal += Val(tblView[row, column].text) However, you will eventually run into rounding errors. there was quite a lengthy thread not long ago about this. The conclusion (if such a thing can be reached on a forum :-)) was that currency should be worked on as

Re: [Gambas-user] Gambas 2.19 on Ubuntu 10.04 Alpha 3 [Lucid Lynx]

2010-03-08 Thread charlesg
Hi Its the same old saga of incomplete Ubuntu repository installation. You have to go to Synaptic, search on Gambas and install the missing components. I have already left a post on the Lucid development section of the Ubuntu forum to try and sort this out before final release. So far no

Re: [Gambas-user] What are the {} enclosed variables

2010-03-05 Thread charlesg
Hi The ghostwriters have been a bit ephemeral. How about a simple: To use a property name that is also a Gambas reserved name in your personal class, you must enclose the property name within {}. For example: Property Font as Font Property Left as Integer will both cause a compile error.

[Gambas-user] Does the mailing list work?

2010-02-26 Thread charlesg
Hi I have often been a bit paranoid about this mailing list. Using http://old.nabble.com/Gambas-f3425.html, I find a post by Caveat replying to tobiasboe whose original post I can't see. However when I look at http://www.mail-archive.com/gambas-user@lists.sourceforge.net/index.html#08446, I can

Re: [Gambas-user] New Gambas Install missing parts

2010-02-26 Thread charlesg
Hi What Linux distro? What version Gambas? If you installed from Ubuntu repository, Go into Synaptic, search on Gambas and install missing components. The dang repository version is incomplete. rgds -- View this message in context:

Re: [Gambas-user] database

2010-02-26 Thread charlesg
Hi Why not something like: SHELL mysql -u root stock /home/charles/mySQLbackup/stockDump.sql WAIT you could also specify a remote server. where stockDump.sql was created by mysqldump. rgds -- View this message in context: http://old.nabble.com/database-tp27723478p27724208.html Sent from the

Re: [Gambas-user] Help files

2010-02-26 Thread charlesg
Hi, I recommend you try compiling Gambas 2.19 from source. It seems a bit involved for the first few times but you soon get the hang of it. The advantage is that it gives the people on the forum a base line for their assistance. The Ubuntu versions of Gambas are created without care. rgds --

Re: [Gambas-user] Text box event triggered by enter

2010-02-26 Thread charlesg
Hi I use this: '- PUBLIC SUB txtBarcode_KeyPress() IF InStr(1234567890, key.text) = 0 THEN STOP EVENT ENDIF END '- PUBLIC SUB txtBarcode_KeyRelease() SELECT

Re: [Gambas-user] Setting default values on a listbox

2010-02-08 Thread charlesg
Hi I read the question differently from Werner (probably incorrectly!) I think you want: PUBLIC SUB Form_Open() DIM j AS Integer FOR j = 40 TO 50 ListBox1.Add(Str(j) Chr(j), j) NEXT ListBox1[5].selected = TRUE END -- View this message in context:

Re: [Gambas-user] How to change a picture when a key is pressed ?

2010-01-08 Thread charlesg
Hi I don't mess around with pictures much so this may be the blind leading the blind. The command is: PictureBox1.Picture = Picture.Load(/home/charles/Photos/SV45.JPG) I could not get a response to a PictureBox1_keypress event so I buried a textbox behind the picturebox, made sure it had

Re: [Gambas-user] Type of Variables possible?

2009-12-28 Thread charlesg
Hi Project, Options, Module symbols are public by default=yes ? rgds -- View this message in context: http://old.nabble.com/Type-of-Variables-possible--tp26938813p26951829.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Make Installation Package Failure

2009-11-10 Thread charlesg
The package on Ubuntu is annoyingly incomplete. Go into Synaptic, search on Gambas and install the rest of what should have been in the package. Even better compile Gambas from source although 2.13 is fine for testing. rgds -- View this message in context:

Re: [Gambas-user] does this work (test)

2009-11-08 Thread charlesg
I have got the impression over the last few days that nabble is having one of its periodic hiccups. I see that the http is now 'old.nabble.com'. Is there a 'new.nabble.com'? rgds -- View this message in context: http://old.nabble.com/does-this-work-%28test%29-tp26254121p26262017.html Sent

Re: [Gambas-user] set of questions

2009-10-23 Thread charlesg
Doriano While you are busy dumping on yourself, let me join in: you are wrong. 1) You are wrong that you do not have a good command of the English language. I have often marvelled (in that vaguely condescending British sort of a way :)) how good your (in particular) and every contributors (in

Re: [Gambas-user] set of questions

2009-10-21 Thread charlesg
Hopefully this answers question 2. It is a distillation of the database example that comes with Gambas: You just need a gridview, a button called btnRun and a preferably large database with lots of columns so that you can scroll around with ease

Re: [Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

2009-09-24 Thread charlesg
Hi, I tried printing line-by-line directly to the raw device and got into awful overlapping (? buffering) problems. I think you would be far better to create a single line text file each time and then print it with (for example): SHELL cat /home/charles/tilRcpt/dev/lp0 It's blindingly quick

[Gambas-user] Pass parameter to Gambas prog.

2009-08-17 Thread charlesg
Hi all, Can I pass a parameter to a Gambas program? e.g myprog.gambas parm1 How do I read the parameter? Any help gratefully received. rgds -- View this message in context: http://www.nabble.com/Pass-parameter-to-Gambas-prog.-tp25002337p25002337.html Sent from the gambas-user mailing list

Re: [Gambas-user] Gridview not moving to last line in Gambas 3

2009-08-13 Thread charlesg
I noticed that the subsequent addition of a line to the gridview caused it to display correctly. Also a second Gridview on the form behaved itself from _open. So I moved the routine to display the problem gridview from form_open to form_activate and it now works correctly. -- View this

[Gambas-user] Gridview not moving to last line in Gambas 3

2009-08-12 Thread charlesg
The following code works fine in 2.13 on Ubuntu 9.04 i386 and correctly dispays the last line of the result in gridview gvAll On 2.99 2224, however, the last line is not displayed or not fully displayed. You have to scroll to show the last line. I thought it might have something to do with the

Re: [Gambas-user] Database example

2009-06-19 Thread charlesg
Hi Thank you Ron for that. A bit more messing around and I think I now understand it. Following on from richard terry's suggestion for simple examples, here it is as simple as I can get it. There is nothing new here: it all comes from the database example. Any corrections to the annotations

[Gambas-user] Database example

2009-06-14 Thread charlesg
Hi, I have extracted what I need from the database example. I can even get it to do exactly what I want. But, in truth, I do not understand how it works exactly. '=== ' FMain.class PUBLIC $hConnLocl AS NEW Connection PUBLIC $resData AS Result

Re: [Gambas-user] gb.net componet

2009-05-29 Thread charlesg
Hi, It really helps to know your Gambas version and Linux distribution version. Do you mean install or use? To use gb.net: Go into your project then Project, properties, components and click on gb.net. Check this first. If gb.net is not an option in the list then you will have to install it

Re: [Gambas-user] MySQL database interaction tutorial

2009-05-29 Thread charlesg
Hi, Not strictly an answer to your question :) but have you seen the how to... at http://gambasdoc.org/help/ rgds -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side

Re: [Gambas-user] Startup problems

2009-05-28 Thread charlesg
I don't think you answered Diego's questions? The last time I installed Gambas 2.8 from Applications, Add/Remove in Ubuntu 9.04, the installation was incomplete and I had to go into Synaptic (system, administration, synaptic), do a search on Gambas and install the all related packages. rgds --

Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread charlesg
Hi I also have this problem quite often :( unzip the file first with: gunzip sales-0.0.1.tar.gz and then extract it with a dble-click rgds -- View this message in context: http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23484102.html Sent from the gambas-user mailing

Re: [Gambas-user] Re port for Gambas

2009-05-09 Thread charlesg
Hi I think Laurux uses Kugar? There are also references here and elsewhere to using unzip on a template created in Open Office spreadsheet, changing the values in the xml and re-zipping back to .ods. rgds -- View this message in context:

Re: [Gambas-user] sqlite integer to text string problem

2009-05-08 Thread charlesg
Hi, SQLite is a bit unusual. As the FAQ at www.sqlite.org says, the field type is is one of expectation rather than definition (with the exception of an integer primary key). This is demonstrated in your example where you have put real numbers (0.64) into an integer field. SQLite doesn't care:

Re: [Gambas-user] gridview

2009-04-27 Thread charlesg
Hi Have you changed the mode property to single (allows one line to be selected) or multiple? rgds -- View this message in context: http://www.nabble.com/gridview-tp23252958p23254524.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] I need a shell script

2009-04-27 Thread charlesg
Hi I sometimes have this problem. It works if you gunzip it first to a tar file. rgds -- View this message in context: http://www.nabble.com/I-need-a-shell-script-tp23248632p23254597.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread charlesg
Hi, I have experienced this some time ago and it was not on ub904. I have set your code on ub904 with built-in gam2.8 and confirm the error 11. BUT, the fix is the same as it was in my case: get rid of the menu bar and it compiles. Just don't ask me what it means :) rgds -- View this

Re: [Gambas-user] Gridview select and deselect

2009-04-17 Thread charlesg
Stefano, Yes, thanks for that. I am sure I can make it work. rgds -- View this message in context: http://www.nabble.com/Gridview-select-and-deselect-tp23098365p23102420.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] We should offer online Gambas courses!

2009-03-31 Thread charlesg
Hi all, As one of the great unwashed (i.e. less proficient) Gambas users, I must say that I prefer Richards approach using annotated code examples at a simple level. I don't really feel comfortable with the idea of a paid-for tutorial system and feel that 'we' as a user base should freely

Re: [Gambas-user] How to populate a gridview from keyboard

2009-02-17 Thread charlesg
Hi, Tableview is a modifiable gridview but I did not find it very flexible. Jacky-12 gave a brilliant solution in reply to my post 'OOP and TextBox' Nov-21-2008 rgds -- View this message in context: http://www.nabble.com/How-to-populate-a-gridview-from-keyboard-tp22058169p22058870.html Sent

Re: [Gambas-user] Bug gb.gtk Dataview 2.11.1

2009-02-11 Thread charlesg
Ing. Otto Domínguez Wow! Please, please would you give the forum a page on how to compile Gambas on Puppy? At least one of us is not bright enough to do it for ourselves! I am sure the Puppy forum would appreciate the same. rgds -- View this message in context:

Re: [Gambas-user] Gambas2 components?

2009-01-13 Thread charlesg
Hi, Database components are not my cup of tea (I prefer to do things the hard way!) but they do exist in Gambas. Have a look at the database example. rgds -- View this message in context: http://www.nabble.com/Gambas2-components--tp21430932p21434754.html Sent from the gambas-user mailing list

Re: [Gambas-user] Ask About POS Programming using Gambas

2009-01-07 Thread charlesg
Hi, I guess it is because you are printing to a raw device (/dev/lp0) which has no buffering. Two paths for you to follow: Install (and probably modify) a printer driver such as 'generic' through CUPS. This will introduce a buffer to the printing process. or Use a (very) un-subtle workaround:

[Gambas-user] Trumpets please!

2008-12-07 Thread charlesg
Hi, Gambas 2.9.0 is on the coverdisk of my favourite Linux mag (Linux Format LXF114 Jan 09) again. Some very nice comments in the magazine as well. Such as ...has blossomed into one of the finest development environments in the free software world - the Gambas team certainly has a lot to be

[Gambas-user] OOP and TextBox

2008-11-21 Thread charlesg
Hello, I need more control of cell entry than can be provided by tableview. I have laboriously placed textboxes over (and under) gridview cells in much the same way I imagine that tableview itself is constructed. It works. Not knowing much about OOP it strikes me that there must be an easier

Re: [Gambas-user] OOP and TextBox

2008-11-21 Thread charlesg
Jacky-12, Ha! It will take me a little time to understand it fully but it looks absolutely spot on. Thank you, -- View this message in context: http://www.nabble.com/OOP-and-TextBox-tp20618177p20619605.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Latest Gambas packages for Ubuntu - Broken?

2008-11-10 Thread charlesg
Hi If you follow the installation bit in kalaharix.wordpress.com you will currently get 2.8.2. rgds -- View this message in context: http://www.nabble.com/Latest-Gambas-packages-for-Ubuntu---Broken--tp20408776p20418753.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Ubuntu now installs Gambas 2.8.2

2008-10-04 Thread charlesg
Oops Not so sure now. I still have azores.linex as a third-party-site so I guess the upgrade could have come from there. :confused: rgds -- View this message in context: http://www.nabble.com/Ubuntu-now-installs-Gambas-2.8.2-tp19683990p19684124.html Sent from the gambas-user mailing list

[Gambas-user] Ubuntu now installs Gambas 2.8.2

2008-10-04 Thread charlesg
Hi, I see that Ubuntu now installs Gambas 2.8.2 by default. This is grand news. I am interested to know whether such a change would have been instigated from Ubuntu itself or from the Gambas community. I do not know how Ubuntu/Debian select packages for inclusion. If the impetus comes from

Re: [Gambas-user] Build errors version ...67

2008-09-19 Thread charlesg
Hi, Confirmed on Ubuntu 8.04 (as well?) rgds -- View this message in context: http://www.nabble.com/Build-errors-version-...67-tp19566083p19567478.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] How to write to a file??

2008-09-18 Thread charlesg
Hi Brittany, You have 2 options: write to a simple text file or write to a database. Writing to a text file is simple. '- ' Gambas class file PUBLIC hFile AS File PUBLIC SUB form_Activate() 'create the file if it does not exist, otherwise just open it

  1   2   >