Conversation

Shortcuts don't work in docked form

(overview of excerpts from articles in conversation)

Newsgroup: borland.public.delphi.vcl.components.using

# Lines
wrote on 24-Jan-2001:

Hello,
I have two forms: a main form and a child form that's generic form and it is
docked into the main form by use of ManualDock. In the child form, there's
action list, and its actions are assigned some shortcuts. It turns that when
the child from is embedded into the main form, its (child's) shortcuts do
12
  
Peter Below (TeamB) replied on 25-Jan-2001:

In article <94nqf5$✉bornews.inprise.com>, Ruslan Popov wrote:
  (snip)

The VCL is not designed to expect actionlists on controls, and if you dock a
  form to another form it becomes a control. The effect is that a control on the
  embbed form that calls GetParentForm to get a reference to its parent form
  will get the "outer" form back, not the embedded form. This is of relevance
98
    
Ruslan Popov replied on 26-Jan-2001:

Peter,
    Thanks for the information. Maybe, there's another solution. In my case, all
    actions in the form being docked have corresponding menu items. I think if I
    merge the menu of the docked form to the main form's menu, embedded actions
    shortcuts must work, because merged menu items' shortcuts become (in idea)
17
      
Peter Below (TeamB) replied on 26-Jan-2001:

In article <94qf2o$✉bornews.inprise.com>, Ruslan Popov wrote:
      (snip)

Hm, i would have expected this to work. No time to dig into this problem
      today, sorry.
      Peter Below (TeamB) ✉compuserve.com)
      No e-mail responses, please, unless explicitly requested!
15
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Thu, 28 Mar 2024 14:09:51 UTC
Copyright © 2009-2024
HREF Tools Corp.