Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / How to bring a control to the front

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. How to bring a control to the front
#691
Posted by: haton 2002-12-04 23:11:40
I use a form with several overlapping Qpanels on it.
How can I bring a given Qpanel to the foreground, i.e. have it appear in front of the others (when it is clicked, for instance).

Hope someone can help -- Thanks

H.
Message2. OnPaint
#692
Posted by: guidance 2002-12-05 08:35:33
Just an idea:
When it is clicked, set a flag in panel.tag and on the OnPaint event handler of QForm, check this flag to know which panel is the top one and draw it latest.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-10-3  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0