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" 


	Col: TUniBaseDBGridColumn;
  	BtnCol: TUniCustomButtonItem;

	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"


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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...