DialogEX.TimedCustomMessage

This english section.
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:
----------------------------------------------------------------
-- 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
and here is full example:
HIDE: ON
Hidebb Message Hidden Description


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
;)
tnks m8
bravo
oh. thanks.

goood
nice

thanks.

Probandooooo.......

gracias..

thanks Ceone

re up...

HIDE: ON
Hidebb Message Hidden Description

Ceone escribió:re up...
thanks Ceone ;)
Gracias
thankssssss
i will try this also.. thanks