Forum > General
create a submenu
antares:
I get an error when I am trying to create a submenu in the Menu component editor. Lazarus reports a "Division by zero" error, and then when I click OK it shuts down.
This is the output generated in the Dos trace window:
TMainIDE.OnPropHookComponentAdded END Menuitem2:TMENUITEM TRUE
ERROR in LCL: TWinControl.CreateComponent: SubMenuArrow_0:TARROW Handle creation failed
Creating gdb catchable error:
TApplication.HandleException Division by zero
Options Quick Reply
Quote the last message
Attach signature (signatures can be changed in profile)
Notify me when a reply is posted
Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
Jump to: Select a forum Forum index|--[Using Lazarus]| |-- Editor/Editing| |-- Designer/Designing| |-- Options/Settings| |-- Debugger/Debugging| |-- General|--[Installation]| |-- Linux| |-- Win32| |-- General|--[Packages]| |-- Ported from Delphi/Kylix| |-- Custom/General|--[Suggestions/Ideas]| |-- IDE/CodeTools| |-- LCL|--[General Issues]| |-- Misc
Vincent Snijders:
What is your OS? What version of lazarus are you using.
This looks like bug 162 or 201, which have been fixed.
Anonymous:
Yes, I think the bug is fixed, I have encountered this bug, but it works fine now. At least with the latest CVS files, and on win32.
JMB
Anonymous:
--- Quote from: "Vincent" ---What is your OS? What version of lazarus are you using.
This looks like bug 162 or 201, which have been fixed.
--- End quote ---
Unfortunately it's not fixed on the Linux version. On my system, Lazarus immediately disappears from the screen with no error messages when I try to add a second item to a menu. So at the moment, I can't use menus at all (unless I construct them in code of course).
[SuSE Linux 9.0, latest Lazarus CVS update, FPC 1.9.2]
Eric
eric:
--- Quote from: "Anonymous" ---
Unfortunately it's not fixed on the Linux version....
--- End quote ---
Sorry, that was from me.
Eric
Navigation
[0] Message Index
[#] Next page