yakup Posted March 9, 2023 Share Posted March 9, 2023 Garip bir sorun yaşıyorum, resimdeki gibi bir taşınabilir panelim var. Panelime Toolsbutton ekliyorum event içi asla tetiklenmiyor. içindeki gride ekliyorum o gridinki de tetiklenmiyor sonra baktım bu ilk forma ne koyarsam koyayım tetiklenmiyor event. Diğer formlarımda sağlıklı çalışıyor mantıklı bir açıklaması var mı bunun. procedure TMainForm.DragPanel3ToolClick(Sender: TUniCustomButtonItem); begin ShowMessage( Sender.ButtonId .ToString ); end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 9, 2023 Share Posted March 9, 2023 Merhaba, 6 minutes ago, yakup said: procedure TMainForm.DragPanel3ToolClick(Sender: TUniCustomButtonItem); begin ShowMessage( Sender.ButtonId .ToString ); end; Are you sure you assigned this handler to the panel? Quote Link to comment Share on other sites More sharing options...
yakup Posted March 9, 2023 Author Share Posted March 9, 2023 Aaa. Buldum sorunu , sadece ShowMessage çalışmıyor DragPanel3.Hide; yazdığımda paneli gizliyor. 2 minutes ago, Sherzod said: Merhaba, Are you sure you assigned this handler to the panel? Evet eminim. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 9, 2023 Share Posted March 9, 2023 So, is it working now? Quote Link to comment Share on other sites More sharing options...
yakup Posted March 9, 2023 Author Share Posted March 9, 2023 Hay Allah birileri benim projeye böyle kod yazmış Sorun yok procedure TMainForm.ShowMessage(t: string); begin // end; Quote Link to comment Share on other sites More sharing options...
yakup Posted March 9, 2023 Author Share Posted March 9, 2023 1 minute ago, Sherzod said: So, is it working now? yes yes, wrong alarm. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 9, 2023 Share Posted March 9, 2023 Okay. 1 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.