Re: [lazarus] Menu icons have disappeared!

2007-12-15 Thread Giuliano Colla
Paul Ishenin ha scritto: Giuliano Colla wrote: With last svn update almost all menu icons have suddenly disappeared with gtk1. They still show if IDE is compiled for gtk2 or qt. Platform is Linux, fpc 2.2.0. A trace back shows that the problem occurred between r. 13325 which was ok, and 13328

Re: [lazarus] Menu icons have disappeared!

2007-12-14 Thread Paul Ishenin
Giuliano Colla wrote: With last svn update almost all menu icons have suddenly disappeared with gtk1. They still show if IDE is compiled for gtk2 or qt. Platform is Linux, fpc 2.2.0. A trace back shows that the problem occurred between r. 13325 which was ok, and 13328 which wasn't. problems fi

[lazarus] Menu icons have disappeared!

2007-12-14 Thread Giuliano Colla
With last svn update almost all menu icons have suddenly disappeared with gtk1. They still show if IDE is compiled for gtk2 or qt. Platform is Linux, fpc 2.2.0. A trace back shows that the problem occurred between r. 13325 which was ok, and 13328 which wasn't. Regards Giuliano _

Re: [lazarus] Menu

2007-07-17 Thread Tom York
I do not know where you can find information on the subject, but can give you a few tips. You can attach submenu's to the parent forms menu by: -- begin code *procedure TForm1.CreateSubMenu(Sender: TObject); *var Sub, SubItems: TMenuItem; begin // Create a sub menu Sub := TMenuItem.Create(Menu);

[lazarus] Menu

2007-07-17 Thread German C. Basisty
Good people: Does anybody know where can I find documentation about creating and managing menu? I mean, like a standard Windows app main menu or something. Best regards German

Re: [lazarus] menu editor

2007-05-15 Thread Paul Midgley
Thank you I will try this. On Tue, 2007-05-15 at 08:28 +0800, Paul Ishenin wrote: > Paul Midgley wrote: > > Hello > > > > I am a newbie to this forum, but I have used Delphi and Lazarus on > > Windows previously. > > > > I have just installed Lazarus on an Ubuntu Linux system and the Lazarus > >

Re: [lazarus] menu editor

2007-05-14 Thread Paul Ishenin
Paul Midgley wrote: Hello I am a newbie to this forum, but I have used Delphi and Lazarus on Windows previously. I have just installed Lazarus on an Ubuntu Linux system and the Lazarus runs up OK, but when I try to run the menu editor it freezes Lazarus and no matter what I do I cannot clear it

[lazarus] menu editor

2007-05-14 Thread Paul Midgley
Hello I am a newbie to this forum, but I have used Delphi and Lazarus on Windows previously. I have just installed Lazarus on an Ubuntu Linux system and the Lazarus runs up OK, but when I try to run the menu editor it freezes Lazarus and no matter what I do I cannot clear it from the desk top, ap

RE: [lazarus] Menu Editor problems

2006-10-18 Thread Crause, Christo \(JC\)
> Has anybody else noticed that the menu editor is screwed? > I use Lazarus 0.9.19 (r10047) under Linux with FPC 2.1.1 and > Gtk1 widget set. > > I create a form, drop a TMainMenu on the form. > Double click the TMainMenu which opens the menu editor. > I insert a Default File menu template. > >

[lazarus] Menu Editor problems

2006-10-18 Thread Graeme Geldenhuys
Hi, Has anybody else noticed that the menu editor is screwed? I use Lazarus 0.9.19 (r10047) under Linux with FPC 2.1.1 and Gtk1 widget set. I create a form, drop a TMainMenu on the form. Double click the TMainMenu which opens the menu editor. I insert a Default File menu template. Save everythi

Re: [lazarus] Menu fix

2006-03-06 Thread Mattias Gaertner
On Sat, 04 Mar 2006 19:01:07 + Colin Western <[EMAIL PROTECTED]> wrote: > Under gtk1 on linux it is not possible to have an underscore character > displayed. The attached patch fixes this Thanks. Applied. Mattias _ To uns

[lazarus] Menu fix

2006-03-04 Thread Colin Western
Under gtk1 on linux it is not possible to have an underscore character displayed. The attached patch fixes this Colin diff -uNr lazarus/lcl/interfaces/gtk/gtkproc.inc /dos/fpc/lazarus.w/lcl/interfaces/gtk/gtkproc.inc --- lazarus/lcl/interfaces/gtk/gtkproc.inc 2006-03-04 11:04:49.0 +

[lazarus] Menu questions

2005-11-11 Thread Alexander Todorov
Hi all, can someone tell me if there is a way to get a popupmenu's height ? I wrote a function that work for me but it is not very good. On Win32 there are some apis that will do the job but for linux I wrote: --- for i := 0 to popup.Items.Count -1 do

Re: [lazarus] Menu icons in KDE / Gnome

2005-09-06 Thread Michael Van Canneyt
On Tue, 6 Sep 2005, A.J. Venter wrote: KDE and gnome will both check /usr/share/applications/ for desktop files, so that's where your desktop file should go, to prevent inter-distro issues, install your icon picture somewhere global as well, and set a full path in the desktop file. That wo

Re: [lazarus] Menu icons in KDE / Gnome

2005-09-06 Thread A.J. Venter
> > KDE and gnome will both check /usr/share/applications/ for desktop files, > > so that's where your desktop file should go, to prevent inter-distro > > issues, install your icon picture somewhere global as well, and set a > > full path in the desktop file. > > That won't work. Since all desktop

Re: [lazarus] Menu icons in KDE / Gnome

2005-09-06 Thread Joost van der Sluis
On Tue, 2005-09-06 at 11:15 +0200, A.J. Venter wrote: > > > > That's highly distribution-specific. There are some efforts to make a > > standard, though. > > > > For Fedora: install the desktop-file-utils. Make a desktop-file (see an > > example in lazarus/install/gnome.ide.desktop) and then run de

Re: [lazarus] Menu icons in KDE / Gnome

2005-09-06 Thread A.J. Venter
> > That's highly distribution-specific. There are some efforts to make a > standard, though. > > For Fedora: install the desktop-file-utils. Make a desktop-file (see an > example in lazarus/install/gnome.ide.desktop) and then run desktop-file- > install desktopfile.desktop. (this also makes a kde

Re: [lazarus] Menu icons in KDE / Gnome

2005-09-06 Thread Joost van der Sluis
On Mon, 2005-09-05 at 14:39 -0400, Tony Maro wrote: > If anyone can point me in the right direction of how to create a menu > entry in Gnome and/or KDE programmatically in Lazarus, I'd greatly > appreciate it. > > I can throw an icon on the desktop pretty darn easy, but the menu's > still escap

[lazarus] Menu icons in KDE / Gnome

2005-09-05 Thread Tony Maro
If anyone can point me in the right direction of how to create a menu entry in Gnome and/or KDE programmatically in Lazarus, I'd greatly appreciate it. I can throw an icon on the desktop pretty darn easy, but the menu's still escape me and the directions I've seen online so far are cryptic at

Re: [lazarus] Menu items under Windows XP

2005-08-29 Thread Razvan Adrian Bogdan
On 8/28/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > Currently, resources for Linux are being implemented (and nearly finished), > so make sure your {$r } statements are valid for the platform you compile for. Now that is something Delphians will love, not having to use those IFDEFS so muc

Re: [lazarus] Menu items under Windows XP

2005-08-28 Thread Michael Van Canneyt
On Sun, 28 Aug 2005, Tony Maro wrote: > Micha Nelissen wrote: > > > On Sun, 28 Aug 2005 15:42:10 +0200 > > Bogusław Brandys <[EMAIL PROTECTED]> wrote: > > > > > > > > > Micha Nelissen wrote: > > > > > > > > > > On Sat, 27 Aug 2005 23:38:29 +0200 > > > > BogusĹ�aw Brandys <[EMAIL PROTECTED]

Re: [lazarus] Menu items under Windows XP

2005-08-28 Thread Tony Maro
Micha Nelissen wrote: On Sun, 28 Aug 2005 15:42:10 +0200 Bogusław Brandys <[EMAIL PROTECTED]> wrote: Micha Nelissen wrote: On Sat, 27 Aug 2005 23:38:29 +0200 BogusĹ�aw Brandys <[EMAIL PROTECTED]> wrote: I don't know how but {$R windowsxp.res} included in implementation of mai

Re: [lazarus] Menu items under Windows XP

2005-08-28 Thread Micha Nelissen
On Sun, 28 Aug 2005 15:42:10 +0200 Bogusław Brandys <[EMAIL PROTECTED]> wrote: > Micha Nelissen wrote: > > On Sat, 27 Aug 2005 23:38:29 +0200 > > BogusĹ�aw Brandys <[EMAIL PROTECTED]> wrote: > > > > I don't know how but {$R windowsxp.res} included in implementation of > main form is working

Re: [lazarus] Menu items under Windows XP

2005-08-28 Thread Bogusław Brandys
Micha Nelissen wrote: > On Sat, 27 Aug 2005 23:38:29 +0200 > Bogus�aw Brandys <[EMAIL PROTECTED]> wrote: > > >>Thanks.That works after resetting to default theme. >>By the way : how can I include manifest file inside program EXE compiled >>with lazarus ? In Delphi I created RC file , compiled an

Re: [lazarus] Menu items under Windows XP

2005-08-28 Thread Micha Nelissen
On Sat, 27 Aug 2005 23:38:29 +0200 Bogusław Brandys <[EMAIL PROTECTED]> wrote: > Thanks.That works after resetting to default theme. > By the way : how can I include manifest file inside program EXE compiled > with lazarus ? In Delphi I created RC file , compiled and used such > statement : > {$R

Re: [lazarus] Menu items under Windows XP

2005-08-27 Thread Bogusław Brandys
Micha Nelissen wrote: > On Sat, 27 Aug 2005 22:43:50 +0200 > Bogus�aw Brandys <[EMAIL PROTECTED]> wrote: > > >>Micha Nelissen wrote: >> >>>On Sat, 27 Aug 2005 21:32:42 +0200 >>>Bogus�aw Brandys <[EMAIL PROTECTED]> wrote: >>> >>> >>> Menu items under Windows XP with theme Luna enabled (st

Re: [lazarus] Menu items under Windows XP

2005-08-27 Thread Micha Nelissen
On Sat, 27 Aug 2005 22:43:50 +0200 Bogusław Brandys <[EMAIL PROTECTED]> wrote: > Micha Nelissen wrote: > > On Sat, 27 Aug 2005 21:32:42 +0200 > > BogusĹ�aw Brandys <[EMAIL PROTECTED]> wrote: > > > > > >>Menu items under Windows XP with theme Luna enabled (standard) have > >>white background but

Re: [lazarus] Menu items under Windows XP

2005-08-27 Thread Pedro Santos
What is the version of Windows XP you are using, home or professional? If you make a menu with several items (file, edit, view, etc) this bug appears in all of them? And after the first click in menu it disappear or keeps showing? Now i use linux, but when i work with Windows XP I notice that

Re: [lazarus] Menu items under Windows XP

2005-08-27 Thread Bogusław Brandys
Micha Nelissen wrote: > On Sat, 27 Aug 2005 21:32:42 +0200 > Bogus�aw Brandys <[EMAIL PROTECTED]> wrote: > > >>Menu items under Windows XP with theme Luna enabled (standard) have >>white background but it not fill fully item canvas.Is this a known bug ? > > > Can you explain more? Do you have

Re: [lazarus] Menu items under Windows XP

2005-08-27 Thread Micha Nelissen
On Sat, 27 Aug 2005 21:32:42 +0200 Bogusław Brandys <[EMAIL PROTECTED]> wrote: > Menu items under Windows XP with theme Luna enabled (standard) have > white background but it not fill fully item canvas.Is this a known bug ? Can you explain more? Do you have a screenshot? > I see it also under De

[lazarus] Menu items under Windows XP

2005-08-27 Thread Bogusław Brandys
Menu items under Windows XP with theme Luna enabled (standard) have white background but it not fill fully item canvas.Is this a known bug ? I see it also under Delphi 5. I use Lazarus 0.9.9 (snapshot 26.08.2005) from this page : http://www.ca.freepascal.org/Lazarus Regards Boguslaw Brandys __