Jump to content

Underground


Recommended Posts

Hi,

I'm making a new program to help people get around the london underground (A big train network) and needed some help, so ive come to you guys, so far i've got:

#include <GuiConstantsEx.au3>
#include <AVIConstants.au3>
$destination = "mylogo.jpg"

SplashImageOn("", $destination, 200, 100, -1, -1, 1)
Sleep(5000)
SplashOff()

GuiCreate("Underground", 400, 400)



GuiCtrlCreateMenu("File")
GuiCtrlCreateMenu("Help")

$contextMenu = GuiCtrlCreateContextMenu()
GuiCtrlCreateMenuItem("Context Menu", $contextMenu)
GuiCtrlCreateMenuItem("", $contextMenu);separator
GuiCtrlCreateMenuItem("&Properties", $contextMenu)




GUIStartGroup()
GuiCtrlCreateList("", 5, 190, 100, 90)
$From = GuiCtrlSetData(-1, "Station1|Station2|Station3, "Station1")


GuiCtrlCreateList("", 295, 190, 100, 90)
$To = GuiCtrlSetData(-2, "Station1|Station2|Station3", "Station2")

GuiSetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
WEnd

What id like is a London underground map (I know how to do this. just i need help finding one, i need the one that you see ON the train, with only about 20/30 stops, if people know what im describing).

I would also like help on a button in between the two lists, and an output at the bottom.

The output will put together the to and from, and come up with a number, so to tell you how long it should take to get from one to the other, I only have 3 stations ATM, so it only has to be simple.

Hope you can help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...