Checkbox Already Checked?

Just starting out? Need help? Post your questions and find answers here.
snap2000
User
User
Posts: 88
Joined: Fri Jun 04, 2004 12:11 am

Checkbox Already Checked?

Post by snap2000 »

Is it possible to have a checkboxgadget checked without having to first be clicked by the user?
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

use SetGadgetState(#Checkbox, 1) to make it checked after you created it.

Timo
quidquid Latine dictum sit altum videtur
snap2000
User
User
Posts: 88
Joined: Fri Jun 04, 2004 12:11 am

Post by snap2000 »

freak wrote:use SetGadgetState(#Checkbox, 1) to make it checked after you created it.

Timo
Thanks for your reply. I was coming here to delete it, because I just realized the answer when I was unable to come online. :oops:

Oh, well. An answer for someone else with the same question, right? ;)
Post Reply