[Gambas-user] Right-click menu

2009-10-08 Thread M. Cs.
Is it possible to assign a pop-up menu to an object? I mean I have a gridview and I would like to have a right-click menu with few options like select all, delete selected etc. It would be activated when the mouse's pointer is above the gridview and the right mouse button would be clicked. A simila

Re: [Gambas-user] Trash

2009-10-08 Thread Matti
Hi Dimitris, that's better, but not all. I looked at what the system does when I throw something away. In /home/username/.local/share/Trash/info there is a file "(Filename).trashinfo". This is a text file with [Trash Info] Path=/home/username/Test/img_3555.jpg DeletionDate=2009-10-09T07:47:45 So

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 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 is in front

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

2009-10-08 Thread Vassilis K
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 is in front of our eyes and we cannot see it !!! -- Come build with us! The BlackBerry(R) D

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 wrote: > Thank you, that works. > > Just 1 question; This way, the deleted files/directories

Re: [Gambas-user] Trash

2009-10-08 Thread Matti
Thank you, that works. Just 1 question; This way, the deleted files/directories are not shown if the user clicks on his trash icon. How to manage that? Ricardo Díaz Martín schrieb: > I tryed in ubuntu linux you can do EXEC ["mv", "pathandfiletoremove", > "/home/username/.local/share/Trash"] and

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 Ricardo Díaz Martín
I tryed in ubuntu linux you can do EXEC ["mv", "pathandfiletoremove", "/home/username/.local/share/Trash"] and the file is moved to username trash Regards 2009/10/8 Matti > Is there any way to move files and directories to the user's trash bin? > > KILL and RMDIR really delete, but I'd rather u

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

2009-10-08 Thread Vassilis K
Hello again, I have a strange little problem with my database (Mysql) queries. I make many queries and updates together with the click of a button. When I make the queries and updates without using any of the results then everything works fine !! When I want to use a part of the results I get th

Re: [Gambas-user] icons on replace/find bar in the data section missing

2009-10-08 Thread Benoît Minisini
> 2387 > > Just noticed that for text files in non class/mod/form files, that the > find/replace dosn't have the option of to replace in all files/just this > file etc. > > Any reason?? > > Regards > > Richard > No real good reason, just a lacking feature. -- Benoît Minisini -

[Gambas-user] Trash

2009-10-08 Thread Matti
Is there any way to move files and directories to the user's trash bin? KILL and RMDIR really delete, but I'd rather use trash. Tried everything like MOVE TO "system:/trash" or ".local.share.Trash" or "trash.desktop", but all I get is the message "Access forbidden". That's on a SuSe 11 system.

Re: [Gambas-user] bash question

2009-10-08 Thread Doriano Blengino
richard terry ha scritto: > to any scripters amongst us. > > is there any simple bash command to remove the first line in a file and > leave > the rest?, short of reading all the lines and re-writing the file? > tail -n+2 your_file_name will output to standard output the file indicated,