Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
O.K I found the answer in examples ' Gambas class file PUBLIC save AS Action PUBLIC SUB gV_Menu() DIM almenu, almenu1 AS Menu almenu = NEW Menu(FMain) almenu1 = NEW Menu(almenu) almenu1.Text = "Delete selected" almenu.Hide almenu.popup() almenu1.Action = "save" END PUBLIC SUB Action_Activate(ke

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Charlie Reinl
Am Freitag, den 09.10.2009, 23:11 +0200 schrieb M. Cs.: > Troubles: I've done this > > PUBLIC SUB gV_Menu() > DIM almenu, almenu1 AS Menu > almenu = NEW Menu(FMain) > almenu1 = NEW Menu(almenu) > almenu1.Text = "Delete selected" > almenu.Hide > IF gV.Rows.Count > 0 AND gv.Column = 1 THEN > SELECT

Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
O.K That works. Now, through almenu1.Action=My_Subroutine() should work? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your devel

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Benoît Minisini
> Troubles: I've done this > > PUBLIC SUB gV_Menu() > DIM almenu, almenu1 AS Menu > almenu = NEW Menu(FMain) > almenu1 = NEW Menu(almenu) > almenu1.Text = "Delete selected" > almenu.Hide > IF gV.Rows.Count > 0 AND gv.Column = 1 THEN > SELECT Mouse.Right > CASE TRUE > almenu.popup() > CASE ELSE > E

Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
Troubles: I've done this PUBLIC SUB gV_Menu() DIM almenu, almenu1 AS Menu almenu = NEW Menu(FMain) almenu1 = NEW Menu(almenu) almenu1.Text = "Delete selected" almenu.Hide IF gV.Rows.Count > 0 AND gv.Column = 1 THEN SELECT Mouse.Right CASE TRUE almenu.popup() CASE ELSE END SELECT ENDIF END And the

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 fi

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

2009-10-09 Thread Lee McPherson
Bill-Lancaster wrote: > Thanks for the advice but how do I "mount the path to the network directory"? > I've no doubt the answers is simple but I've tried everything I can think > of. Thanks in advance > Bill Lancaster > > Bill-Lancaster wrote: > >> My Gambas PC is attached to a Windows Network

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

2009-10-09 Thread Doriano Blengino
Dimitris Anogiatis ha scritto: > 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 bi

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 invol

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

2009-10-09 Thread Doriano Blengino
Bill-Lancaster ha scritto: > Thanks for the advice but how do I "mount the path to the network directory"? > I've no doubt the answers is simple but I've tried everything I can think > of. Thanks in advance > Bill Lancaster > > Bill-Lancaster wrote: > >> My Gambas PC is attached to a Windows Ne

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

2009-10-09 Thread Bill-Lancaster
Thanks for the advice but how do I "mount the path to the network directory"? I've no doubt the answers is simple but I've tried everything I can think of. Thanks in advance Bill Lancaster Bill-Lancaster wrote: > > My Gambas PC is attached to a Windows Network - how can I access files > there f

Re: [Gambas-user] Trash

2009-10-09 Thread Jose J. Rodriguez
On 10/8/09, Matti wrote: > Is there any way to move files and directories to the user's trash bin? > Until someone implements the freedesktop.org trash specs on Gambas, you could try this: http://code.google.com/p/trash-cli/ Or a more involved general solution: http://freshmeat.net/projects/dels

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

2009-10-09 Thread nospam.nospam.nos...@gmail.com
On Fri, 2009-10-09 at 02:59 -0700, Bill-Lancaster wrote: > My Gambas PC is attached to a Windows Network - how can I access files there > from a Gambas application? Mount the path to the network directory with rw and use standard gambas file operations on the mount point. ---

[Gambas-user] DataCombo

2009-10-09 Thread Tomas Costa rivas
Hello If a datacombo don't run with the event key_press or key_release, how can I launch a event while I write in this control? Another question: Can I display in a datacombo two fields? e.g: datacombo1.display="name"; "surname" There's a few information abouth gb.db.form Thanks Tomás --

Re: [Gambas-user] function call by reference

2009-10-09 Thread Benoît Minisini
> Dear Developers of Gambas, > > we are really interested in Gambas and we will use it to create a > connection between a plc and a computer. > > Therefore we will use the shared library "libnodave". > > Unfortunately "libnodave" needs some function calls by reference. > > > > How is it able

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Benoît Minisini
> 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 >

[Gambas-user] write to folder in windows network

2009-10-09 Thread Bill-Lancaster
My Gambas PC is attached to a Windows Network - how can I access files there from a Gambas application? Thanks Bill Lancaster -- View this message in context: http://www.nabble.com/write-to-folder-in-windows-network-tp25818529p25818529.html Sent from the gambas-user mailing list archive at Nab

Re: [Gambas-user] Right-click menu

2009-10-09 Thread Steven James Drinnan
1st you would need to create a hidden menu using the menu editor Then you would use the 'menu' event of the control (right click the control select 'event' then menu) to popup the menu. mnuname.popup() 'where mnuname is the menu item name. For when it gets activated you would have to do

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 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() > > IF gridvi

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 T