MSMK Posted April 9, 2021 Share Posted April 9, 2021 Добрый день! подскажите как убрать пунктирные линии у кнопок в состоянии фокуса? Quote Link to comment Share on other sites More sharing options...
x11 Posted April 9, 2021 Share Posted April 9, 2021 это "фокус ввода" попробуй убрать фокусировку с кнопки Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 9, 2021 Author Share Posted April 9, 2021 1 hour ago, x11 said: это "фокус ввода" попробуй убрать фокусировку с кнопки так не пойдет. Quote Link to comment Share on other sites More sharing options...
x11 Posted April 9, 2021 Share Posted April 9, 2021 тогда смотри, что за рамка и удаляй с пом CSS Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 9, 2021 Author Share Posted April 9, 2021 40 minutes ago, x11 said: тогда смотри, что за рамка и удаляй с пом CSS пробовал, не нашел что с этим подвязано. Может Шерзод что подскажет? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2021 Share Posted April 9, 2021 Ок, проанализируем. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2021 Share Posted April 9, 2021 3 hours ago, =GGG= said: пробовал, не нашел что с этим подвязано. Попробуйте этот конфиг: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniButton1.JSInterface.JSConfig('focusCls', ['']); end; Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2021 Author Share Posted April 12, 2021 On 4/9/2021 at 8:30 PM, Sherzod said: Попробуйте этот конфиг: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniButton1.JSInterface.JSConfig('focusCls', ['']); end; Спасибо Шерзод! Помогло. Надо бы эту конструкцию вывести в свойства кнопки, типа CanFocus. Было бы очень удобно Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.