Página 1 de 2

DialogEX.TimedCustomMessage

Publicado: 30 Abr 2011 01:23
por abood1987
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:

Re: DialogEX.TimedCustomMessage

Publicado: 30 Abr 2011 09:39
por Ceone
----------------------------------------------------------------
-- 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:

Re: DialogEX.TimedCustomMessage

Publicado: 30 Abr 2011 13:02
por carsonzillo
no sabia que existia esta funcion XD

Re: DialogEX.TimedCustomMessage

Publicado: 30 Abr 2011 14:37
por rafaxplayer
carsonzillo escribió:no sabia que existia esta funcion XD
No es una funcion de ams , es una dll

Re: DialogEX.TimedCustomMessage

Publicado: 01 May 2011 12:52
por abood1987
Your style is very beautiful @ I learned a lot from you @ Example in the very magnificence

Thank you very much
.... Mr\Ceone
Imagen

Re: DialogEX.TimedCustomMessage

Publicado: 11 May 2011 02:51
por erickdj
;)

Re: DialogEX.TimedCustomMessage

Publicado: 27 Ago 2011 18:09
por usamakey
tnks m8

Re: DialogEX.TimedCustomMessage

Publicado: 29 Sep 2011 09:20
por bumbo
bravo

Re: DialogEX.TimedCustomMessage

Publicado: 30 Sep 2011 17:13
por dangngocnguyenit
oh. thanks.

Publicado: 14 Abr 2013 11:46
por trustman
goood
nice

Publicado: 14 Abr 2013 18:27
por tam
thanks.

Publicado: 14 Abr 2013 23:51
por sattel
Probandooooo.......

Publicado: 14 May 2013 10:23
por nolram
gracias..

Publicado: 23 May 2013 15:32
por geneus
thanks Ceone

Publicado: 23 May 2013 16:19
por Ceone
re up...

HIDE: ON
Hidebb Message Hidden Description

Publicado: 23 May 2013 22:30
por abood1987
Ceone escribió:re up...
thanks Ceone ;)

Re: DialogEX.TimedCustomMessage

Publicado: 01 Oct 2014 00:12
por pepelepev
Gracias

Re: DialogEX.TimedCustomMessage

Publicado: 30 Oct 2015 22:01
por samirmax2222
thankssssss

Re: DialogEX.TimedCustomMessage

Publicado: 04 Abr 2017 13:45
por kantigo
i will try this also.. thanks

Re: DialogEX.TimedCustomMessage

Publicado: 07 May 2018 20:26
por THEBEST1
Thank you, thank you abood1987