Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control to display formatted text
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01108311
Message ID:
01135437
Views:
10
I wanted to make my own class based on ActiveX MS Web Browser control.
But I have two problems while putting objects on a form:
- If I'm making it based on Web Browser control then instance of that object appears in the left upper corner of a form, while it was set to other position
- if I'm putting MS web control into container class, then I have to click on container to show it on the form, because it is not shown when form is running.

What I'm doing wrong?
Giedrius
>You can use Web Browser control. Drop it on a form and add NODEFAULT to Refresh() method. See Re: Possible to feed html to Explorer ole rather than url? Thread #930769 Message #930771 for some sample code.
>
>>
>>I need control which would help me to show formated (non-editable) text.
>>I found RichText ole control, but it is for user's input, not for showing output.
>>I think there should be something related with html.
>>for example:
>>
>>ThisForm.oControl.text = "Label: <b>Value</b><br>Label2: <i>Value2</i>"
>>
>>... and I see on my form:
>>Label: Value
>>Label2: Value2
>>
Giedrius
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform