Thread View: fj.lang.visualbasic
1 messages
1 total messages
Started by TA
Wed, 21 Jan 1998 00:00
RichTextBox and DisplayType does not work! PLEASE HELP!
Author: TA
Date: Wed, 21 Jan 1998 00:00
Date: Wed, 21 Jan 1998 00:00
17 lines
953 bytes
953 bytes
When I use the txtObject.OLEObjects(key).DisplayType property -VB crashes.
My intention was to let the user of the application, insert multiple
OLE-objects into a RTF-box, but when I use the displayType property to set
the objects appearance to icons, the fun stops.
My wish is to start up the application (paint or whatever) in a seperate
window and not inside the RTF-box.
Here's how I do
Commandbutton1_click:
rtfBox.OLEObjects.Add , "obj1", , "Paint.Picture"
Commandbutton2_click:
rtfBox.OLEObjects("obj1").DisplayType = rtfDisplayIcon
Thanks!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads