Renda,
 The easiest way to do this is to use the
sheetmanager.  You can still use
of_sendmessage("pfc_open") after setting the
message.stringparm to "w_whatever" .  Then in the
pfc_open of your frame, use the sheetmanger to loop
through open sheets checking for the same ClassName()
.  If it finds one, you could BringToTop instead of
opening a new sheet.  Check Sharon's website
www.pfccheatsheet.com, I think she has a nice document
on this (among others <vbg>).  Let me know if you need
more help, or check the online books.

HTH,
Kevin Ridley

> From: Rendra Yap [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 21, 1999 21:27
> To: PBPFC Mailing List (E-mail); PFC mailing list
> (E-mail)
> Subject: PFCSIG How to open only a window with
> of_message()
> 
> 
> 
> I''ve a problem with opening window from menu. I
> want to open only one the
> same window.
> That why I can't use the of_message() function. If I
> use of_message()
> function, I can open the same window several times.
> but in the fact I only
> want to open that window once.
> Can you help me to solve this problem ? maybe with
> changing at of_message()
> function, I think.
> 
> And I already tried with Opensheet(), and the menu
> for first window and
> second window exactly same, If I disable m_file menu
> at first window, and I
> went to second window that menu disable too. And I
> think that menu only has
> one instance.
> 
> Regards,
> Rendra Yap
> Bussiness Development System
> PT. Surabaya Agung Industri Pulp & Kertas
> E-mail : [EMAIL PROTECTED]
> ICQ #  37557798
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH
> LIST SERVE COMMANDS, ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING
> MESSAGE:   help pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> 

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to