19 mensajes Página 1 de 1
Hello

Imagen

How to customize the another function of button in
DialogEX.TimedCustomMessage
For example I want the button opens a Web page instead of hiding the message
How can I do this ?
any example .apz ___ Please


Sorry for the lack of my experience
:hypno: :hypno: :hypno:
Imagen
----------------------------------------------------------------
-- DialogEX.TimedCustomMessage()
----------------------------------------------------------------
--[[ Presents a dialog to the user With an timed informative message on it,
the user has xx amount of seconds to click a button.

-------------
| Arguments |
-------------
Below is a list of the function arguments (In order)

string Title = The title of the dialog window.
string Message = The text that will appear on the dialog.
number Align = Where To align the message text. (See Constants: "Dialog Text Align")
string ButtonText = A delimited string of the button titles, from 0 To 3 buttons
("Button1" = 1 button)
("Button1|Button 2" = 2 buttons)
("Button1|Button 2|Button 3" = 3 buttons)

number TimedButton = The index of the button that will dispaly the countdown timer.
(1 = 1st button)
(2 = 2nd button)
(3 = 3rd button)
(set to 0 to not display the countdown timer)

number ForcedReturn = Forced Return For when the dialog timesout (counter reached zero), this is to force the return of the selecded button if the dialog timesout.
(-1 = "CANCEL")
(0 = no forced Return, "TIMEOUT" is returned)
(1 = "BUTTON1")
(2 = "BUTTON2")
(3 = "BUTTON3")

number Time = The time in miliseconds to show the dialog,
the count down will be displayed in the button set in "TimedButton".

number Width = The width of the dialog.
number Height = The height of the dialog.
number Display = Where To display the dialog on the screen. (See Constants: "Display type")
number X = The X position of the dialog, (Ignored unless Display is set To DEX_SHOW_CUSTOM).
number Y = The Y position of the dialog, (Ignored unless Display is set To DEX_SHOW_CUSTOM).
number BackCol = The background color of the dialog. (Use -1 to disable else any decimal color)
number FrontCol = The background color of the dialog. (Use -1 to disable else any decimal color)
number WinType = What style To apply To the window. (See Constants: "Dialog Type")
number IN = How To show the dialog. (See Constants: "Dialog Animation")
number DELAY = The time of the transition in miliseconds.
number OUT = How To exit the dialog. (See Constants: "Dialog Animation")
number Timeout = How long To display the dialog for in miliseconds, (set To 0 To disable).
This can be used to end the dialog if the user takes to long to respond.
For a more detailed custom timer see DialogEX.TimedCustomMessage()
--------------------
| Return (String) |
--------------------

Button 1 = "BUTTON1"
Button 2 = "BUTTON2"
Button 3 = "BUTTON3"

If the Timeout is reached then the result of "ForcedReturn" will be returned, see notes above
Exit button on window returns "CANCEL".
]]


result = DialogEX.TimedCustomMessage("Notice", "Your message here.", DEX_ALIGN_CENTER, "OK", 1, 0, 10000, 300, 80, DEX_SHOW_APP, 0, 0, 14215660, 0, DEX_NORM, DEX_NO, 1000, DEX_NO);
if (result == "BUTTON1") or (result == "TIMEOUT") then
        -- HERE PUT YOUR CODE
end
Parsed in 0.002 seconds, using GeSHi 1.0.8.9


and here is full example:
Contenido Oculto: ON
	<br />Usted necesita responder en este tema para ver el contenido oculto.


if u have more doubts about this dll see the help files... :yes:
no sabia que existia esta funcion XD
carsonzillo escribió: no sabia que existia esta funcion XD

No es una funcion de ams , es una dll
Your style is very beautiful @ I learned a lot from you @ Example in the very magnificence

Thank you very much
.... Mr\Ceone

Imagen
Imagen
;)
tnks m8
[Izzedin Al Qassam Group]
bravo
oh. thanks.

goood
nice

thanks.

Probandooooo.......
Sattel desde Amalfi Antioquia Colombia
Medellin Colombia
La ciudad mas innovadora del mundo!!!!!!!!

gracias..

thanks Ceone
lo siento por la mala traducción de Google..!!

re up...

Contenido Oculto: ON
	<br />Usted necesita responder en este tema para ver el contenido oculto.

Ceone escribió: re up...


thanks Ceone ;)
Imagen
Gracias
thankssssss
i will try this also.. thanks
19 mensajes Página 1 de 1

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado

cron