Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-02

Universal problems?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Keith Bowes

Hiya! I've made some progress with getting the examples to work/be rendered properly when compiled with the win32 interface over the last couple days; however, there are a couple of things that don't work, for reasons unbeknownst to me, and I want to know if these things work properly on Linux and *BSD.

The first thing is that OnClick doesn't work for radio buttons (see bitbutton). I think this is because either TRadioButton needs to be inherited from TButton or the event handler needs to be in TButtonControl. But if it works for you guys, then I'm confused.

The second thing is the same thing that was happening with the Lazarus editor compiled with the gtk interface on Win32: you can't type anything in a SynEdit control. I think this is probably a Windows-specific problem, since you guys are still using SynEdit for the editor.

And BTW, I think I've isolated where the IDE runs into a problem on Win32; it's in ObjectInspector1.Show. I'm not sure why or where, but I'll try to get it fixed to make room for more bugs as soon as possible.

Reply by email

Mattias Gaertner
to Keith Bowes
The first thing is that OnClick doesn't work for radio buttons (see bitbutton). I think this is because either TRadioButton needs to be inherited from TButton or the event handler needs to be in TButtonControl. But if it works for you guys, then I'm confused.

You are confused.
I tested successfully TRadioGroup.OnClick and TRadioButton.OnClick.

The second thing is the same thing that was happening with the Lazarus editor compiled with the gtk interface on Win32: you can't type anything in a SynEdit control. I think this is probably a Windows-specific problem, since you guys are still using SynEdit for the editor.

There are still some things to do with TSynEdit, but simply typing works nice.

Mattias

Reply by email

Keith Bowes
to Keith Bowes: Hiya! I've made some progress with getting the examples to work/be rendered properly…

----- Original Message -----

Earlier message 30 lines
From: "Mattias Gaertner" To: Sent: Tuesday, February 05, 2002 4:37 PM Subject: Re: [lazarus] Universal problems? > > You are confused. Yes I am, but this isn't the only thing I'm confused about at the moment :). Besides, events are working poorly in the win32 interface right now (I'll have to redo them with a better scheme later), so this doesn't surprise me. > I tested successfully TRadioGroup.OnClick and TRadioButton.OnClick. > >... > > There are still some things to do with TSynEdit, but simply typing works nice. > I think I have narrowed down the problem here. The problem is the ShowCaret function returns false (ie, the caret isn't shown). The only way I know to get this to work is to ensure the SynEdit window has caret ownership; but TCustomSynEdit is too huge for me to worry about now, so I'm putting this on my TODO list too. In any case, thanks for affirming what I figured; that is, I've got a lot left to do. Keith

Reply by email