Template buttons, close application / Close application and shutdown PC

Discussion about Template Builder and graphic pages creation.
Post Reply
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: Template buttons, close application / Close application and shutdown PC

Post by admin »

Dear Sir,
yes, you can create a simple code function called by "OnClick" property.

Code for close application:

Function void CloseApplication()
EnableShutdown(false);
CloseSession();
end

Code for shutdown pc:

Function void ShutdownSystem()
EnableShutdown(true);
CloseSession();
end
Post Reply