Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Emerson Reed
  Where is Emerson Reed?
 Americana - SP
 Brazil
 Emerson Reed
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: Themedcontrols Problem
Thread ID: 373171 Message ID: 373260 # Views: 51 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Wednesday, March 20, 2013 12:31:09 PM         
   


> > Hi Tariq.
> > Sorry, my fault!
> >
> > Edit ThemedTitlePage class (in ThemedControls.vcx).
> > Select Class > Member Data Editor in VFP main menu.
> > Select Picture24 property.
> > Change the Script to:
> >
> >
> > Local aControl[1]
> > If Aselobj(aControl) = 0
> >    If Aselobj(aControl, 1) = 0
> >       Return
> >    Endif
> > Endif
> > aControl[1].Picture24 = Getpict()
> > Return
> > 

> > Click OK.
> >
> > Emerson Santon Reed
> > "One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
>
> Hi Emerson,
>
> not very clear what you want to change.
> The Picture property right now has no value ( .F.)
> How can you put this script in a property? I can only manage in a method :(
> or do you want to change the script in picture24_assign ? in which I presently find:
>
>
> Lparameters vNewVal
> This.Picture24 = m.vNewVal
> This.TitleContainer.Picture24 = m.vNewVal
> 

>
> Regards,
>
> Koen
> ** The coding in VFP without using mDot should be qualified as recreational **

Hi Koen.
Use MemberData Editor to add a Script to be run when you double click the property.

Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd

ENTIRE THREAD

Themedcontrols Problem Posted by Tariq Mehmood @ 3/19/2013 9:44:33 AM
RE: Themedcontrols Problem Posted by Rick Hodgin @ 3/19/2013 12:14:29 PM
RE: Themedcontrols Problem Posted by Emerson Reed @ 3/19/2013 12:37:20 PM
RE: Themedcontrols Problem Posted by Tariq Mehmood @ 3/19/2013 2:44:35 PM
RE: Themedcontrols Problem Posted by Tariq Mehmood @ 3/19/2013 4:34:58 PM
RE: Themedcontrols Problem Posted by Emerson Reed @ 3/19/2013 5:32:02 PM
RE: Themedcontrols Problem Posted by Tariq Mehmood @ 3/19/2013 6:28:52 PM
RE: Themedcontrols Problem Posted by Emerson Reed @ 3/20/2013 12:28:30 PM
RE: Themedcontrols Problem Posted by Tariq Mehmood @ 3/20/2013 2:49:07 PM
RE: Themedcontrols Problem Posted by Emerson Reed @ 3/20/2013 5:31:32 PM
RE: Themedcontrols Problem Posted by Koen Piller @ 3/20/2013 12:01:40 AM
RE: Themedcontrols Problem Posted by Emerson Reed @ 3/20/2013 12:31:09 PM
RE: Themedcontrols Problem Posted by Koen Piller @ 3/20/2013 5:04:51 PM