Home » Developer & Programmer » Forms » button_palette
button_palette [message #78700] Mon, 11 March 2002 11:00 Go to next message
bina
Messages: 10
Registered: December 2001
Junior Member
hi
i made a button_palette on my form,
with buttons onit, setting iconic yes,the path for icon filename are as follows along with the button name
in order to get icon pictures on them like default have

button name icon name

pb_search c:orawin95toolsdevdem20biniconrt_quer1
pb_view c:orawin95toolsdevdem20biniconrt_quer2
pb_first c:orawin95toolsdevdem20biniconrt_rec1
pb_prior c:orawin95toolsdevdem20biniconrt_rec2
pb_next c:orawin95toolsdevdem20biniconrt_rec3
pb_last c:orawin95toolsdevdem20biniconrt_rec4
pb_add c:orawin95toolsdevdem20biniconrt_radd
pb_delete c:orawin95toolsdevdem20biniconrt_rdel
pb_modify c:orawin95toolsdevdem20biniconclear
pb_save c:orawin95toolsdevdem20biniconrt_save
pb_adddet c:orawin95toolsdevdem20biniconadddet
pb_deldet c:orawin95toolsdevdem20binicondelrow
pb_exit c:orawin95toolsdevdem20biniconexit
pb_edit c:orawin95toolsdevdem20binicon ?
(don't know)
where
adddet=add detail
deldet=delete detail

no picture appeared on the buttons ,i checked the folder in the above specified path the icon folder is empty.

itried it another way wrote query inthe plsql editor of the buttons like
commit; on save button
exit_form on exit button
the icons appeared, i don't know the queries for other button. besides i don't know if this method is correct either.
can somebody help me?
bina
Re: button_palette [message #78707 is a reply to message #78700] Mon, 11 March 2002 23:44 Go to previous messageGo to next message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
developer/2000 search for the icons in the directory specified by registry variable

UI_ICON for form 6i
and
TK23_ICON for form 4.5

so update this variable in registry to "c:orawin95toolsdevdem20binicon"

and then set the icon name of the button like

button name icon name
-----------------------
pb_search rt_quer1

make sure icon file exist in the specified directory
Re: button_palette [message #78716 is a reply to message #78707] Tue, 12 March 2002 03:48 Go to previous messageGo to next message
bina
Messages: 10
Registered: December 2001
Junior Member
hi pratap kumar,
I am working on forms5 , I cannot locate the icon directory shall i go to regedit or where?
in the path "c:orawin95toolsdevdem20binicon"
icon folder is empty. how should i go about.
2. can you tell me the coding for all those buttons property palette icon filename for icons.
like "commit" is for save,"quit" is for exit
3. are there any other forums like this if so give me URL
THANKS.
BINA
Re: button_palette [message #78759 is a reply to message #78700] Thu, 14 March 2002 10:08 Go to previous messageGo to next message
m masoom
Messages: 8
Registered: June 2001
Junior Member
hello
may be i have understood ur problem, if i say yes then
u shoul make ur own icon in any graphic software like that "xara", then convert their extension in "ico" and use it in ur buttons as u want.
u may convert in "ico" with the help of "acd sea" directly, otherwise u may convert it firstly in gif in paint brush then convert it into .ico.
Re: button_palette [message #78767 is a reply to message #78759] Fri, 15 March 2002 07:50 Go to previous messageGo to next message
bina
Messages: 10
Registered: December 2001
Junior Member
hi Masoom,
you are right i might proceed this way.
if i make an icon for let's say edit,copy,cut, paste what would i write in plsql/editor to execute them like "commit;" for "save"
Re: button_palette [message #78791 is a reply to message #78759] Mon, 18 March 2002 05:01 Go to previous message
m masoom
Messages: 8
Registered: June 2001
Junior Member
hello
there is no need to hustle and bustle,just treate as u make iconic button or iconic toolbar, just save ur graphic file and give its right path in file name property. there is no need to write in plsql editor except the commands of save, commit_form etc.
Previous Topic: foreign key - continued
Next Topic: Urgent - Please reply ASAP !!!!!
Goto Forum:
  


Current Time: Tue Apr 16 00:52:56 CDT 2024