Hello Vikthor, Your solution work fine with Dialog. But I test if your Dialog use TSRadio class, you will get error message. >>Error description: Error BASE/1083 Argument error: * >>Called from TSRADIO:DRAWLINE(427) >>Called from TSRADIO:PAINT(700) ...