Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
yes you are right ... it was my mistake during copy/paste On 3/10/2016 21:00 μμ, Gianluigi wrote: > In my Ubuntu the your code without *hMenu.Name = "hMenu"* do not work. > > And this code is unnecessary: > > Public Sub TrayIcon1_Click() > > hMenu.Popup > > End > > Public Sub Timer1_Timer() >

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Gianluigi
In my Ubuntu the your code without *hMenu.Name = "hMenu"* do not work. And this code is unnecessary: Public Sub TrayIcon1_Click() hMenu.Popup End Public Sub Timer1_Timer() If Me.Visible == True Then Me.Visible = False Endif End 2016-10-03 18:38 GMT+02:00 Demosthenes Koptsis

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
Yes it works also in Ubuntu Mate. Final code: -- ' Gambas class file Public hMenu As Menu Public hMenu2 As Menu Public hMenu3 As Menu Public Sub Form_Open() TrayIcon1.PopupMenu = "hMenu" TrayIcon1.Show TrayIcon1.Visible = True 'Create the popup menu

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Charlie
Your code works fine in Linux Mint 18 Cinnamon 64bit http://www.cogier.com/gambas/TestG.png -- View this message in context: http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-tp57442p57457.html Sent from the gambas-user mailing list archive at

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Gianluigi
Changes so without timer: Public Sub Form_Open() 'Create the popup menu hMenu = New Menu(Me, True) As "goofy" hMenu.Name = "hMenu" hMenu2 = New Menu(hMenu) As "pluto" hMenu2.Text = "Mount ISO" hMenu3 = New Menu(hMenu) As "donald duck" hMenu3.Text = "Unmount ISO"

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 16:10 μμ, Gianluigi wrote: > You can take a look here [0]. > I repeat, in Ubuntu click the icon is not registered by the poject. What does it mean? In Ubuntu, the TrayIcon is been seen correctly. But when i click it, Public Sub TrayIcon1_Click() is been called. How can i have access

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Gianluigi
You can take a look here [0]. I repeat, in Ubuntu click the icon is not registered by the poject. Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html [System] Gambas=3.9.90 r7884 OperatingSystem=Linux Kernel=4.4.0-38-generic Architecture=x86_64

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:39 μμ, Benoît Minisini wrote: > Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit : >> On 3/10/2016 14:21 μμ, Benoît Minisini wrote: >>> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit : Hello, i try to implement a systray icon with a popup menu. In

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:39 μμ, Benoît Minisini wrote: > Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit : >> On 3/10/2016 14:21 μμ, Benoît Minisini wrote: >>> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit : Hello, i try to implement a systray icon with a popup menu. In

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Benoît Minisini
Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit : > On 3/10/2016 14:21 μμ, Benoît Minisini wrote: >> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit : >>> Hello, >>> >>> i try to implement a systray icon with a popup menu. >>> >>> In wiki says that each menu has a Click() event but i cannot

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:21 μμ, Benoît Minisini wrote: > Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit : >> Hello, >> >> i try to implement a systray icon with a popup menu. >> >> In wiki says that each menu has a Click() event but i cannot find it in >> code. >> >> I attach the small project. >> >

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Benoît Minisini
Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit : > Hello, > > i try to implement a systray icon with a popup menu. > > In wiki says that each menu has a Click() event but i cannot find it in > code. > > I attach the small project. > Are you using the last version finally? -- Benoît Minisini

Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Gianluigi
True, both Ubuntu that Mint no response from direct clicks. Only by clicking on the menu. Regards Gianluigi 2016-10-03 10:32 GMT+02:00 Demosthenes Koptsis : > Hello, > > i try to implement a systray icon with a popup menu. > > In wiki says that each menu has a Click()

[Gambas-user] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
Hello, i try to implement a systray icon with a popup menu. In wiki says that each menu has a Click() event but i cannot find it in code. I attach the small project. TestG.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] Menu first character underscore

2016-05-21 Thread Gianluigi
APPMENU_DISPLAY_BOTH do not work, see attached. Regards Gianluigi 2016-05-21 16:38 GMT+02:00 Gianluigi : > Only a clarification: > ALT+D to open the menu, then release the ALT key and pressing on the > underlined character. > Regards > Gianluigi > > 2016-05-21 16:29

Re: [Gambas-user] Menu first character underscore

2016-05-21 Thread Gianluigi
Only a clarification: ALT+D to open the menu, then release the ALT key and pressing on the underlined character. Regards Gianluigi 2016-05-21 16:29 GMT+02:00 Gianluigi : > Great Benoit, > You've had to find out what new for me. > If I put the ampersand front of "Disney"

Re: [Gambas-user] Menu first character underscore

2016-05-21 Thread Gianluigi
Great Benoit, You've had to find out what new for me. If I put the ampersand front of "Disney" (without shorcuts) and then do ALT+D+Uderscore character, I get the events. But then with Gambas I must not do anything, I just think about what I want and already there :-D Legendary Gambas Thank you

Re: [Gambas-user] Menu first character underscore

2016-05-21 Thread Gianluigi
But if I not set the shortcut not working with Ubuntu Unity Clearlooks theme. Only in Ubuntu Unity Desktop default settings, if first I click with mouse on Disney (see attached test) I can obtain the event with ALT+Uderscore character. So I force myself to use the shortcut even where I would not.

Re: [Gambas-user] Menu first character underscore

2016-05-21 Thread Benoît Minisini
Le 21/05/2016 13:54, Gianluigi a écrit : > Gambas3 3.8.4 currently, the sub-menu names, default have the first > character underscore, also if I set up without ampersand and shortcut. > Is possible to remove it? > Regards > Gianluigi It's for people who can't use mouses but can use a keyboard

[Gambas-user] Menu first character underscore

2016-05-21 Thread Gianluigi
Gambas3 3.8.4 currently, the sub-menu names, default have the first character underscore, also if I set up without ampersand and shortcut. Is possible to remove it? Regards Gianluigi -- Mobile security can be enabling, not

Re: [Gambas-user] Menu changed programmatically

2016-03-19 Thread Benoît Minisini
Le 14/03/2016 09:07, Rolf-Werner Eilert a écrit : > > Yes, but when I first saw this thing, I expected to find a list equal to > that in a ComboBox, where I can add and delete items during runtime. So, > if I want this functionality with a menu, I will have to make a menu > with a given number of

Re: [Gambas-user] Menu changed programmatically

2016-03-14 Thread Rolf-Werner Eilert
Am 11.03.2016 13:33, schrieb Benoît Minisini: > Le 11/03/2016 12:47, Rolf-Werner Eilert a écrit : >> Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: >>> How to change the entries of a pop-up menu? >>> >>> I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. >>> not for a menu in

Re: [Gambas-user] Menu changed programmatically

2016-03-11 Thread Benoît Minisini
Le 11/03/2016 12:47, Rolf-Werner Eilert a écrit : > > Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: >> How to change the entries of a pop-up menu? >> >> I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. >> not for a menu in the ordinary "menu" sense of the word, but for a

Re: [Gambas-user] Menu changed programmatically

2016-03-11 Thread Rolf-Werner Eilert
Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: > How to change the entries of a pop-up menu? > > I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. > not for a menu in the ordinary "menu" sense of the word, but for a list > that reacts like a ComboBox. > > In this case, I

[Gambas-user] Menu changed programmatically

2016-03-10 Thread Rolf-Werner Eilert
How to change the entries of a pop-up menu? I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. not for a menu in the ordinary "menu" sense of the word, but for a list that reacts like a ComboBox. In this case, I would have to abuse the pop-up menu that is linked to the

Re: [Gambas-user] menu error

2014-06-29 Thread Patrik Karlsson
My guess is that you have to subtract one from your menu index. http://en.wikipedia.org/wiki/Off-by-one_error 2014-06-29 5:14 GMT+02:00 Shane shanep1...@tpg.com.au: I get the attached error when trying to insert a menu to an existing project form build 6343 [System] Gambas=3.5.90

Re: [Gambas-user] menu error

2014-06-29 Thread Shane
ummm maybe i should have said i was using the ide to do this On 29/06/14 18:05, Patrik Karlsson wrote: My guess is that you have to subtract one from your menu index. http://en.wikipedia.org/wiki/Off-by-one_error 2014-06-29 5:14 GMT+02:00 Shane shanep1...@tpg.com.au: I get the attached

Re: [Gambas-user] menu error

2014-06-29 Thread Fabien Bodard
you must to provide a project that show the problem and the way to et this error... this is the minimal things to correct a bug :-) 2014-06-29 10:14 GMT+02:00 Shane shanep1...@tpg.com.au: ummm maybe i should have said i was using the ide to do this On 29/06/14 18:05, Patrik Karlsson wrote: My

Re: [Gambas-user] menu error

2014-06-29 Thread Benoît Minisini
Le 29/06/2014 05:14, Shane a écrit : I get the attached error when trying to insert a menu to an existing project form build 6343 It should be fixed in revision #6349. Regards, -- Benoît Minisini -- Open source

Re: [Gambas-user] Menu Show Event with Unity desktop

2014-01-13 Thread Greg Raffaelle
Le 09/01/2014 05:07, Greg Raffaelle a écrit : I set the environment variable APPMENU_DISPLAY_BOTH=1 as suggested and the program menu is now displayed on both the global unity menu at the top of the screen and on the main form. However, I still believe the program main class is only

Re: [Gambas-user] Menu Show Event with Unity desktop

2014-01-13 Thread Benoît Minisini
Le 13/01/2014 20:15, Greg Raffaelle a écrit : Le 09/01/2014 05:07, Greg Raffaelle a écrit : I set the environment variable APPMENU_DISPLAY_BOTH=1 as suggested and the program menu is now displayed on both the global unity menu at the top of the screen and on the main form.

Re: [Gambas-user] Menu Show Event with Unity desktop

2014-01-10 Thread Benoît Minisini
Le 09/01/2014 05:07, Greg Raffaelle a écrit : I set the environment variable APPMENU_DISPLAY_BOTH=1 as suggested and the program menu is now displayed on both the global unity menu at the top of the screen and on the main form. However, I still believe the program main class is only receiving

[Gambas-user] Menu Show Event with Unity desktop

2014-01-07 Thread Greg Raffaelle
The menu show event does not appear to be working with the global unity menu in Ubuntu. When a program menu is displayed from the top global menu it does not send a show event to the main program class. My program menu only appears in the top global menu bar and not at the top of the main

Re: [Gambas-user] Menu Show Event with Unity desktop

2014-01-07 Thread Benoît Minisini
Le 08/01/2014 02:56, Greg Raffaelle a écrit : The menu show event does not appear to be working with the global unity menu in Ubuntu. When a program menu is displayed from the top global menu it does not send a show event to the main program class. My program menu only appears in the top

[Gambas-user] Menu toolbar disappeared

2013-12-31 Thread wally
Hi, how to get the Menu-toolbar back on top of the IDE ? I switched Line Numbers ON and the Menu disappeared. It displays a messag use CTRL ALT M to get menu back, but nothing happens. 6041 does still not build on OpenSuse 13.1 (gtk3 component) wally

Re: [Gambas-user] Menu toolbar disappeared

2013-12-31 Thread Benoît Minisini
Le 31/12/2013 15:38, wally a écrit : Hi, how to get the Menu-toolbar back on top of the IDE ? I switched Line Numbers ON and the Menu disappeared. It displays a messag use CTRL ALT M to get menu back, but nothing happens. 6041 does still not build on OpenSuse 13.1 (gtk3 component) wally

Re: [Gambas-user] Menu toolbar disappeared

2013-12-31 Thread Benoît Minisini
Le 31/12/2013 15:38, wally a écrit : 6041 does still not build on OpenSuse 13.1 (gtk3 component) Do you have the same error or another one? If you are not sure, please always send the compiler output! -- Benoît Minisini

Re: [Gambas-user] Menu toolbar disappeared

2013-12-31 Thread wally
On Tuesday 31 December 2013 15:45:25 Benoît Minisini wrote: Le 31/12/2013 15:38, wally a écrit : Hi, how to get the Menu-toolbar back on top of the IDE ? I switched Line Numbers ON and the Menu disappeared. It displays a messag use CTRL ALT M to get menu back, but nothing happens.

Re: [Gambas-user] Menu toolbar disappeared

2013-12-31 Thread wally
On Tuesday 31 December 2013 15:47:00 Benoît Minisini wrote: Le 31/12/2013 15:38, wally a écrit : 6041 does still not build on OpenSuse 13.1 (gtk3 component) Do you have the same error or another one? If you are not sure, please always send the compiler output! yes, you are rightr,

Re: [Gambas-user] Menu Group

2012-10-21 Thread Bill-Lancaster
Have 'discovered' the Action property! Public Sub Action_Activate(key As String) As Boolean ... ... end enables me to discover which menu item was clicked and take to appropriate action. Sorry, I know this must be a bit obvious to a lot of people - just thought I'd post it anyway -- View this

[Gambas-user] Menu Group

2012-10-20 Thread Bill-Lancaster
I am generating a list of menu items where each one requires a similar action. Is it possible to have a group click event? Having read several posts touching on this subject I don't see how it would be possible, but... -- View this message in context:

Re: [Gambas-user] Menu children shown even if parent is disabled

2012-08-15 Thread Benoît Minisini
Le 13/08/2012 16:53, Emanuele Sottocorno a écrit : When a Menu is disabled the event Click isn't raised. But if you click on a closed enabled menu and then move the mouse over the disabled one it's children pop-ups. Is this correct? The attached project show the behaviour. Click on the Menu1

[Gambas-user] Menu children shown even if parent is disabled

2012-08-13 Thread Emanuele Sottocorno
When a Menu is disabled the event Click isn't raised. But if you click on a closed enabled menu and then move the mouse over the disabled one it's children pop-ups. Is this correct? The attached project show the behaviour. Click on the Menu1 and move the pointer over Menu2 This happens with

[Gambas-user] Menu icons are not displayed

2011-11-27 Thread M. Cs.
Hello all! I have a problem. While around 90% of the ported project works well on G3, my menu images are not visible. They are present in the project's root folder just as they were there in G2. Any idea? Csaba -- All

Re: [Gambas-user] Menu icons are not displayed

2011-11-27 Thread Benoît Minisini
Le 27/11/2011 18:04, M. Cs. a écrit : Hello all! I have a problem. While around 90% of the ported project works well on G3, my menu images are not visible. They are present in the project's root folder just as they were there in G2. Any idea? Csaba Let me guess: you are using Ubuntu or the

Re: [Gambas-user] Menu icons are not displayed

2011-11-27 Thread M. Cs.
I'm using Xubuntu 11.10, and the images on startmenu items are displayed well. I'll check it under LXDE. 2011/11/27, Benoît Minisini gam...@users.sourceforge.net: Le 27/11/2011 18:04, M. Cs. a écrit : Hello all! I have a problem. While around 90% of the ported project works well on G3, my

Re: [Gambas-user] Menu icons are not displayed

2011-11-27 Thread M. Cs.
Yes, you got it! The menu icons are displayed correctly when I use LXDE desktop. So this may be issue with XFCE style. Thanks! 2011/11/27, M. Cs. mohar...@gmail.com: I'm using Xubuntu 11.10, and the images on startmenu items are displayed well. I'll check it under LXDE. 2011/11/27, Benoît

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Still I have a problem: If I create TextLabels as you told me, I can get their tags, so I can identify them, but cannot remove them. In other case if I create them as a TextLabel[], I can add and remove them, but cannot figure which one of them has been clicked. How to make both of the option

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Thaa,...I've managed to solve this problem, but ran into another: Menus. Once I had simply to create menu with: mymenu=New Menu(FMain) mysub1=New Menu(mymenu) mysub1.Text=Item1 mysub1.Action=Action1 mymenu.popup() And it worked like a charm. Now in G3 it says after the popup there's no return

Re: [Gambas-user] Menu over a control

2011-06-29 Thread tobias
hi, If I create TextLabels as you told me, I can get their tags, so I can identify them, but cannot remove them. oh, of course, you can: LAST.Delete() if I create them as a TextLabel[], I can add and remove them, but cannot figure which one of them has been clicked. How to make both of the

Re: [Gambas-user] Menu over a control

2011-06-29 Thread Rolf-Werner Eilert
Yes, that would be a problem, but there is LAST to handle this: LAST.Tag would give you the tag of the object which was clicked last. You will identify the correct type of object by its name of origin MyText. Now you can insert Public SUB MyText_Click() When you type LAST. you will get the

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Can you give me a menu example for Gambas3, since the Gambas2 way of doing it doesn't work? Thanks 2011/6/29, Rolf-Werner Eilert eilert-sprac...@t-online.de: Yes, that would be a problem, but there is LAST to handle this: LAST.Tag would give you the tag of the object which was clicked last.

Re: [Gambas-user] Menu over a control

2011-06-29 Thread Rolf-Werner Eilert
Due to technical reasons, I have not worked with Gambas3 yet. So I cannot give you a Gambas3 real life example. But I will read the answers of the other guys here to (hopefully) keep in mind once I'll start with it :-) Rolf Am 29.06.2011 10:27, schrieb M. Cs.: Can you give me a menu example

Re: [Gambas-user] Menu over a control

2011-06-29 Thread tobias
hi, i just installed kubuntu 11.04 yesterday, i couldn't compile gambas3 with my old ubuntu... i hope, i can figure it out at home, if your questions isn't answered then :) -- All of the data generated in your IT

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
OK. I found that I have to put PUBLIC SUB Action_Activate(key as string) AS Boolean in order to get dinamical menus to work. The As Boolean wasn't present in G2. 2011/6/29, tobias tobiasb...@web.de: hi, i just installed kubuntu 11.04 yesterday, i couldn't compile gambas3 with my old ubuntu...

[Gambas-user] Menu over a control

2011-06-28 Thread M. Cs.
How can í create a flying menu over a dinamically created control? I know how can I do it for static elements, but if I have an array of let say TextLabels, how can I attach a menu to each of the elements (in order to get and use X and Y coordinates of the controls) ? Is It possible to use

Re: [Gambas-user] Menu over a control

2011-06-28 Thread Fabien Bodard
Public sub _New() dim i as integer dim hTextLabel as TextLabel For i = 0 to 100 hTextLabel = new TextLabel(Me) as MyText hTextLabel.Tag = i next end Public Sub MyText_Click() select case Last.Tag Case 1 'Text1 Case 2 'Text2 'etc end end 2011/6/28 M. Cs.

Re: [Gambas-user] Menu over a control

2011-06-28 Thread M. Cs.
Merci Fabien! 2011/6/28, Fabien Bodard gambas...@gmail.com: Public sub _New() dim i as integer dim hTextLabel as TextLabel For i = 0 to 100 hTextLabel = new TextLabel(Me) as MyText hTextLabel.Tag = i next end Public Sub MyText_Click() select case Last.Tag Case 1

[Gambas-user] Menu (feature request)

2011-04-16 Thread richard terry
Hi Benoit, In my every evolving design environment I have many occasions to want to copy a menu structure from one form to another. At the moment, this is possible by a multi-select of the menu and its items, and a copy, then load the other form, and then paste it into the menu editor on the

Re: [Gambas-user] Menu name in toolbox disappearing

2011-01-14 Thread Benoît Minisini
Hi Benoit, I've mentioned this before and got no response, though I know how busy you are, its not critical as I can edit the form definition and fix it. I sometimes forget some reports, so do repeat it if you do not see any answer after three or four weeks! In some situations, (if one

[Gambas-user] Menu name in toolbox disappearing

2011-01-11 Thread richard terry
Hi Benoit, I've mentioned this before and got no response, though I know how busy you are, its not critical as I can edit the form definition and fix it. In some situations, (if one accidently deletes the property menu of a menubutton in the toolbox, seems often one can't get it back, despite

[Gambas-user] Menu dialog save multiple judders

2010-06-06 Thread richard terry
Hi Benoit Upgraded gambas a couple of days ago and noticed that when one saves a menu, the IDE gui judders, like the code is going through some sort of loop, and the IDE is being refreshed many many times . Dosn't seem to affect anything or do any damage. Regards Richard

Re: [Gambas-user] Menu dialog save multiple judders

2010-06-06 Thread Benoît Minisini
Hi Benoit Upgraded gambas a couple of days ago and noticed that when one saves a menu, the IDE gui judders, like the code is going through some sort of loop, and the IDE is being refreshed many many times . Dosn't seem to affect anything or do any damage. Regards Richard Do you see

Re: [Gambas-user] menu

2010-04-04 Thread Steven James Drinnan
I can only give you a start, You should look at the details of how to make a deb package. I googled and found http://www.debian.org/doc/maint-guide/ch-dother.en.html#s-install (section 5.13) This talks about a menu.ex file that is created. Try modifying that file to your sub menu. Not sure if

Re: [Gambas-user] menu

2010-04-01 Thread yuhej
Hello, No any idea? Maybe there is no any solution to do that? I may need to give up then the idea :-( Robi yuhej wrote: Hello List, I have a very basic question... when I develop my applications I'd like them to appear in the menu under a group (when installed on a machine). When I

Re: [Gambas-user] menu

2010-04-01 Thread Benoît Minisini
Hello, No any idea? Maybe there is no any solution to do that? I may need to give up then the idea :-( Robi yuhej wrote: Hello List, I have a very basic question... when I develop my applications I'd like them to appear in the menu under a group (when installed on a machine).

Re: [Gambas-user] menu

2010-04-01 Thread Robert JUHASZ
Thanks Benoit! When you say that I can define application group, dou you mean that I can define (from gambas when packaging or from ubuntu) or do you mean that I can choose from the list provided during the creation of the package ? Robi 2010/4/2 Benoît Minisini gam...@users.sourceforge.net

[Gambas-user] menu

2010-03-10 Thread Robert JUHASZ
Hello List, I have a very basic question... when I develop my applications I'd like them to appear in the menu under a group (when installed on a machine). When I do tha packaging I'm able to set several parameters, but is it possible to create an own menu (for example myApps) and to put the

[Gambas-user] Menu bar height?

2009-12-29 Thread cwyong1
Hi Sorry for asking so many question but i would be thankful if you ppls can tell me how to find it out? -- View this message in context: http://old.nabble.com/Menu-bar-height--tp26958083p26958083.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] menu button events Q

2009-12-12 Thread Rolf Schmidt
Hello Richard Regarding keeping bookmarks, is there an accepted place to put them?, or just a settings file? There are a lot of possibilities: 1. A file in the home directory - perhaps as xml-file 2. In a sqlite database as firefox do it, also as a file in the home directory 3. In a LDAP

Re: [Gambas-user] menu button events Q

2009-12-11 Thread Fabien Bodard
That's ok on the rev 2475 2009/12/10 richard terry rte...@pacific.net.au: I've a menu button and want to be able to detect a right mouse click over the text of the button. None of the events seem intereceptable in the usual way in code, and creating an observor on the button and using stop

Re: [Gambas-user] menu button events Q

2009-12-11 Thread Benoît Minisini
I've a menu button and want to be able to detect a right mouse click over the text of the button. None of the events seem intereceptable in the usual way in code, and creating an observor on the button and using stop events dosn't seem to work either (gambas3 + qt4). Is there

Re: [Gambas-user] menu button events Q

2009-12-11 Thread richard terry
On Friday 11 December 2009 22:38:06 you wrote: I've a menu button and want to be able to detect a right mouse click over the text of the button. None of the events seem intereceptable in the usual way in code, and creating an observor on the button and using stop events dosn't seem to

[Gambas-user] menu button events Q

2009-12-10 Thread richard terry
I've a menu button and want to be able to detect a right mouse click over the text of the button. None of the events seem intereceptable in the usual way in code, and creating an observor on the button and using stop events dosn't seem to work either (gambas3 + qt4). Is there something special

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-29 Thread Fabien Bodard
2009/11/28 D. L. Fox ubu...@frigginjiggy.com: ...and while you're on the subject of Gambas3 revisions: How often is it revised? I haven't updated since I first installed it. near to 3 times or more in a week :) -- Let

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Doriano Blengino
Kadaitcha Man ha scritto: 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com: There are many GUIs where you must validate your input with enter. Example, if you send message with pidgin. Enter means, I am finished. It's your turn to do something, mister pooter. Tab means, I am not

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Benoît Minisini
Kadaitcha Man ha scritto: 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com: There are many GUIs where you must validate your input with enter. Example, if you send message with pidgin. Enter means, I am finished. It's your turn to do something, mister pooter. Tab means, I am not

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Kadaitcha Man
2009/11/28 Doriano Blengino doriano.bleng...@fastwebnet.it: Dear Kadaitcha Oh, not that again. Some troll stole my email address and spread it all over the planet. You have me mistaken with someone else. keep in mind that there is a lot of people out there which do not exactly understand

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Jussi Lahtinen
Yes, it was clear to me. Like I said, it is more like habit. There is problem with scope, you can think I am finished with this menu entry and press enter. But of course you should think I am not finished with this whole menu, just one entry and press tab. Same thing with pidgin; I am finnished

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Benoît Minisini
Hi benoit, Just a comment re menu-editor which when doing large menu's I find annoying. The default action for the return/enter key in the textboxes is to trigger the OK button in the menu editor, so if one hits enter and not tab to get to the next box hasty exit from the menu

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Doriano Blengino
Benoît Minisini ha scritto: Hi benoit, Just a comment re menu-editor which when doing large menu's I find annoying. The default action for the return/enter key in the textboxes is to trigger the OK button in the menu editor, so if one hits enter and not tab to get to the next box hasty

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread D. L. Fox
...and while you're on the subject of Gambas3 revisions: How often is it revised? I haven't updated since I first installed it. Benoît Minisini wrote: The same thing for Gambas 3 will follow in a next revision. -- Let

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-28 Thread Kadaitcha Man
2009/11/29 Benoît Minisini gam...@users.sourceforge.net: A big thread for just changing the Default property of a button from True to False! Sometimes you take a little more convincing than usual :) -- Let Crystal

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
hi, I don't know if I have this right, but EVERYVERE you have to have to skip from one textfield to another, motsly by tab, PHP, HTML, every programm you know then you accept the entires. in gambas on ONE form perfectly easy, catch the Enter from a menu, as easy as that. and dont complain, when I

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
see what you mean, laughin to dead here, ok trying to get better. do you know how embarisning it is, to be narrowsighted and longsithed at once ok i try my best man, you have a lot of options here, just ask, you alone knows what the software is doing at this point you have to decide!

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
you are a good guy, i'm not, very very böse (german, means mean) while I try to help you, my own shit is coming in the only word I dont understand is pidgin? tell me Kadaitcha Man schrieb: 2009/11/28 Jussi Lahtinen jussi.lahti...@gmail.com: There are many GUIs where you must validate your

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
aaand yet waiting for tomorrow Dag-Jarle Johansen schrieb: you are a good guy, i'm not, very very böse (german, means mean) while I try to help you, my own shit is coming in the only word I dont understand is pidgin? tell me Kadaitcha Man schrieb: 2009/11/28 Jussi Lahtinen

[Gambas-user] Menu editor - not a bug but annoying

2009-11-21 Thread richard terry
Hi benoit, Just a comment re menu-editor which when doing large menu's I find annoying. The default action for the return/enter key in the textboxes is to trigger the OK button in the menu editor, so if one hits enter and not tab to get to the next box hasty exit from the menu editor. Not

Re: [Gambas-user] menu action

2009-09-01 Thread Benoît Minisini
Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple button on a menu line of the form? Also is there any way (I cannot find

Re: [Gambas-user] menu action

2009-09-01 Thread abdurrahman ulusoy
...@users.sourceforge.net şöyle yazıyor: Kimden: Benoît Minisini gam...@users.sourceforge.net Konu: Re: [Gambas-user] menu action Kime: mailing list for gambas users gambas-user@lists.sourceforge.net Tarihi: 1 Eylül 2009 Salı, 11:28 Hi Gambas users. Is it possible to assign some action to a menu directly

Re: [Gambas-user] menu action

2009-09-01 Thread Charlie Reinl
Am Dienstag, den 01.09.2009, 10:28 +0200 schrieb Benoît Minisini: Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple button

Re: [Gambas-user] menu action

2009-09-01 Thread Stefano Palmeri
Il martedì 1 settembre 2009 10:28:25 Benoît Minisini ha scritto: Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple button

Re: [Gambas-user] menu action

2009-09-01 Thread Benoît Minisini
Il martedì 1 settembre 2009 10:28:25 Benoît Minisini ha scritto: Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple

[Gambas-user] menu action

2009-08-31 Thread Aleksandrs Livshics
Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple button on a menu line of the form? Also is there any way (I cannot find it,

Re: [Gambas-user] Menu question

2009-07-25 Thread Dimitris Anogiatis
Hey Richard, From what I've read in the gambasdocs and from what I can infer, every menu child is a menuItem collection so if you have a menu called mnuFile you can do something like this Dim subMenu as MenuChildren 'this will get the children of the main file menu subMenu = mnuFile.Children

[Gambas-user] Menu question

2009-07-24 Thread richard terry
Each menu has 'children' menu[0] = child 0 etc (I think) is there any way to return the child menu item collection simply ie with list you can read an listindex, no such thing in the menu? regards richard --

Re: [Gambas-user] Menu and toobutton question

2009-03-11 Thread Benoît Minisini
I think I've missed this, but can if one uses the same group name in a menu and for the toolbuttons, and the same tag in both, can you just use the group_click event to execute the same code? Regards Richard Yes. Controls having the same group name (i.e. event name) can have different

[Gambas-user] Menu and toobutton question

2009-03-09 Thread richard terry
I think I've missed this, but can if one uses the same group name in a menu and for the toolbuttons, and the same tag in both, can you just use the group_click event to execute the same code? Regards Richard --

[Gambas-user] Menu disable?

2008-09-10 Thread Ron
Hi, Having build login functionality in my application brings up the next challenge ;-) Can you disable a menu, so you see it (greyed out) but can't select anything? I have tried to uncheck Enabled in menu editor, but I see no change. Also setting property like MenuDevices.Enabled = FALSE

Re: [Gambas-user] Menu disable?

2008-09-10 Thread Leonardo Miliani
Ron ha scritto: Hi, Having build login functionality in my application brings up the next challenge ;-) Can you disable a menu, so you see it (greyed out) but can't select anything? I have tried to uncheck Enabled in menu editor, but I see no change. Also setting property like

  1   2   >