Sign in Join

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

Mailing lists / lazarus / 2002-09

TMenuItem radioitem weird activity

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Tony Maro: Upon opening my application my radio item's trigger all their click events -…
Show quoted text 7 lines
Upon opening my application my radio item's trigger all their click events - unfortunately it happens after the form's OnShow event, which is where I want to load and display a default from. Am I doing something wrong? All I did was create the radio group and set radioitem=true on each of the TMenuItems (and match the groupindex). I try to go and set the .Checked property during the OnShow event for the form, and it's overriden afterwards. I'm creating and setting the menus in the OnCreate event, so it's not the timing of that... Any ideas?

Radio menuitems are not finished. AFAIK no one is currently working on that.

Mattias

Reply by email

Tony Maro

Upon opening my application my radio item's trigger all their click events - unfortunately it happens after the form's OnShow event, which is where I want to load and display a default from.

Am I doing something wrong? All I did was create the radio group and set radioitem=true on each of the TMenuItems (and match the groupindex). I try to go and set the .Checked property during the OnShow event for the form, and it's overriden afterwards.

I'm creating and setting the menus in the OnCreate event, so it's not the timing of that...

Any ideas?

<<winmail.dat>>

Reply by email