control stay ON via PToolbox

A PocketC native palm library offering native forms and assorted utilities

Postby artosoft on Tue Mar 19, 2002 12:05 pm

Hi Joe,

Just want to know (I am lazy to read the manual :-), is it possible to control stay ON via PToolbox library?

Say I have a game that need a very very long time to calculate the move. Instead of keeping the palm always ON, I want to make it ON (so can finish calculation) until calculation finish.

This way can save battery and not dependent on device's time off.

Thanks.
Best regards, Dian Suharto.
artosoft
 
Posts: 207
Joined: Sat Dec 09, 2000 12:57 am
Location: Indonesia

Postby jstadolnik on Tue Mar 19, 2002 1:27 pm

Yes, use a push button and use FsetState to unset the button when done.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm
jstadolnik
 
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA


Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 2 guests

cron