Jump to content

Ayuda con botón


Recommended Posts

Necesito ayuda como hago para que se me muestre otra ventana en una misma forma del koda al presionar el botón que pone "siguiente". A como hago para crear más de una ventana en la misma forma

Mi código es:

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 704, 447, 193, 125)
$Pic1 = GUICtrlCreatePic("C:\Documents and Settings\CASA2\Mis documentos\Mis imágenes\Dibujot.bmp", 16, 8, 105, 417, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Label1 = GUICtrlCreateLabel("Bienvenido al asistente de instalación de Pokemon Cobre", 128, 8, 552, 32)
GUICtrlSetFont(-1, 16, 400, 0, "Palatino Linotype")
$Label2 = GUICtrlCreateLabel("Este asistente instalará Pokemon Cobre en su ordenador", 176, 80, 382, 26)
GUICtrlSetFont(-1, 12, 400, 0, "Palatino Linotype")
$Button1 = GUICtrlCreateButton("Salir", 416, 392, 129, 33, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Palatino Linotype")
$Button2 = GUICtrlCreateButton("Siguiente", 560, 392, 129, 33, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Palatino Linotype")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
Edited by ercarlitos
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...