dbTalk Databases Forums  

VFP8 :: ICONs and .FKY Files

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP8 :: ICONs and .FKY Files in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin Willis
 
Posts: n/a

Default VFP8 :: ICONs and .FKY Files - 11-04-2003 , 11:21 PM






Two problems...

#1
I try to set the application ICON for a final .EXE
and it is not set for some reason.

#2
Also, after exiting the .EXE application, I sometimes
notice files with a ".FKY" being created. How do I get
rid of those or prevent them from being created?

- Kevin Willis
klwillis.dsl (AT) verizon (DOT) net
ICQ:32805500




Reply With Quote
  #2  
Old   
Bogdan Zamfir
 
Posts: n/a

Default Re: VFP8 :: ICONs and .FKY Files - 11-05-2003 , 11:34 AM






Hi,

Quote:
#1
I try to set the application ICON for a final .EXE
and it is not set for some reason.
The icon for tyhe exe should be set in Project manager -> Attach icon.
The icon file should contains two icons : one 16 x 16, and one 32 x 32.
The small one is use when small icons are shown (as in Explorer, in List or
Details mode), while the big one is shown in other situations (in shortcuts,
start menu, etc).

If you want to set the icon for VFP main form (supposing you use VFP own
window as application main form), you have to use the following code:

_screen.icon = <path to your ICO file>
You can also include the ICO in the exe.

Quote:
#2
Also, after exiting the .EXE application, I sometimes
notice files with a ".FKY" being created. How do I get
rid of those or prevent them from being created?
FKY file is for keyboard macros
Have you made your application using VFP build-in application wizard? If so,
that's why you get that fuile, because this wizard create also a menu entry
for keyboard macros, which are saved to this file when you exit the
application.

To get rid of it, you should change the default menu of the application to
remove Macro menu, and change the code to overwrite the method who load and
save those macros, with empty method.

HTH,
Bogdan




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.