Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i modifty or create a ICON file
Message
From
28/09/2000 09:48:15
 
 
To
28/09/2000 08:19:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00421958
Message ID:
00422001
Views:
12
>I want to put a Logo at VFP Window ( on left-top ).
>i use command _SCREEN.ICON = "??.ICO"
>( then add THISFORM.ICON = _SCREEN.ICON into every FORM.INIT )
>
>How can i coding for one command line only, no need to coding in every
>FORM.INIT ??
>

You can create a form class like this:


define class myForm as form
thisForm.icon = _screen.icon
enddefine


You can do the same thing in Class Browser (storing your class in a VCX). Then, when you create new forms, use your form class. You can make your life a lot easier by doing this with every control, so you can easily make changes to default behaviors.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform