Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Size keyword & syntax error
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00863045
Message ID:
00863071
Views:
13
>I have an active x that has a defaultFont object
>
>you would normally set the like so
>
>
>with .defaultMenuFont
> .name = "Tahoma"
> .Size = 8
> .weight = "bold"
>endw
>
>
>
>but vfp refuses to execute the command with size in it it says syntax error
>
>BUT in the watch window:
>
> .defaultMenuFont.Size      $      9
>
>
>and if i change it in the watch window it changes fine and the font is now a different size ???
>
>
>I even tried to fool it with:
>
>
>EVALUATE( ".defaultMenuFont.Siz" + "e =  7" )
>
>
>no dice....
>
>Anyone dealt with this before ??
>
>TIA

Greg, have you tried setting the size by specifying the complete object reference ie. not using WITH...ENDWITH? Just a WAG...
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform