Home » Developer & Programmer » Forms » Want To Change Display Item Color (Form6i)
Want To Change Display Item Color (Form6i) [message #117589] Thu, 28 April 2005 06:56 Go to next message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

Requesting following codes For Display Item of Form6i

When_Mouse_Enter (item color change “become red etc”)
When_Mouse_Enter (a sound run “i.e. a .wav file”)
When_Mouse_Leave (Original color recover)

Wishes
Jawad



Re: Want To Change Display Item Color (Form6i) [message #117672 is a reply to message #117589] Thu, 28 April 2005 16:13 Go to previous messageGo to next message
ramisy2k
Messages: 150
Registered: April 2005
Senior Member
Hello
Make two visual attributes..and select the options in it accoridng to ur choice..
In visual_attribute_1 select foreground (font colour) and background colour of your choice (red)...and do the same for visual attribute 2...

in visual attribute 2 choose the default colour which u want for ur display item ..

now create a when-mouse-enter trigger on ur display item...
and paste this code there..

set_item_property ('ur_display_item_name',CURRENT_RECORD_ATTRIBUTE,'v_atribute_1');


create another trigger when-mouse-leave trigger on ur display item...and paste this code there..

set_item_property ('ur_display_item_name',CURRENT_RECORD_ATTRIBUTE,'v_atribute_2');

Regards,
Asim.

Re: Want To Change Display Item Color (Form6i) [message #117706 is a reply to message #117589] Fri, 29 April 2005 01:34 Go to previous messageGo to next message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

Dear Asim

Happy to see some one helping me from my own country.

Thanks it really worked well.

I pray GOD will give you more knowledge for yourself and others.

What about sound. Can you or some one else help for sound generation?

Wishes
Jawad
Re: Want To Change Display Item Color (Form6i) [message #117715 is a reply to message #117589] Fri, 29 April 2005 03:30 Go to previous messageGo to next message
ramisy2k
Messages: 150
Registered: April 2005
Senior Member
Jawad,

thanks for your wishes.
I dont have any clue yet of how to run the sound file.
Hope any one would answer this here..
regards,
Asim.
Re: Want To Change Display Item Color (Form6i) [message #118059 is a reply to message #117589] Mon, 02 May 2005 20:21 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Can you run the sound via a 'host' command? Have a look at the ora_ffi package.

David
Re: Want To Change Display Item Color (Form6i) [message #118109 is a reply to message #117589] Tue, 03 May 2005 02:35 Go to previous messageGo to next message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

Dear

I cant run sound from host.
please provide solution when you got time.

Wishes
Jawad
Re: Want To Change Display Item Color (Form6i) [message #118112 is a reply to message #117589] Tue, 03 May 2005 02:44 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Did you look at ora_ffi?

David
Re: Want To Change Display Item Color (Form6i) [message #118125 is a reply to message #117589] Tue, 03 May 2005 03:13 Go to previous message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

No
Sorry
I will look it and then come back.

Wishes
Jawad
Previous Topic: Max. columns in Unique Constraint
Next Topic: BLOB data is not showing on Query.
Goto Forum:
  


Current Time: Thu Sep 19 16:12:40 CDT 2024