Home » Developer & Programmer » Forms » changing alert property at runtime
changing alert property at runtime [message #85040] Tue, 25 May 2004 00:20 Go to next message
pinky
Messages: 26
Registered: May 2002
Junior Member
i have a alert name alt_ok
i want to set its background colour
to black on some conditions at RUNTIME
how to do ..

send any example ;;
Re: changing alert property at runtime [message #85043 is a reply to message #85040] Tue, 25 May 2004 00:40 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
You cannot change the Color of ALERT at runtime.
You can only chnage the Message & Title of Alert at runtime.

Regards
Himanshu
Re: changing alert property at runtime [message #85046 is a reply to message #85040] Tue, 25 May 2004 01:46 Go to previous message
Anupam
Messages: 62
Registered: July 2001
Member
sorry Pinky u cant change the background color of alert.

but u can change some property of alert at run time.
as follows
changing message at run time

set_alert_property('alert_name',alert_message_text,'ur message');

changing button label
for changing the button u have to give the constant as want to change the first button then alert_button1 or second button alert_button2 and so on

set_alert_button_property('alert_name',alert_button1,label,'YES');

and third and last u can change the title of alert
set_alert_property('alert_name,title,'UR_TITLE');
Previous Topic: imeediate required.
Next Topic: Hide Button
Goto Forum:
  


Current Time: Wed May 01 10:26:19 CDT 2024