Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


popup window - hidden menu object

popup window - hidden menu object

popup window - hidden menu object

Good day fellow powerbuilder-ers

I have a challenge - we want [<F1> help] coverage across our application. To be available everywhere. We have already a menu within our main mdi! window.

We have other window types we also want <F1> to be used. Response windows we seem to have working by using a descendant menu that is hidden in design and also hidden in code for each menuitem. (still minor modifications needed but within my capabilities)

Our problem is the popup window type. It appears the only MenuName it will accept is the standard property item. I can not code similar solution to what we have in the response windows.

Setting this property allows me to access <F1> which is nice.

The big issue I have is when the popup closes. it seems when another window inside our main mdi! window is opened we have problem accessing the expected menu object unless we load it ourselves on the activate event.

Is there any other way to simply get <F1> working when the popup window has focus???

Thank you in advance for any helpful responses!


RE: popup window - hidden menu object

In your popup window, look at the "key" event. You could trap it there with something like IF KEY = KeyF1! THEN....

RE: popup window - hidden menu object

Hi there

That is a different angle to try. I will need to trap also in any datawindow objects but for this window type it just might work.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close