I found all this about D3 with regards to binding, do I need all of this
in D5?
class TButtonXControl = ...;
...
private
FPropNotifySink: IPropNotifySink;
end;
procedure TButtonXControl.InitializeControl;
begin
FConnectionPoints.CreateConnectionPoint(IPropNotifySink,
PropNotifySinkConnect);
FDelphiControl.OnChanged := OnChangedEvent;
FDelphiControl.OnChanging := OnChangingEvent;
end;
procedure TButtonXControl.PropNotifySinkConnect(const Sink: IUnknown);
begin
if Sink <> nil then
OleCheck(Sink.QueryInterface(IPropNotifySink, FPropNotifySink))
else FPropNotifySink := nil;
end;
procedure TButtonXControl.Set_Caption(const Value: WideString);
begin
FDelphiControl.Caption := TCaption(Value);
end;
procedure TButtonXControl.OnChangingEvent( Sender: TObject );
begin
if FPropNotifySink <> nil then
if FPropertyNotifySink.RequestEdit( DISPID_CAPTION ) = S_FALSE then
OleError( CTL_E_SETNOTPERMITTED );
end;
procedure TButtonX.OnChangedEvent( Sender:TObject );
begin
if FPropNotifySink <> nil then FPropNotifySink.OnChanged(
DISPID_CAPTION );
end;
-----Original Message-----
From: Jason Coley
Sent: Friday, 27 July 2001 9:26
To: Multiple recipients of list delphi
Subject: RE: RE: [DUG]: ActiveX control not binding?
Well I found the bindalbe parts in the type library, but its still not
binding!?
-----Original Message-----
From: Jason Coley
Sent: Friday, 27 July 2001 9:02
To: Multiple recipients of list delphi
Subject: RE: [DUG]: ActiveX control not binding?
I just received an email from another group telling me that Delphi does
not make properties by default binadable, so how would I do this
manually?
-----Original Message-----
From: Jason Coley
Sent: Wednesday, 25 July 2001 2:32
To: Multiple recipients of list delphi
Subject: RE: RE: [DUG]: ActiveX control not binding?
Is there anything I need to know to make a control update its binding
with the application that runs it?
-----Original Message-----
From: Jason Coley
Sent: Wednesday, 25 July 2001 10:45 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: ActiveX control not binding?
Does anyone know anything about a problem like this? Or maybe help with
a solution?
Jason
-----Original Message-----
From: Jason Coley
Sent: Tuesday, 24 July 2001 10:02 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: ActiveX control not binding?
Hi,
I have made an activeX form that has two controls, one is the DevX
calendar control and one is a combo box. I am making a date/time control
similar to how Outlook does it, for use in Outlook custom forms. Now I
set a value (TDateTime) using the two controls, but for some reason I am
having difficulty with the control, as it doesn't seem to bind to date
time fields in Outlook?
Has anyone had any experience with Outlook and activeX controls? Or
maybe have a look at the control code to see if I am doing anything
wrong?
Regards
Jason Coley
Manawatu Software Solutions
http://www.software-solutions.co.nz
<http://www.software-solutions.co.nz/>
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/