|
#1
|
||||
|
||||
|
Is it posible to have a dialog popup with a combobox?
so that what ever the user chooses in the combo box is saved to a string when the OK button is pressed? dont know if this is posible... the workaround would be to have an extra page that shows first and then have the combobox on that.... But the popup dialog would be nicer... Anyone have any surgestions on this? Jonas DK |
|
#2
|
||||
|
||||
|
Hello,
There's currently no way in AutoPlay Media Studio 6.0 to pop up a dialog like that. You're correct that the best work-around would be a seperate page. With that being said, I suppose you could make a seperate app to mimic the dialog, then use a File.Run action to open it . . . but you'd be adding ~1mb overhead to your app. Food for thought anyhow. Desmond. |
|
#3
|
||||
|
||||
|
[QUOTE=Desmond]
. . . but you'd be adding ~1mb overhead to your app. QUOTE] Size is not a matter, the app I'm working on is build to run from a local network server. so splitting into smaller apps is a good Idea But can I get the dialog app to send the returnstring straight to the main app? |
|
#4
|
|||
|
|||
|
I know that I created a DLL to do this exact thing Jonas, I can't seem to see where I posted it here, so that means its on my machine at home, or on my now dead notebook hard drive
I'll take a look tonight and post back. BTW, it's along the lines of this, only with a combo as you suggested http://www.indigorose.com/forums/sho...60&postcount=2 |
|
#5
|
||||
|
||||
|
Quote:
I am looking forward to see if you find it... cheers, Jonas |
|
#6
|
||||
|
||||
|
Quote:
In app 1, use a File.Run action with 'WaitForReturn' set to true. In app 2, use Application.Exit(nReturnCode); ... and make sure you specify a return code. Then, when app 2 is closed (the ok button is pressed), app 1 gets the return code. |
|
#7
|
||||
|
||||
|
Another seamless albeit snaky workaround is to create a duplicate-looking page with an image of a pop-up dialog in the center, with a combobox atop it. Then just set the OK button to hop back to the page you came from. This is complete monkey soccer to some extent but it's totally seamless so it might work well for certain scenarios, plus it gives you the ability to use any type of object in your "pop-up".
|
|
#8
|
||||
|
||||
|
Like your idea Corey but I think Ill stick to desmonds returncode.. if worm cant find the dll he made for just this kind of problem.
the thing is that the dialog is loaded before the app as a dialog.message on the project startup. and the choice the user makes on the dialog combobox sets the dynamics of the projekt to fit the users choice. so that for instance if you choose Math 101 on the dialog you will only be showen the easy math that is for your level and so forth if you choose advanced math you get more subjects to studie and so on.... so depending on the choice a different lua file is called into existanse from the script folder to mold the application. I think its cool... by this you have 6 totally different application i one depending on you choice. |
|
#9
|
|||
|
|||
|
Here tis... I had to rewrite it. It seems the source died with my notebook hard drive, now I'm wondering what else I didn't get "backed up"; YIKES!
|
|
#10
|
||||
|
||||
|
Quote:
But worm's DLL's are always an excellent solution to any problem! |
|
#11
|
||||
|
||||
|
Quote:
Tigg
__________________
TJ-Tigger "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools." "Draco dormiens nunquam titillandus." Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine |
|
#12
|
|||
|
|||
|
I can, but to do that would mean that the end user would need to have certain version of the Windows Common Controls. The good news is that the version that would be needed is installed with IE4. So, it's very likely that it's a safe bet.
|
|
#13
|
||||
|
||||
|
Quote:
Tigg
__________________
TJ-Tigger "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools." "Draco dormiens nunquam titillandus." Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine |
|
#14
|
|||
|
|||
|
You can disregard my previous post. My mind is very scattered today (every day).
Here's a new version that allows you to specify the height of the drop down, if the list is larger, the scrollbar becomes active. |
|
#15
|
||||
|
||||
|
Nice .dll Worm, I just saw it.... but I have a question:
Is it possible to make the dialog child process of the APMS window? So that the main window is inactive untill the dialog is closed (preety much like built in dialogs)... Also, that the dialog is not shown on the taskbar...
__________________
Never know what life is gonna throw at you. (Based on a true story.) Last edited by bule; 01-20-2007 at 01:03 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need ComboBox To Update Image Object | octane6228 | AutoPlay Media Studio 5.0 | 2 | 09-21-2006 01:10 AM |
| ComboBox problem | andrewr | AutoPlay Media Studio 5.0 | 5 | 05-06-2005 10:49 AM |
| ComboBox display current | pjhiggins | AutoPlay Media Studio 5.0 | 4 | 05-21-2004 01:14 PM |
| combobox quizzer | dulux1309 | AutoPlay Media Studio 5.0 | 3 | 04-06-2004 03:12 PM |
| Spotlight: ComboBox Object Plugin | Desmond | AutoPlay Media Studio 5.0 | 2 | 03-02-2004 02:10 PM |
All times are GMT -6. The time now is 05:32 PM.








Linear Mode

