Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Dimitris Anogiatis
While Google translate and other online transaction tools are not perfect we could try a few of them to see which combination of such tools makes more sense for both the English side and the non-English side. Keep in mind that the way we put words to our thoughts is also affected​ by different

Re: [Gambas-user] Gambas-user Digest, Vol 132, Issue 29

2017-05-23 Thread Dimitris Anogiatis
Does the same behavior occur with a wired keyboard (not your wireless Logitech K330)? On Tue, May 16, 2017 at 3:48 AM, Glaucio Araujo wrote: > Hi, Jussi > > > My Xorg.0.log is in ~/.local/share/xorg/ > > Log attached. > > My Xinput: > > > gda@acer:~$ xinput list >

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-23 Thread Dimitris Anogiatis
Ok.. Gambas3 run as root? Not a good idea. I realize it's a much needed workaround but not the recommended one. I would go with what Cris suggested. I've run Gambas3 3.9.2 on a Virtualbox VM of Ubuntu Budgie 17.04 and as a normal user I've never had problems with the keyboard locking. Is there

[Gambas-user] Support for new Packaging systems (Snappy and Flatpak)

2016-06-17 Thread Dimitris Anogiatis
Hey guys, This is by no means urgent, I'm just asking mainly out of curiosity. There's been a lot of talk lately about new packaging systems mainly Snappy (from Canonical - http://snapcraft.io/) and Flatpak (from Red-Hat/Fedora but I also think they GNOME Foundation is behind them too -

Re: [Gambas-user] qt5

2016-06-14 Thread Dimitris Anogiatis
Are the qt4 webkit and qt5 webkit too different that we can't use a symlink for qt4's webkit to point to qt5's webkit? That way we could (theoretically) bridge the gap temporarily until qt5 becomes more stable. Ian, what are your thoughts on that? I mean I know its hacky but could it possibly

Re: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links

2015-12-05 Thread Dimitris Anogiatis
Just as an FYI there's a couple of typos on the title of the email. It was reported that gambas.sourgeforce.net had fake links when it should have been gambas.sourceforge.net The first URL only has a generic landing page (thus the "fake" links) On Fri, Dec 4, 2015 at 1:00 PM, Benoît Minisini <

Re: [Gambas-user] annoying glitch

2015-03-07 Thread Dimitris Anogiatis
Hey Gary, I assume you're using the two for loops to find which item on the source listbox is selected and then removed after the addition to the second listbox is done. Gambas listboxes are a bit more flexible. You can get the index of the selected item with lstInCar.Index. If there is no item

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Dimitris Anogiatis
Hey Bruce, In addition to all the good suggestions everyone is throwing in the problem, you could use a CouchDB database on a different server and just connect to it with a normal http connection if you're worried about file hits on the sd card. Gambas supports JSON and the httpclient component

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-12 Thread Dimitris Anogiatis
Hey Bruce, Here's an example of a CGI app that I just made. I hope it helps and doesn't confuse you more. I havent run it on an actual web server yet (just on the embedded web server that the IDE has) but I guess it won't be hard to plug it in to either Apache, Lighttpd or Nginx (whichever you

Re: [Gambas-user] Quickie on SELECT

2015-02-07 Thread Dimitris Anogiatis
Hey Bruce, You could try SELECT CASE EVAL(hSomething.SomeArray.Exists(hSomething.Value)) CASE True Print Yes, value exists in hSomething CASE False Print No, value does not exist in hSomething CASE Else END SELECT Putting CASE EVAL (if it's possible) to make SELECT check against

[Gambas-user] Self-Signed SSL certificate in Gambas3 3.5.4 Webview

2015-02-04 Thread Dimitris Anogiatis
Hey guys, I'm using Gambas3 3.5.4 on Debian Jessie. I want to login to a web app I'm working on with a self signed SSL certificate. I try to load the app on a webview component using a url starting with https but it doesn't show me anything, no error messages no nothing. 1) Is there a debug

Re: [Gambas-user] Install from Ubuntu repo - several issues

2014-12-12 Thread Dimitris Anogiatis
Dave, The examples stored are in a folder with different permissions. You need to save the example you're trying to a different location, ie to your home directory. After you do that the example will compile and run properly. I hope this helps Dimitris On Fri, Dec 12, 2014 at 7:22 AM, Willy

Re: [Gambas-user] Problems installing Gambas 3.5.4

2014-11-05 Thread Dimitris Anogiatis
Hey Simon, Re: Issue 2, I've found that if you load an example and save it to another location you won't have to fiddle with permissions. That way you also keep the original examples just in case you want to revisit them. Hope this helps On Wed, Nov 5, 2014 at 1:59 AM, ep...@skellner.de

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

2014-09-22 Thread Dimitris Anogiatis
I think that those 13 files are mostly all that's needed to put your program into a repository including the source code. If you just want to get the binary into your target system or on a website without going through a repository... then you only need one. On Mon, Sep 22, 2014 at 9:57 AM,

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread Dimitris Anogiatis
/me scratches head... Ubuntu 12.04LTS with metacity and gnome2? I thought Ubuntu switched to Unity a LOOONG time ago or am I missing something here? On Thu, Sep 18, 2014 at 3:51 AM, John Leake jle...@socit.co.uk wrote: Some of the symptoms (1) System wide keyboard

Re: [Gambas-user] Issue 548 in gambas: complete code of htttp post example

2014-08-12 Thread Dimitris Anogiatis
I'm not sure there is a need for a re-write. Just some comments to explain what the code does. For example on the button_click event you send the parameters for the webservice POST and the actual message you are sending is contained in the sCad string and the message target is set in the URL

[Gambas-user] How can I detect left or right click on TrayIcon

2014-01-21 Thread Dimitris Anogiatis
Hey guys, I'm using Gambas 3.5.1 on Debian jessie (Gnome 3.8.4) and I was wondering how can one detect a left or right click on the TrayIcon control. What do I need to do that? Can anyone give me some pointers? Thanks in Advance Sincerely Dimitris

Re: [Gambas-user] How can I detect left or right click on TrayIcon

2014-01-21 Thread Dimitris Anogiatis
...@users.sourceforge.net wrote: Le 21/01/2014 12:44, Dimitris Anogiatis a écrit : Hey guys, I'm using Gambas 3.5.1 on Debian jessie (Gnome 3.8.4) and I was wondering how can one detect a left or right click on the TrayIcon control. What do I need to do that? Can anyone give me some pointers

Re: [Gambas-user] Key code constant wrong?

2013-11-10 Thread Dimitris Anogiatis
Perhaps its a remnand from the typewriter days...where the separation between line feed and carriage return was more visible due to its mechanical nature. On Sun, Nov 10, 2013 at 2:10 AM, Benoît Minisini gam...@users.sourceforge.net wrote: Le 10/11/2013 06:05, Alain Baudrez a écrit : Why

Re: [Gambas-user] Obtain my IP with Gambas

2013-10-29 Thread Dimitris Anogiatis
you don't need a root account or root priviledges to get the IP address: just do a Shell ip -4 addr show eth0 | grep inet TO ipaddr and just parse the IP from that line. Note that eth0 is the name of your network interface. Hope this helps to simplify things in your code. Dimitris On Mon,

Re: [Gambas-user] Gambas self-extracting installer (3)

2013-10-26 Thread Dimitris Anogiatis
Hey Benoit, When I try the self extracting executable on my laptop it gives me the following error message: Verifying archive integrity... All good. Uncompressing Gambas installer test. STARTDIR=/tmp/selfgz25001 Unsupported architecture: i686 Distribution: Debian Wheezy

Re: [Gambas-user] gb.report without a database connection

2013-09-13 Thread Dimitris Anogiatis
Thanks for your quick reply Fabien, I also saw the report example and noticed that Report2 is covering that case. On Thu, Sep 12, 2013 at 2:47 PM, Fabien Bodard gambas...@gmail.com wrote: yes 2013/9/12 Dimitris Anogiatis dos...@gmail.com Hey guys, Is it possible to use

[Gambas-user] gb.report without a database connection

2013-09-11 Thread Dimitris Anogiatis
Hey guys, Is it possible to use the gb.report component without a database connection? What I'm basically asking is if the report component can take data from an array (or from multiple arrays). Thanks in advance Dimitris

Re: [Gambas-user] Controls with colorated background

2013-05-16 Thread Dimitris Anogiatis
Antonio, It could be the theme you're using. Change themes and see if you still get the same behaviour. If the colour on the control changes regardless of the theme you might have to specify a white background on the gridview Regards, Dimitris On Thu, May 16, 2013 at 6:14 AM, Antonio Sánchez

Re: [Gambas-user] Class Window in gb.qt4 vs gb.ncurses

2013-05-05 Thread Dimitris Anogiatis
Creating a report from a non-graphical method might prove difficult. If you are planning on using something like report from an HTML template on a PDF File you either need to make sure you can generate a PS or PDF file or you can use wkhtmltopdf https://code.google.com/p/wkhtmltopdf/ to generate

Re: [Gambas-user] ProgressBar Change Event

2011-07-09 Thread Dimitris Anogiatis
Demosthene, Since the value of the progressbar cotnrol is just between 0 to 1 you can probably try IF ProgressBar1.Value = 1 THEN ProgressBar1.label=Process complete You can probably do this within the ProgressBar1_Change() event assuming that the event is going to get fired when an input

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-05 Thread Dimitris Anogiatis
Hey Titan, Using the Split function is not the only option if you want to parse data from a string There's also Mid$, Left$, Right$ InStr, RInStr and other functions that you use to extract specific data from a string. Scan is another function that you can use to split strings into pieces but

[Gambas-user] Gambas daemon

2011-05-10 Thread Dimitris Anogiatis
Hey guys, I have a couple of questions... 1) How can I create a daemon in gambas2 (gambas2.21 on Debian Lenny)? Would Application.Daemon=True be enough? 2) Would my daemon be ran as root? if not is there a way for Gambas to set that when it creates the debian package? Thanks in advance

Re: [Gambas-user] Print html direct?

2010-11-24 Thread Dimitris Anogiatis
Hey guys, Does htmldoc have any UTF-8 support? Regards, Dimitrios On Wed, Nov 24, 2010 at 7:36 AM, Rolf-Werner Eilert eilert-sprac...@t-online.de wrote: Am 24.11.2010 13:54, schrieb charlesg: Hi Gregor Burck wrote: Can I direct print html? I shell to htmldoc to turn the

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-24 Thread Dimitris Anogiatis
I use INC Application.Busy and DEC Application.Busy in my applications on Debian Lenny (with LXDE) and Gambas 2.21 and it works just fine. Regards, Dimitris On Wed, Nov 24, 2010 at 9:23 PM, vikram austin...@yahoo.com wrote: Setting FMain.Mouse and calling WAIT is useless.

Re: [Gambas-user] About help and arrays and variables

2010-11-19 Thread Dimitris Anogiatis
Demosthenes, I might be able to help out with the Greek Translation of the wiki as well. When you're done with your book, send me an email perhaps we can work on that together. Regards, Dimitris On Fri, Nov 19, 2010 at 7:40 AM, Demosthenes Koptsis demosthen...@gmail.com wrote: On Fri,

Re: [Gambas-user] dialog.select font conf setting

2010-09-07 Thread Dimitris Anogiatis
Hey Daniel, Try Dialog.SelectFont() Gambas might be thinking that Dialog.SelectFont is a property so try it with a pair of parenthesis at the end Hope this helps Regards Dimitris On Tue, Sep 7, 2010 at 12:21 AM, Daniel Vanhee daniel.van...@gmail.comwrote: Hallo everyone, i am new to

Re: [Gambas-user] Case statement quesiton

2010-07-19 Thread Dimitris Anogiatis
Hey Richard, Perhaps this might work for you Select Case BMI 25 Case True Print BMI is Less than 25 Case False Print BMI is MORE than 25 Case Else End Select or you could also set ranges Select Case BMI Case 1 to 24 Print BMI is Less than 25 Case 25

Re: [Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'

2010-07-05 Thread Dimitris Anogiatis
Hey Matti try starting gambas from the terminal by typing /usr/local/bin/gambas3/gbr3 /usr/local/bin/gambas3/gambas3.gambas it should run the Gambas IDE then. I hope this helps Regards Dimitris On Sun, Jul 4, 2010 at 11:21 PM, Matti math.e...@t-online.de wrote: Once again, I tried to

Re: [Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'

2010-07-05 Thread Dimitris Anogiatis
file in 'gambas3.gambas'. Matti Am 05.07.2010 07:59, schrieb Dimitris Anogiatis: Hey Matti try starting gambas from the terminal by typing /usr/local/bin/gambas3/gbr3 /usr/local/bin/gambas3/gambas3.gambas it should run the Gambas IDE then. I hope this helps Regards Dimitris

Re: [Gambas-user] hi all

2010-06-26 Thread Dimitris Anogiatis
Welcome to Gambas, Simone. Hopefully you'll love the language as much as we do Don't hesitate to give us a shout if you need help with anything. And above all :) Have fun :) Regards Dimitris On Sat, Jun 26, 2010 at 3:33 AM, Simone Gentili sensora...@gmail.comwrote: I started today to develop

Re: [Gambas-user] Structure support in Gambas 3

2010-05-27 Thread Dimitris Anogiatis
Benoît, What would happen if there was a case you had program A with 3.x dependencies and Program B running 3.y dependencies? Or are you only referring to complete Gambas 3.x and 3.y installations on the same machine? Regards, Dimitris 2010/5/27 Benoît Minisini gam...@users.sourceforge.net

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Dimitris Anogiatis
Tomas, What you could do in this case, is setup a machine with Debian or Ubuntu on the customer's premises, (It doesn't have to be a top notch machine) and setup x2go and he can use the application from Windows by logging in to the debian machine using SSH and x2go which is a terminal server

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Dimitris Anogiatis
Hey Ricard, just as a quick workaround try replacing the Open - Close code with File.Save(sFilename, sHTML) You might circumvent the Too many files open error, which I am unsure why it comes up. Perhaps the total number of open files within your project is too much or the opening and closing

Re: [Gambas-user] User components replaced by Libraries in Gambas 3

2010-04-26 Thread Dimitris Anogiatis
Benoît, Will all the controls that are gambas written, be implemented in this fashion too? if so how will the IDE distinguish between a library and a control? Regards, Dimitris 2010/4/26 Benoît Minisini gam...@users.sourceforge.net Ian Haywood ha scritto: svitoos wrote: I think it is

Re: [Gambas-user] EOF problem

2010-04-18 Thread Dimitris Anogiatis
Ed, if reading a text file and extracting information from it is what you're trying to do, why not just use tmp = File.Load(Fname) File.Load is documented over here http://www.gambasdoc.org/help/comp/gb/file/load after loading the contents of Fname in tmp you can do your magic, without using an

Re: [Gambas-user] EOF problem

2010-04-17 Thread Dimitris Anogiatis
Ed can you try this and tell us if it still doesn't work? PUBLIC SUB Button1_Click() DIM tfile AS File DIM Fname AS String Dim temp AS String Fname = /home/us/Documents/testdat.txt tfile = OPEN Fname FOR READ label1.Text = IF Eof(tfile) THEN label1.Text = EOF Print

Re: [Gambas-user] printing issue

2010-03-04 Thread Dimitris Anogiatis
Hey Robi, As an alternative you could also get a list of the install printers by doing Dim prnList as String SHELL (lpstat -a) to prnList Hope this helps Regards, Dimitris On Thu, Mar 4, 2010 at 4:39 AM, Doriano Blengino doriano.bleng...@fastwebnet.it wrote: Robert JUHASZ ha scritto:

Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method

2010-02-21 Thread Dimitris Anogiatis
Hey Joshua, Try this instead of the original cgi example. #!/usr/bin/env gbw2 % DIM sEnv AS String PRINT !-- Variable declaration must come before any HTML -- PRINT html PRINT body PRINT h2Test1 - check this out/h2br PRINT a href=\link1.html\Test link/a PRINT /body PRINT /html % If this works it

Re: [Gambas-user] automatic completion of textbox with mysql data

2010-02-13 Thread Dimitris Anogiatis
Vasilli, perhaps you want to try this one rs33 = MODMain.$Con.exec(select * from Aplianikis where Left$(Eponimia,1) = ' Left$(tEponimia.Text, 1) ') ListBox1.Add = rs33!Eponimia I hope this helps Regards Dimitris On Sat, Feb 13, 2010 at 1:18 PM, Vassilis K vka...@otenet.gr wrote: I'm

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-25 Thread Dimitris Anogiatis
Benoît, Perhaps another approach would be to get rid of the Count property and create a Count method that would count the children of a given root in the control (and optionally all it's branches). for example / (root) item1 item2--item3 |-item4 |-item5 |-item6 item7

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-25 Thread Dimitris Anogiatis
Ooops, Correction on the second example it should read countMyTreeItems = Treeview1.Count(item2, true) Sorry guys it's a bit late over here Regards Dimitris On Tue, Jan 26, 2010 at 12:49 AM, Dimitris Anogiatis dos...@gmail.comwrote: Benoît, Perhaps another approach would be to get rid

Re: [Gambas-user] gtk error when input greek letters in textbox

2010-01-21 Thread Dimitris Anogiatis
Demosthenes, I think it is because Greek letters are unicode characters and unicode characters count as double and therefore any split will be difficult to work with the usual string manipulation functions The recommended way to split a string including unicode characters according to the

Re: [Gambas-user] drove me crazy

2010-01-20 Thread Dimitris Anogiatis
, Dimitris On Wed, Jan 20, 2010 at 11:17 AM, Charlie Reinl karl.re...@fen-net.dewrote: Am Mittwoch, den 20.01.2010, 17:27 +0100 schrieb Benoît Minisini: Am Dienstag, den 19.01.2010, 17:30 -0700 schrieb Dimitris Anogiatis: Hey Charlie, Try changing this line sKey = col1

Re: [Gambas-user] drove me crazy

2010-01-19 Thread Dimitris Anogiatis
Hey Charlie, Try changing this line sKey = col1.Key to sKey = sElem.Key Hope this helps Regards, Dimitris On Tue, Jan 19, 2010 at 4:09 PM, Charlie Reinl karl.re...@fen-net.dewrote: Salut Benoit, its about Collection KEY and Debug-Window on gambas2. If you run that project,

Re: [Gambas-user] sdl.sound and total length of a track

2010-01-03 Thread Dimitris Anogiatis
Alessandro, to get the length of an MP3 file (since gb.sdl.sound works primarily with mp3s) I would personally write an ID3Tag module to get the mp3's length and then load it through gb.sound.sdl afterward. or if you want you could also explore the option of using an external player for your

Re: [Gambas-user] gambasdoc issues

2009-12-30 Thread Dimitris Anogiatis
Ron, It works fine for me... could you provide some visual feedback so we can see what gambasdoc does on your browser? Regards, Merry Christmas (belated) and Happy New Year Dimitris On Wed, Dec 30, 2009 at 1:27 AM, Ron r...@cyberjunky.nl wrote: Ok. I know there wasn't a lot of

Re: [Gambas-user] Problem with tableview when in edit mode

2009-12-03 Thread Dimitris Anogiatis
Doriano, from the sample project you posted, I can verify the behavior you described when you use the arrow keys. If you click on individual cells it jumps fine. But if you try and type something on one cell and then click on the next one the text you typed before disappears. So perhaps a few

Re: [Gambas-user] Problem with tableview when in edit mode

2009-12-03 Thread Dimitris Anogiatis
/CD/http-ftp/#stable). Perhaps we use different repositories. Regards, Dimitris On Thu, Dec 3, 2009 at 10:47 AM, Doriano Blengino doriano.bleng...@fastwebnet.it wrote: Charlie Reinl ha scritto: Am Donnerstag, den 03.12.2009, 18:24 +0100 schrieb Doriano Blengino: Dimitris Anogiatis ha

Re: [Gambas-user] 2 forms closing at the same time. Is it a bug?

2009-11-14 Thread Dimitris Anogiatis
Hey Toni, Fmail closes because it was loaded last. If you move FMain.Show first ie FMain.Show Form1.Show Form1.closein(8) then FMain remains after Form1 closes I tried your program in Debian Lenny 5.0.3 in Gambas 2.16 It should work in 2.17 as well but give it a try I hope this helps

Re: [Gambas-user] string conversion

2009-11-12 Thread Dimitris Anogiatis
Hey Matti, you might want to roll a string conversion function of your own. The Replace function might be of particular use to you. You can read about it over here http://www.gambasdoc.org/help/lang/replace and you can also find all the other string related functions over here

Re: [Gambas-user] Breaking processes

2009-11-04 Thread Dimitris Anogiatis
Hey M, to stop the execution of a for loop all you have to do is check for a condition then use break for example PUBLIC SUB FCopy() DIM i AS Integer Dim stopLoop as Boolean DIM filepaths AS String[] ' the array filepaths is filled with contents FOR i=0 To

Re: [Gambas-user] make Label background from Database field

2009-10-18 Thread Dimitris Anogiatis
Vassili, Going back and forth through the whole thread I can also see that change_bgcolor is not as efficient as it could be simply because it's doing a loop looking through all the controls trying to match the desired control's name. for change_bgcolor I would suggest this Public SUB

Re: [Gambas-user] make Label background from Database field

2009-10-18 Thread Dimitris Anogiatis
Vassili, Glad to hear that it's working for you :) Keep up the good work :) Regards, Dimitris On Sun, Oct 18, 2009 at 7:22 AM, Vassilis K vka...@otenet.gr wrote: It is Solved !! It works fine with: rsThesi.Count - 1 DO WHILE rsThesi.Index rsThesi.Count - 1

Re: [Gambas-user] make Label background from Database field

2009-10-17 Thread Dimitris Anogiatis
Vassili, Instead of change_bgcolor(Label rsThesi!thesi) do PRINT CStr(rsThesi!thesi) PRINT CStr(rsThesi.Index) to see where it stops make sure it actually prints the same results. Keep in mind that the field name has to be EXACTLY the same as the one you use in mysql. worst comes to the

Re: [Gambas-user] make Label background from Database field

2009-10-17 Thread Dimitris Anogiatis
Vassili, We're close... try IF rsThesi.Index rsThesi.Count THEN rsThesi.MoveNext() ENDIF I hope this takes you a bit further in your project Keep up the good work Regards Dimitris On Sat, Oct 17, 2009 at 12:55 PM, Vassilis K vka...@otenet.gr wrote: And of cource on: PRINT

Re: [Gambas-user] make Label background from Database field

2009-10-17 Thread Dimitris Anogiatis
Vassili, it should look something like this PUBLIC SUB Form_Open() DIM i AS Integer DIM rsThesi AS Result 'connect to the database MODMain.Connect() 'Execute the SQL QueryI hope this helps. rsThesi = MODMain.$Con.EXEC(select * from egrafes where elenchosAnax = 0 AND thesi 0 )

[Gambas-user] Classes and Modules in Gambas Server Pages

2009-10-17 Thread Dimitris Anogiatis
Hey guys, I know that in gambas server pages there's #USE that allows us to use gambas components. Is there something similar to PHPs include statement to be able to use classes and modules? and when making modules and classes for server pages are there any changes we need to make or points we

Re: [Gambas-user] Gambas and cgi

2009-10-16 Thread Dimitris Anogiatis
Hey Marc, gambas2-runtime and gambas2-gb-web might be enough to run a cgi script on your webserver... however if you need to use any other libraries you need to download then before you can actually use them. You also need to set up your webserver to run gbw2 as a CGI executable (like php-cgi is

Re: [Gambas-user] make Label background from Database field

2009-10-16 Thread Dimitris Anogiatis
Vassili, you might also want to take a look at The Gridview control http://www.gambasdoc.org/help/comp/gb.qt/gridview and the Tableview control http://www.gambasdoc.org/help/comp/gb.form/tableview perhaps one of those two is a better approach than manipulating individual labels If you still

Re: [Gambas-user] make Label background from Database field

2009-10-15 Thread Dimitris Anogiatis
Vassili, I'm glad we caught 1 of the two errors now let's go for the next one :) $alblTime[iD] = NEW Label(ME) FOR iD = 1 TO rsThesi.Count - 1 $alblTime[iD].Background = Color.Red NEXT ok this has to be FOR iD = 1 TO rsThesi.Count - 1

Re: [Gambas-user] Normal behaviour for GTK+?

2009-10-13 Thread Dimitris Anogiatis
Ricardo, If I may express my opinion I think it was a very wise choice on Benoit's side to support both GTK+ and QT (even though it seems like it's a rat race trying to debug both components every time qt works gtk doesn't and vice versa or both don't work at the same time) I believe that both

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Dimitris Anogiatis
M Cs, try this: create a Menu with name mnuGrid and make it hidden then add this to the gridview's mousedown event PUBLIC SUB gridview1_MouseDown() IF gridview1.Rows.Count 0 AND gvBackup.Column = 1 SELECT Mouse.Right CASE TRUE mnuGrid.popup() CASE ELSE END SELECT ENDIF END

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Dimitris Anogiatis
oops... sorry gvbackup should be gridview1 Regards Dimitris On Fri, Oct 9, 2009 at 1:03 AM, Dimitris Anogiatis dos...@gmail.com wrote: M Cs, try this: create a Menu with name mnuGrid and make it hidden then add this to the gridview's mousedown event PUBLIC SUB gridview1_MouseDown

Re: [Gambas-user] write to folder in windows network

2009-10-09 Thread Dimitris Anogiatis
Doriano, With all due respect, some people are in the process of relearning key concepts that they are used to take for granted in Windows. To them Linux is still uncharted territory and since this mailing list is so helpful it's easy to veer of a tad bit off subject... I've seen workarounds

Re: [Gambas-user] write to folder in windows network

2009-10-09 Thread Dimitris Anogiatis
Hey Bill, I found this page, it might help you. http://www.cyberciti.biz/tips/how-to-mount-remote-windows-partition-windows-share-under-linux.html as people have suggested earlier, try opening a terminal and try the commands that are shown in the site that I gave you; make sure you can access

Re: [Gambas-user] invalid object error on variable of database queries

2009-10-08 Thread Dimitris Anogiatis
Vasilis, if I'm reading your code correctly you're closing the result set before you use rsAPOD!arithmosAp you could assign the value of rsAPOD!arithmosAp in a variable and use that in the print statement or move MODMain.$Con.Close below the CLOSE hPrinter line. that way the resultset can close

Re: [Gambas-user] Trash

2009-10-08 Thread Dimitris Anogiatis
hey Matti, Ricardo was correct, almost :) the correct path is to move the files to is /home/username/.local/share/Trash/files I hope this helps Regards, Dimitris On Thu, Oct 8, 2009 at 2:58 PM, Matti math.e...@t-online.de wrote: Thank you, that works. Just 1 question; This way, the

Re: [Gambas-user] invalid object error on variable of database queries

2009-10-08 Thread Dimitris Anogiatis
Vasilli, You're welcome I am glad I could help :) Keep up the good work :) Regards, Dimitris On Thu, Oct 8, 2009 at 3:12 PM, Vassilis K vka...@otenet.gr wrote: Thank you Dimitri That was it !!! I made so many efforts today to find out what was wrong. But most of the times the solution

Re: [Gambas-user] stop file COPY

2009-10-07 Thread Dimitris Anogiatis
Benoît, If I called COPY from a form and closed that form while the COPY command was still copying a large file would that stop the action? or would the command still copy the file in the background? Regards, Dimtiris On Mon, Sep 28, 2009 at 7:10 AM, zerkowski sur bouquiniste.biz

Re: [Gambas-user] equivalent to python dictionaries in gambas2?

2009-10-07 Thread Dimitris Anogiatis
Hey Moe, You could use a Collection to achieve what you just described to us. Take a look at the link below for more details http://www.gambasdoc.org/help/comp/gb/collection Regards, Dimitris On Wed, Oct 7, 2009 at 2:26 PM, M0E Lnx m0e@gmail.com wrote: Hi guys, I'm trying to figure out

Re: [Gambas-user] NNTP Class

2009-10-06 Thread Dimitris Anogiatis
Hey Anonymous, you can open a sourceforge account and place your code in there (or host it wherever else you think it might be better), and then you can upload your program's URL and a screenshot and a simple description on the gambas wiki; more details are on the gambas main page if you click

Re: [Gambas-user] NNTP Class

2009-10-06 Thread Dimitris Anogiatis
a linux-related problem, since posts come from many people, it helps the conversation. Just something to consider Regards, Dimitris On Tue, Oct 6, 2009 at 4:32 AM, nospam.nospam.nos...@gmail.com nospam.nospam.nos...@gmail.com wrote: On Tue, 2009-10-06 at 01:17 -0600, Dimitris Anogiatis wrote

[Gambas-user] stop file COPY

2009-09-28 Thread Dimitris Anogiatis
Hey guys, Does anyone if it's possible to cancel a file COPY of a pretty big file (a few hundred megabytes) in the middle of the action? I'm trying to add this functionality to my backup project but I can't find any parameters on the Copy command within the documentation. Regards Dimitris

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Dimitris Anogiatis
hey Rolf, Is it a modal form a normal form or a dialog? I think that in normal forms Form_Unload is the event you want but I'm not entirely sure could you give us a few more details on what you're trying to do? Regards Dimitris On Fri, Sep 25, 2009 at 3:36 AM, Rolf-Werner Eilert

Re: [Gambas-user] Closing X in Form event?

2009-09-25 Thread Dimitris Anogiatis
wrote: Dimitris Anogiatis schrieb: hey Rolf, Is it a modal form a normal form or a dialog? It's a modal one I think that in normal forms Form_Unload is the event you want but I'm not entirely sure could you give us a few more details on what you're trying to do? Well, I can't find

Re: [Gambas-user] chop project

2009-09-22 Thread Dimitris Anogiatis
Hey JY, One approach would be to create a main message-passing class, and link the sub-projects to that class passing messages through a common set of properties and methods Another approach is to create the sub-projects with a class of common properties and methods that pass the message from

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Dimitris Anogiatis
(in the example with acrobat reader). I just need the same effect as when I double click on the icon. If this is what you described just confirm please. Thanks, Robi 2009/9/14 Dimitris Anogiatis dos...@gmail.com Hey Robi, one of the options is to use the gb.settings library. while

Re: [Gambas-user] What should executable open with?

2009-09-14 Thread Dimitris Anogiatis
CelticBhoy, open a folder that contains a gambas file and right click on it then click on the Open with tab and press the add button click on the Use a custom command section and add gbr2 when you do that select the gbr2 in the open with tab and click ok and next time you doubleclick on a

Re: [Gambas-user] how to start a file?

2009-09-13 Thread Dimitris Anogiatis
Hey Robi, one of the options is to use the gb.settings library. while you're on the IDE press CTRL and P then click on the Componets tab, find gb.settings and click on the box on the left side of the selection then press Ok now in your code you need to use this on top of your code (ie put this

Re: [Gambas-user] question about Dialog.SelectDirectory()

2009-09-10 Thread Dimitris Anogiatis
It's not a stupid question Charlie, you can use the DirChooser control that's available in gb.form You can have a form with that control come up as modal (so you can't do anything else until you have chosen a directory and inside it you can put a dirchooser control you can get the selected path

Re: [Gambas-user] How to get listbox selection?

2009-09-08 Thread Dimitris Anogiatis
Sorry Rolf, It won't happen again, I just thought that since the question has already been answered for another user in English that it wouldn't be a problem to just repeat the same solution in a different language as a courtesy for a fellow countryman; Regards Dimitris On Tue, Sep 8, 2009 at

Re: [Gambas-user] ReturnValue

2009-09-07 Thread Dimitris Anogiatis
écrit : Am Sonntag, den 06.09.2009, 16:10 -0600 schrieb Dimitris Anogiatis: hey charlie, Are you talking about return values on a console-type? I think all you have to do is use Print. It will also work on a gui-program if you run it through a terminal. I hope it helps

Re: [Gambas-user] too many operands

2009-09-07 Thread Dimitris Anogiatis
I'm glad it worked MSulchan, That's why I love gambas cause it makes things so much easier :) even more than VB6 ever would :) Keep up the good work Regards, Dimitris On Mon, Sep 7, 2009 at 3:54 AM, MSulchan Darmawan bleke...@gmail.comwrote: Pada Mon, 7 Sep 2009 03:41:35 -0600 Dimitris

Re: [Gambas-user] Selection from a list

2009-09-03 Thread Dimitris Anogiatis
Alex, Setting the mode to Multiple does allow that... if for example you have 6 items on your listbox if you execute these 2 lines the 1st the 4th item will be selected listbox1[0].Selected = TRUE listbox1[3].Selected = TRUE (in Gambas 2.14 on my Debian Lenny it works as described) If the

Re: [Gambas-user] web browser.

2009-08-29 Thread Dimitris Anogiatis
, Dimitris On Fri, Aug 28, 2009 at 11:55 PM, Steven James Drinnan ste...@sjdsoft.hkwrote: Does not work in gnome, need KDE to run. You may want to add that to your requirements. Steven Drinnan On Fri, 2009-08-28 at 18:11 -0600, Dimitris Anogiatis wrote: abdurrahman it works pretty well

Re: [Gambas-user] web browser.

2009-08-28 Thread Dimitris Anogiatis
abdurrahman it works pretty well, keep up the great work :) Regards Dimitris On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy uluso...@yahoo.comwrote: when i wait for opengl selection :) , i add some codes to webbrowser (in gambas examples). if you want to develope gambasweb codes here

Re: [Gambas-user] type mismatch: wanted integer, got string instead

2009-08-25 Thread Dimitris Anogiatis
at 11:40 PM, MSulchan Darmawan bleke...@gmail.comwrote: Pada Mon, 24 Aug 2009 23:00:07 -0600 Dimitris Anogiatis dos...@gmail.com menulis: this way iRain would always have an integer and you wouldn't have to worry about the mismatch error... assuming 0, 1, 2, x, - and NULL are the only

Re: [Gambas-user] type mismatch: wanted integer, got string instead

2009-08-25 Thread Dimitris Anogiatis
one small correction in this line if sRain = x then iRain = 0.4 'or anything else you want to make it it should be if sRain = x then iRain = 40 'or anything else you want to make it On Tue, Aug 25, 2009 at 12:50 AM, Dimitris Anogiatis dos...@gmail.comwrote: MSulchan, in http

Re: [Gambas-user] type mismatch: wanted integer, got string instead (solved)

2009-08-25 Thread Dimitris Anogiatis
You're welcome MSulchan :) I'm glad you solved that problem and I'm glad I helped :) Keep up the good work :) Regards Dimitris On Tue, Aug 25, 2009 at 8:01 PM, MSulchan Darmawan bleke...@gmail.comwrote: Pada Tue, 25 Aug 2009 04:29:32 -0600 Dimitris Anogiatis dos...@gmail.com menulis

Re: [Gambas-user] type mismatch: wanted integer, got string instead

2009-08-24 Thread Dimitris Anogiatis
Hey MSulchan, if you're trying to convert either x, -, or NULL to an integer you're correctly going to get a mismatch error basically the mismatch error is a way of saying I can't convert x into an integer, I don't know what number to convert x to what I would personally use instead of iRain =

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Dimitris Anogiatis
Benoît, Perhaps you could also enhance Find to accept regular expressions (or something similar to what we can use with LIKE) If it already does can you provide some more documentation about it in Gambasdoc? Regards Dimitris 2009/8/22 Benoît Minisini gam...@users.sourceforge.net Jussi

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Dimitris Anogiatis
Thanks Benoît, I will compile revision 2260 in a few days since I got a few other things to take care of Regards, Dimitris 2009/8/22 Benoît Minisini gam...@users.sourceforge.net Benoît, Perhaps you could also enhance Find to accept regular expressions (or something similar to what

Re: [Gambas-user] To the wish list...

2009-08-21 Thread Dimitris Anogiatis
hey Jussi, I've tried a similar technique filtering about 5230 filenames and with my old HyperThreaded p...@3ghz It works pretty good for me :) as I said give it a try :) Regards Dimitris On Fri, Aug 21, 2009 at 1:49 PM, Jussi Lahtinen jussi.lahti...@gmail.comwrote: Usually string handling

Re: [Gambas-user] To the wish list...

2009-08-21 Thread Dimitris Anogiatis
you only go to the duplicate items and remove them one by one instead of going through the whole array. the string approach might also be of use to you try either one and see which one fits very well in your project :) I hope this helps Regards Dimitris On Fri, Aug 21, 2009 at 1:54 PM, Dimitris

  1   2   >