Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple input box
#3
Success!! I made it with the dialog, this is so great Big Grin Did it like this it is so easy and it works :
Code:
Copy      Help
\Dialog_Editor


BEGIN DIALOG
0 "" 0x90C80AC8 0x0 0 0 223 135 "Dialog"
1 Button 0x54030001 0x4 120 116 48 14 "OK"
2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
3 Edit 0x54030080 0x200 102 12 96 14 ""
4 Edit 0x54032000 0x200 102 34 32 14 ""
5 Edit 0x54032000 0x200 102 54 32 14 ""
6 Edit 0x54032000 0x200 102 74 32 14 ""
7 Static 0x54000000 0x0 40 14 48 12 "Name"
8 Static 0x54000000 0x0 40 34 48 12 "Time"
9 Static 0x54000000 0x0 40 56 48 12 "Quantity"
10 Static 0x54000000 0x0 40 74 48 12 "Number of items"
END DIALOG
DIALOG EDITOR: "" 0x2030307 "" "" ""

str controls = "3 4 5 6"
str e3 e4 e5 e6
if(!ShowDialog("Upitnik2" 0 &controls)) ret

_s=e3; _s.setfile("C:\abc\item.txt")
_s=e4; _s.setfile("C:\abc\time.txt")
_s=e5; _s.setfile("C:\abc\quantity.txt")
_s=e6; _s.setfile("C:\abc\number.txt")


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)