TICALCS.net

Full Version: store input from dialog?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[/code]i am using TI Flash Studio to create TI 89 Titanium app.

i have a dialog with a popup connected to it. When i select the popup and press enter, i want to recieve what that selected item is.

ex:

Code:
DIALOG tDialog, 140, 70, NoCallBack {
   POPUP, {DF_TAB_ELLIPSES, 12, 34}, "FIRST POPUP", Popup1, 0
   HEADER, {0, 0, 0}, "DIALOG HEADER", PDB_OK, PDB_CANCEL
}

POPUP Popup1, RC_NO_IDS, 0 {
   "One", 1
   "Two", 2
}


I want to store either 1 or 2 of selected popup1 into a variable.

How can i do this?

Sorry, I really don't know that much about the TI Flash Studio...I haven't used it in a long time (and it doesn't work on the computer I'm currently using). TI has some guides like this and this which may help.

Maybe you'd be interested in using TIGCC. It's much more popular, meaning that there'd be more people to help you if you have any problems (there's even an official message board for it). You can't create Flash Applications (which appear when you press the APPS key) in C using TIGCC, but you can still use C to create fast and efficient (more so than the the on-calculator programming abilities, TI-BASIC) programs.
I fully agree with bfr's suggestion of trying out TIGCC. However, in your case, try to access the dialog's pointer somehow. Look through the documentation; you'll find it.
Reference URL's