Jump to content

add AutoLock property to TUniBitBtn and TUniToolButton


molla2005b

Recommended Posts

6 hours ago, molla2005b said:

please add AutoLock property to TUniBitBtn and TUniToolButton

currently available for TUniButton only

Hello,

I think you can also use this way...

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  with UniBitBtn1 do
  begin
    ScreenMask.Enabled := False;
    ClientEvents.Enabled := True;
    ClientEvents.UniEvents.Values['ajaxCallback'] := 'function ajaxCallback(sender, response){sender.setDisabled(false)}';
    ClientEvents.ExtEvents.Values['click'] := 'function click(sender, e, eOpts){sender.setDisabled(true)}';
  end;
end;

 

Link to comment
Share on other sites

×
×
  • Create New...