Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Icons
Message
From
14/07/2003 12:03:28
 
 
To
10/07/2003 15:51:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00808990
Message ID:
00809866
Views:
23
This might be a solution if you have an application object.
oApp = createobj('classMyAppFramework') && framework object
oApp.NewFormIcon = _screen.Icon        && store the current icon to a property
read events
...
oNewForm = createobj('myGenericForm')
oNewForm.Icon = oApp.NewFormIcon
HTH.


>Is there a way to link the icon property of a form to the icon attached to the project without hardcoding the icon name and location?
>
>For example, I have a class that generates a generic form. I would like the forms icon to be the same as the project that it is currently associated with without having to do something like fmrGeneric.icon = 'c:\project\graphics\icon.ico'
>
>Hope this makes sense.
>
>Thanks in advance for your help,
>
>Russell
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform