Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Using MS ActiveX RICHTEXT.RichtextCtrl.1
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Tilo Wünsche

Posts: 2
Registered: 1/23/06
Using MS ActiveX RICHTEXT.RichtextCtrl.1
Posted: Jan 30, 2013 6:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I try to use drag and drop in a MatLab application using the MS ActiveX RICHTEXT.RichtextCtrl.1.

As long I put all code to a sample figure all works fine. For convenience reason I would like to use the guide. I just implemented the necessary code like below. When I try to drag a file to the ActiveX it will be handled by the ActiveX itself, e.g. the file will show up as attachment to the ActiveX. My function is not called.

Has anybody an idea to solve this problem?

function uhu_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to iTecLogfile (see VARARGIN)
handles.output = hObject;
%handles.activex1.registerevent({'KeyUp', @richtextKeyUp});
handles.activex1.registerevent({'OLEDragDrop', @richtextOLEDragDrop});
set(handles.activex1,'OLEDropMode','rtfOLEDropManual');

% Update handles structure
guidata(hObject, handles);
data = struct();
setappdata(handles.figure1,'data',data);



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.