|
|
#1 |
|
Beta Member
Join Date: Aug 2010
Posts: 3
|
I need some major help with a program and i hope this is the place to come to
Basically this is what im tryin to accomplish Along with some other things If i could really find someone that could help me out here it would be greatly appreciated
|
|
|
|
|
|
#2 |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
You don't say what the output is meant to be, but I'm assuming you want some output to appear on press of the "generate" button when you've first pushed the "select first" button, and subsequently checked the "select second" optionbox?
If so, I'd just use a couple of boolean variables. When the first button is clicked, set variable bool1 to true, then when the second optionbox is checked set variable bool2 to true IFF bool1 is true (so you have to press the button first.) Then when the "generate" button is hit just check whether bool2 is true, and if so show whatever output you want to show. Seems like a bit of a bizarre program though, any reason for it?
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
#3 |
|
Cheesoid
|
I believe that the reason for this program involves the infamous "lulz".
|
|
|
|
|
|
#4 | |
|
Beta Member
Join Date: Aug 2010
Posts: 3
|
Quote:
ohhh and the out put box is what is set for select one and select two and generate links those two together and secondly ill try that out if i can figure it out cuz im really really new to the program |
|
|
|
|
|
|
#5 |
|
Site Team
Join Date: Mar 2004
Posts: 6,945
|
so select 1 is a drop down list or something?
and select 2 is a drop down list then you press generate. what you need to do is edit the generate button and add an on_click event the on click event should say something like. output.text = "you chose " & select1.text & " and you also chose " & select2.text
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries." |
|
|
|
|
|
#6 | |
|
Beta Member
Join Date: Aug 2010
Posts: 3
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Site Team
Join Date: Mar 2004
Posts: 6,945
|
so select 1 is a button.
select 2 is a radio button. generate is a button, text box one is the only thing that's got, or going to have any content. in that case you need to set an event or variable on the select 1 button onlick_select1() global_var_select_1_pressed = true then when generate is pressed you need to have something like this. you have the radio button of select 2 set to a value. onclick_generate() if (global_var_select_1_ pressed == true AND select2.value == xyz) then textbox1.text = "generated" else msgbox "you need to select stuff first"
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries." |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|