Jump to content

Actioncolumn and showMask


Sistema Fenix

Recommended Posts

  • 3 years later...
  • 2 weeks later...

"TUniCustomButtonItem" has the ScreenMask property and by code you can use it,  but in runtime mode  raise exception "invalid class typecast" 

 

var
	Col: TUniBaseDBGridColumn;
  	BtnCol: TUniCustomButtonItem;

begin
	Col := Grid.Columns.Add;
	Col := Grid.Columns.Add;
	Col.ActionColumn.Enabled := True;

	BtnCol := TUniCustomButtonItem(Col.ActionColumn.Buttons.Add);
	BtnCol.ScreenMask.Enabled := True; // <-- Compiles but in runtime mode raise exception "invalid class typecast"

end

Anybody knows if Is there another alternative  to show ScreenMask on click action column?

Thanks in advance!

Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...