Einzelnen Beitrag anzeigen

Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: [c++] Auf anderes Formular zugreifen.

  Alt 29. Nov 2006, 20:45
Von kreuzweisen Formularzugriffen halte ich nichts.

Was spricht dagegen:

Code:
hform^ Hform = gcnew hform;
Hform->Property1 = ...
Hform->Property2 = ...
if Hform->ShowModal(); // gibts hier ShowModal?
{
  MyLocalVar1 = Hform->Property1;
  ...
}
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat