12-18-2012, 08:30 AM
I started with creating dialogs, but it seems very difficult I have been trying for days to get a grip on it.
I finally now can create a dialogbox and smart dialogbox that triggers a messagebox when pressing a button.
To help me get along a little bit faster an example would help greatly.
- I have folder c:\test which contains 4 text files , and I want those file-names to be populated in a combo-box (dropdown-list-box).
- And I want a window above the combo-box which which gets populated with the contents of "c:\test\pathfile1.txt" and when selecting "pathfile2.txt" from the combo-box, the window above the combo-box gets populated with the contents of "pathfile2.txt"
c:\test\pathfile1.txt
c:\test\pathfile2.txt
c:\test\pathfile3.txt
c:\test\pathfile4.txt
what I mean:
![[Image: 13zvgk.gif]](http://i45.tinypic.com/13zvgk.gif)
And if it is possible I want to click on a line in the window (see arrow above) and that line to be outputted in the output window. From what I have read, I need a smart-dialog because it keeps processing code after being launched.
I finally now can create a dialogbox and smart dialogbox that triggers a messagebox when pressing a button.
To help me get along a little bit faster an example would help greatly.
- I have folder c:\test which contains 4 text files , and I want those file-names to be populated in a combo-box (dropdown-list-box).
- And I want a window above the combo-box which which gets populated with the contents of "c:\test\pathfile1.txt" and when selecting "pathfile2.txt" from the combo-box, the window above the combo-box gets populated with the contents of "pathfile2.txt"
c:\test\pathfile1.txt
c:\test\pathfile2.txt
c:\test\pathfile3.txt
c:\test\pathfile4.txt
what I mean:
![[Image: 13zvgk.gif]](http://i45.tinypic.com/13zvgk.gif)
And if it is possible I want to click on a line in the window (see arrow above) and that line to be outputted in the output window. From what I have read, I need a smart-dialog because it keeps processing code after being launched.
