Roberto Nicchi Posted June 15, 2021 Share Posted June 15, 2021 If in a Tunidbgrid a button widget is assigned to a column, the button is not visualized and there are also some negatives "side effects". I have attached a self explained test app. It's faster if you take a look at the example than to explain by words. I have not been able to find a workaround. Let me know if i have to open a bug report. thanks Roberto UNIGUI 1.90.0.1549 Delphi XE10.2.3 testapp.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2021 Share Posted June 15, 2021 1 minute ago, Roberto Nicchi said: testapp.zip 58.74 kB · 0 downloads Hello, We will check your testcase. Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted July 20, 2021 Author Share Posted July 20, 2021 On 6/15/2021 at 4:51 PM, Sherzod said: Hello, We will check your testcase. Hello Sherzod, did you find a solution to this problem ? thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2021 Share Posted July 20, 2021 Hello, Sorry, not yet. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2021 Share Posted July 20, 2021 10 minutes ago, Roberto Nicchi said: did you find a solution to this problem ? One possible workaround for now. procedure TUniFrame1.UniFrameCreate(Sender: TObject); begin pc.ActivePage:=page1; // replace "page1" with "page2" and everything will work fine end; procedure TUniFrame1.pcChange(Sender: TObject); begin if (pc.ActivePage = page2)and(not tb.Active) then begin tb.createdataset; tb.open; tb.append; tb.fieldbyname('codice').asinteger:=1; tb.fieldbyname('nome').asstring:='test'; tb.post; end; end; Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted July 21, 2021 Author Share Posted July 21, 2021 16 hours ago, Sherzod said: One possible workaround for now. procedure TUniFrame1.UniFrameCreate(Sender: TObject); begin pc.ActivePage:=page1; // replace "page1" with "page2" and everything will work fine end; procedure TUniFrame1.pcChange(Sender: TObject); begin if (pc.ActivePage = page2)and(not tb.Active) then begin tb.createdataset; tb.open; tb.append; tb.fieldbyname('codice').asinteger:=1; tb.fieldbyname('nome').asstring:='test'; tb.post; end; end; In the example seems good but things can be more complicated .... Let's hope for a fix in the future. 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.