when button pressed [message #221906] |
Wed, 28 February 2007 23:58 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ashishkumarmahanta80
Messages: 231 Registered: October 2006 Location: kolkatta
|
Senior Member |
|
|
hello all
i generate a canvas, on which i placed a button
then i pressed F11 for pl/sql editor.
in which i wrote pl/sq block after compiling i run this
(cntr +r) but didnt get anything
means i want display message when button is pressed.
tell me what i did wrong
regards
-
Attachment: hish.bmp
(Size: 931.66KB, Downloaded 845 times)
|
|
|
Re: when button pressed [message #221950 is a reply to message #221906] |
Thu, 01 March 2007 04:46 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
scorpio_biker
Messages: 154 Registered: November 2005 Location: Kent, England
|
Senior Member |
|
|
Looks OK to me.
You say you get nothing but it depends what you are expecting. The message built-in displays the text on the message line, which is at the bottom of the screen.
If you want a pop-up you need to use an alert.
Do you have a screen print after you have clicked on the button?
|
|
|
|
Re: when button pressed [message #222063 is a reply to message #221906] |
Thu, 01 March 2007 10:20 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
scorpio_biker
Messages: 154 Registered: November 2005 Location: Kent, England
|
Senior Member |
|
|
I'm not sure I'm following you now. In your first post you said you get nothing, now you are saying you get an error.
Your code is OK, it will display a message at the bottom of the screen when you press the button.
If you have a look at my image the message 'FRM-41800: List of values not available for this field' is displayed right at the bottom of the screen. This is where 'message' displays. Have you checked that your message is not there?
-
Attachment: test3.gif
(Size: 27.90KB, Downloaded 751 times)
|
|
|