Autor Beitrag
qball
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Mi 03.12.03 13:51 
Wie kann ich eine Prozedur aufrufen, deren Quelltext sich in einem anderen Formular befindet, ohne den Text zu kopieren??
Spurius
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 142

Win XP Home
D3 Prof, D7 Prof
BeitragVerfasst: Mi 03.12.03 14:09 
Hallo,
binde die unit wo die prozedur steht in deinen code ein und schreib dann z.B. form2.procedure
Hoffe, hab nichts falsches gesagt, aber eigentlich müssts gehen.
Gruß
Spurius
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Mi 03.12.03 18:48 
geht aber nur, sofern die Form2 auch erstellt wurde (create())

Lager doch die benötigte Funktion in eine separate Unit aus, dann kannst du von jedem anderem Modul zugreifen, ohne die entsprechende Form zu instantiieren.
grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?