Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,006 of 2,978    |
|    Markus Humm to All    |
|    TVision problem with some sort of encaps    |
|    29 Sep 04 15:34:21    |
      From: markus.humm1@freenet.de              I want to do the following with TP/BP 7.0 TVision, but       it doesn't work:              - write a separate unit       - this unit contains a simple dialog with some text and 3 buttons       - this dialog should be callable via this simple function:        function mydialog(dtext:STRING):BYTE; all calls necessary for        handling the dialog should be inside this function.              My problem is now, that ExecuteDialog is a method from TProgram.       What problems do I get if I simply set up some object reference       to tprogram and run this ExecuteDialog from that? The program which       will be using this unit already has such a reference since it is already       a full TVision GUI.              How do I get this dialog into this function WITHOUT tieing it to the       main program? Or how would I pass the reference to TProgram of the main       program to this function so that I could execute the ExecuteDialog method       of it?              Greetings              Markus              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca