Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One Form to Another
Message
 
To
05/12/1999 11:55:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00298054
Message ID:
00298913
Views:
23
As both a newbie and a lurker I am going to jump in here and offer MY opinion:

The constant bickering and personal attacks on the UT are becoming such a distraction that the real VALUE of the forum is lessened. And at the very root of this loss of value are highly respected, knowledgable, MVP/MCP/sysop/guru-types.

I have learned more from the forum than I did in either reading the manual or taking an accelerated course. Both Edward and John have shared valuable insight which have made my applications infinitely better. John is good at answering a question in one shot - Edward is great at walking people through an answer in several short steps. Both get to their point in their own way.

But can we all PLEASE stick to discussions and issues? Quit the personal attacks. If you disagree with an approach - state your disagreement with the IDEA and offer your approach as an alternative. The UT policy on personal stuff is clear and appropriate:

"We are extremely strict with those individuals that have an inappropriate attitude online. We will not tolerate someone who blasts other people or any such similar message. The Universal Thread is to be used for technical support. When discovered, depending on the severity of the situation, we may or not send a notice to the user. It may result in the deletion of the account, the message and/or the thread."

In this particualar thread (and believe me, the rant above is NOT limited to just this thread), both have valid ideas and approaches. I looked at this issue when deciding how to handle search button and print button windows and decided to use the modal approach. It doesn't make it better, just one that I decided to use (it made sense - and its what I learned in my accelearted course).

Let's try to keep this an enjoyable place to visit.

Thanks :)

>I have much more experience helping newbies here, than you have, so let me decide myself what is more appropriate. If you have something to say, again say this to the poster, and do not direct it to my mailbox, or moveover make some baseless evaluation of my knowledge in your messages. I know who you are, and believe me my opinion about you is completely clear, and I still do not share this opinion when I talk with other people. I guess their opinions are similar to mine.
>
>>Ed...
>>
>>You really need to clarify your posts more. Remember, there are a lot of newbies out there that may not have some of the insight you, I, or somebody else may have.... Should'nt a post reflect reality..???? Are you saying that you don't use the code you post??? Why would you post code that you would not use???
>>
>>Please explain...
>>
>>
>>
>>
>>>If you or me have more than one instance of the same form then you may either instantiate them with different names or use some custom property to identify a form repliable way. I hope you understand that in reality (i mean in real propjects I used to develop) i use more sophisticated code, I use my own form manager mechanism.
>>>
>>>>Ed....
>>>>
>>>>What happens when you have two or more instances of the same form?
>>>>Also, assuming only one instance can exist, the following code might work a bit better<s>:
>>>>
>>>>For Each oForm in _Screen.Forms
>>>> If Upper(oForm.Name)=="MYFIRSTFORM" && form found
>>>> oForm.Mymethod
>>>> Endif
>>>>Next oForm
>>>>
>>>>They say details are everything...
>>>>
>>>>
>>>>>The best way is to provide some kind of communication link between the forms. In simplified case (if the second form is modal and called from the first one) you may just return value (note) back. Also, you can pass parameter to the calling form. In more common case, when you have two modeless forms, you may force the second form (in some method) to look for the first one and call some method there, e.g.
>>>>>
>>>>>For Each oForm in _Screen.Forms
>>>>> If oForm.Name=="MYFIRSTFORM"  && form found
>>>>>   oForm.Mymethod   && do something there, e.g. cnahge textbox value
>>>>> Endif
>>>>>Endfor
>>>>>
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform