1. Please leave this question open to other experts - thanks!
3. I asked a simular question here
but I'm running out of time.
Lets say I want to write two ActiveX controls which are embedded in a html form. The first one is a TDateTimePicker to select a date and the second one is a SpinEdit which calculates a duration related to the date.
Sample html page:
<form method="post" action="http://myserver/mycgi
my statement: <input size=12 name="statement">
my birthday: <my ActiveX TDateTimePicker>
my age: <my ActiveX SpinEdit>
After the user enters the birthday the second ActiveX (SpinEdit) should automatically calculate the age.
The problems are:
1. How do I send the data from the ActiveX back to the html form.
2. How do I communicate from one ActiveX to the other.
I found these two links but I don't understand it (I have only very minor C++ and VB knowledge).
Accessing the Object Model from Within an ActiveX Control
Enumerate OLE and VB Controls from an OLE Control
I would like to have some sample delphi code - thanks.