gettingstarted
[Top] [All Lists]

Re: Check boxes

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: Check boxes
From: GAmoore at aol dot com
Date: Fri, 29 Oct 2004 05:56:04 EDT
Delivered-to: gettingstarted at lists dot realsoftware dot com
> well what you must do is save the checkbox state to a preferences file
> of sorts
> then when your application opens again, it loads the info it saved and
> sets the last state
> it was at
> 

To fill in some details .... create and write a file, put 1 for on, 0 for off 
when closing the app. then when opening, look to see if the file exists, read 
it, and if 1 make the checkbox true, 0 make it false. You use readlines and 
writelines.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>