[lazarus] LCL: menu creation order
Micha Nelissen
mdvpost at hotmail.com
Tue Jul 1 07:38:16 EDT 2003
Vincent Snijders wrote:
>> Van: Micha Nelissen [mailto:mdvpost at hotmail.com]
>> Verzonden: dinsdag 1 juli 2003 13:43
>> Michael Van Canneyt wrote:
>>> On Tue, 1 Jul 2003, Michael Van Canneyt wrote:
>>>
>>>>
>>>>
>>>>>> Ultimate reason: the win32 interface seems to crash when a
>>>>>> shortcut is set
>>>>>> for a particular menuitem. It occurs when running the lazarus
>>>>>> ide.
>>>>>
>>>>> I'm sure you will find the bug.
>>>>>
>>>>> Apropos IDE: Did you try the TSynEdit under win32?
>>>>
>>>> I did, with todays sources:
>>>>
>>>> malpertuus: /cygdrive/e/pp/projects/lazarus/examples >./edittest
>>>> [FORMS.PP] ExceptionOccurred
>>>> Sender=EACCESSVIOLATION
>>>> Exception=Access violation
>>>> TApplication.HandleException Access violation
>>>> TApplication.HandleException Handling "Access violation" ...
>>>> [FORMS.PP] ExceptionOccurred
>>>>
>>>> Not very informative :-/
>>>
>>> Follow-up:
>>>
>>> Executing progressbar (or any other) example,
>>> I get zillions of these messages:
>>>
>>> Exception=Unknown Run-Time error : 217
>>> TApplication.HandleException: there was another exception during
>>> showing the first exception [FORMS.PP] ExceptionOccurred
>>> Sender=EXCEPTION
>>> Exception=Unknown Run-Time error : 217
>>>
>>> So something is definitely wrong in the windows interface:/
>>
>> Strange, I do not recieve such messages. Only when trying to execute
>> lazarus, but the progressbar example works fine.
>>
>> Micha.
>
> Same here, but the progressbar example has a new bug: When you click
> on toggle smooth, all buttons disappear
Why do all buttons disappear, I can reason that the smooth button disappears
because erasebackground redraws over it or something, but why do *all* of
them disappear? IOW: If only 1 item needs to be redrawn, why are all?
> and only every second a blue
> block is shown.
It's meant to be like this. By default, smooth is 'on', toggling smooth
disables smooth, and thus 'blocky'.
> I might have to do something with the changes to the
> code of wm_erasebackground recently.
Indeed.
Regards,
Micha.
More information about the Lazarus
mailing list