Recent

Author Topic: [SOLVED] Strange behavior with a radio group  (Read 407 times)

linuxbob

  • New Member
  • *
  • Posts: 15
[SOLVED] Strange behavior with a radio group
« on: January 18, 2026, 08:06:34 pm »
Good day,

I am working on a project that uses a TTabControl with three tabs. I have radio groups on all three tabs. When I run the program and click on one of the radio groups on the first tab, the debugger throws an error:

Project Faults raised exception class 'External: ACCESS
VIOLATION' with message:
Access violation reading from address
$00000000000005D4.

In file 'radiogroup.inc' at line 447

I don't catch that error when I click on radio groups on the other two tabs. Am I missing a setting that may have gone awry?

TIA
« Last Edit: January 18, 2026, 11:12:39 pm by linuxbob »

speter

  • Sr. Member
  • ****
  • Posts: 487
Re: Strange behavior with a radio group
« Reply #1 on: January 18, 2026, 10:35:15 pm »
I would be a good idea to post a minimal project that demonstates your problem. Also, please mention your Laz/FPC versions and OS.

cheers
S.

PS: My guess is that the radio group is not initialised / created.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

linuxbob

  • New Member
  • *
  • Posts: 15
Re: Strange behavior with a radio group
« Reply #2 on: January 18, 2026, 11:11:50 pm »
Laz 4.2, Win 11.

The radio group is there, I think something just went wonky. I deleted the offending radio group and placed a new one. All good at this end now. Thanks

speter

  • Sr. Member
  • ****
  • Posts: 487
Re: [SOLVED] Strange behavior with a radio group
« Reply #3 on: January 18, 2026, 11:59:09 pm »
I am posting a small demo project with a page-control-tab and radio-groups.
In case it might be useful for you (or someone else). :)

cheers
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

jamie

  • Hero Member
  • *****
  • Posts: 7519
Re: [SOLVED] Strange behavior with a radio group
« Reply #4 on: January 19, 2026, 12:08:12 am »
I've only seen such things cure themselves by removing and replacing the item from an act of manually renaming the original item instead of using the OI to perform that duty, whereas it updates the LFM file.

Jamie
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018