activex and form accsess error

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Kullanıcı avatarı
mia
Üye
Mesajlar: 239
Kayıt: 17 Nis 2015 02:18

Re: activex and form accsess error

Mesaj gönderen mia »

the problem is i will use main1 as loader to my application so it will have nothing inside only property , and i will make my main2 the real application that can pass data to , main3 , main4, main5 etc . you get my point ?
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Re: activex and form accsess error

Mesaj gönderen mrmarman »

This is also what I decribed before. If you change your decision borderless form to border visible form then there is no problem.

Otherwise you have to organise your events to do things for you on Main ActiveX form.
Resim
Resim ....Resim
Kullanıcı avatarı
mia
Üye
Mesajlar: 239
Kayıt: 17 Nis 2015 02:18

Re: activex and form accsess error

Mesaj gönderen mia »

there is no solve other than this ? :( its the final step of the application , i see every thing works fine with second form method , iam not able to show even second form inside main activex form ? without this other internet explorer windows and this missed out position
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Re: activex and form accsess error

Mesaj gönderen mrmarman »

what did you wanted but could not to do in mainform (if it is a activexform) ?

May be a new view angle you find best solution.
The activeX applications has a dynamic, may be you want to extend that ability.
Resim
Resim ....Resim
Kullanıcı avatarı
mia
Üye
Mesajlar: 239
Kayıt: 17 Nis 2015 02:18

Re: activex and form accsess error

Mesaj gönderen mia »

if it ActiveX Form i could not add any thing to its control you know "nasa" and embeddedwb staff set element or string or even pass data to it will be not possible, also i will not have events like TForm does on showevent as example , many things forced me to use Tform , and you know we used tactivexForm to allow only application running then show forms
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Re: activex and form accsess error

Mesaj gönderen mrmarman »

Then would you like to show your second form in a panel on ActiveX Control ?
Try this.

- Place a new TPanel on to ManinForm ( ActiveX main1 )
- Update the code below, sit back and watch whats happening. may be this is what you wanted to do... :wink:

Kod: Tümünü seç

procedure Tmain1.FormShow(Sender: TObject);
begin
  Application.CreateForm( Tmain2, main2 );
  Panel1.Align := alClient;
  Main2.Parent := Panel1;
  Main2.Left := 0;
  Main2.Top  := 0;
  Main2.Align := alClient;
  Main2.Show;
//  with detailedinfo.MyRecord do
//      showmessage(name + tell);
//  With detailedinfo.MyRecord do
//    Label1.Caption := name + tell;
end;
Resim
Resim ....Resim
Kullanıcı avatarı
mia
Üye
Mesajlar: 239
Kayıt: 17 Nis 2015 02:18

Re: activex and form accsess error

Mesaj gönderen mia »

omgggggggggggggggggggg you are bossssssss you are delphi gunnnnnnnnnnnnn i thank youuuuuuuuuuu mrmarman i love you mannnn
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Re: activex and form accsess error

Mesaj gönderen mrmarman »

you're welcome. :D
for us, well done.
Resim
Resim ....Resim
Cevapla