question about option boxes

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
Cheech|N|Chong





Posts: 115
Joined: Fri Jan 14, 2005 9:26 am
Location: Why The Fuck Would I Tell You? Indiana...
Contact:

question about option boxes

Post by Cheech|N|Chong »

i placed an option box on a proggy, and wantyed to know whats the property or whatever:
name.property e.g. : label1.label
whats the options propery?
option1. ???
is this right after i get the property?
dim Yes as string
yes = option1. w/e prop. is
if option1.prop = true then msgbox "blah blah blah blah"
?
Signature exceeded 75KB.
Oosty





Posts: 84
Joined: Thu Sep 16, 2004 6:27 pm
Location: Australia
Contact:

Re: question about option boxes

Post by Oosty »

checkbox1.vbchecked and checkbox1.vbunchecked i think
Signature exceeded 75KB.
[CL]9mm-Man




Wordewatician 500

Posts: 773
Joined: Tue May 04, 2004 7:14 am
Location: Uranus

Post by [CL]9mm-Man »

If option1 = True Then MsgBox "blahblahblah"

I think thats what you were looking for. If not type option then press . so it looks like option. and a box should come up with all the properties
Your image cannot exceed 400x200 or 50kb
Cheech|N|Chong





Posts: 115
Joined: Fri Jan 14, 2005 9:26 am
Location: Why The Fuck Would I Tell You? Indiana...
Contact:

Post by Cheech|N|Chong »

actually what i wanted 2 knoe wus wut is the property of an optionbox...which i found out is

youroption.Value

Code: Select all

Dim name As String
Dim last As String
Dim chinyes As String
Dim chinno As String
last = txtLast.Text
name = txtName.Text
chinyes = Option1.Value
chinno = Option2.Value

If chinyes = True Then MsgBox "hey their playa!"
Signature exceeded 75KB.
Oosty





Posts: 84
Joined: Thu Sep 16, 2004 6:27 pm
Location: Australia
Contact:

Post by Oosty »

damn, i thought you ment checkboxes
Signature exceeded 75KB.
Cheech|N|Chong





Posts: 115
Joined: Fri Jan 14, 2005 9:26 am
Location: Why The Fuck Would I Tell You? Indiana...
Contact:

Post by Cheech|N|Chong »

Oosty wrote:****, i thought you ment checkboxes
same for checkboxes also =0
Signature exceeded 75KB.
Post Reply