BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: 2 forms in an activex.. help!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage
View previous topic :: View next topic  
Author Message
ralph
Guest





PostPosted: Thu Nov 13, 2003 11:45 pm    Post subject: Re: 2 forms in an activex.. help! Reply with quote



I should mention that the main form is an active form and the second form is
a regular form.
And..
I have managed to get the code complete to give me what I want, but
everytime I try to do anything to the main form objects, I get an access
violation :(


"ralph" <machio (AT) karatekid (DOT) com> wrote

Quote:
Hello,
I am using delphi7 and have created an activex app that runs in IE. It
has
a main form that sits on the web page. when a button is clicked, a second
form opens up outside of the application. The main form can change
properties etc of the second by normal reference (form2.button.enabled :=
false;)
However, the second form can't reference the main one. I have tried
putting
the forms (unit) name into the implementation section but I still can't
reference form1's objects.

How do you do this? I'm sure I'm missing something simple..
oh..I should mention, the form is not modal. (it didn't work when it was
either)

Thanks!






Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.