Jump to content

Croatia - Help


Kapetan Kuka
 Share

Recommended Posts

Have to open "My Film.txt" in "GUICtrlCreateEdit" or another *.txt

------------------------------------------------------------------------------

#include <GUIConstants.au3>

GUICreate("My GUICtrlRead") ; will create a dialog box that when displayed is centered

$n1=GUICtrlCreateList ("", 10,10,-1,100 )

GUICtrlSetData(-1,"My Film.txt|New Film.txt|Compare.txt|Other.txt", "My Film")

$myedit=GUICtrlCreateEdit ("First line"& @CRLF, 275,5,125,388,$ES_AUTOVSCROLL+$WS_VSCROLL)

$n2=GUICtrlCreateButton ("Choice",10,100)

GUICtrlSetState(-1,$GUI_FOCUS) ; the focus is on this button

GUISetState () ; will display an empty dialog box

; Run the GUI until the dialog is closed

Do

$msg = GUIGetMsg()

if $msg = $n2 then

msgbox(0,"list=", GUICtrlRead($n1)) ; display the value

endif

Until $msg = $GUI_EVENT_CLOSE

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...