Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with IFont in VFP
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01443421
Message ID:
01443442
Views:
53
>Hi Menachem ,
>
>Can you get to the control properties?
>Maybe Re: Need Font Object Thread #767772 Message #767819 can help?
>
>>I am trying to work with the Multi Column Treeview Control published in VBAccelerator. Everything works great but the FONT property does not show up in the VFP9 property window and I am not sure why. It shows up on the VB property dialog when the control is implemented in vb6.
>>
>>The font property is based on the IFont interface (which is how I would imagine VFP does it internally as well but I am not sure).
>>
>>As a result of this, I cannot seem to change the font. If I change the font property directly, it doesn't work properly. I would have to create an IFONT instance, populate it and set the FONT property to the IFONT instance but I can't seem to do that in VFP either.
>>
>>I am attempting to work around this by exposing a property called FontName which, when set, will do the work in VB but I cannot seem to get the public property to show on the property dialogs of either VB or VFP. So, I am missing something fairly basic.
>>
>>Can anyone give me a push in the right direction here?
>>
There is no special property sheet for the control (like, perhaps, the calendar control). I do see many of the custom properties in the standard properties dialog.
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Reply
Map
View

Click here to load this message in the networking platform