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
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
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
> 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
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
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
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
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
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
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
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
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
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.
---
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
--
> 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
> 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
>
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
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
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
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
20 matches
Mail list logo