Move Control Back and Forth [message #163932] |
Fri, 04 August 2006 09:47 |
Eclipse User |
|
|
|
Hello,
I have created a custom control and placed it on a composite
layout. The layout type is FormLayout. The left and top property values of
the custom control is same as the text control right behind it. The question
is how can I send the text control to front when I click the custom control
and bring the custom control to front when I click the text box control
(Something similiar to Visual Basic Z-order type of thing).
Look likes the following code does not work in the vice-versa widgeSelected
events
For textbox widgetSelected event
=============================
thisClass.sShell.moveAbove(customControl);
thisClass.sShell.moveBelow(textBox);
For customControl widgetSelected event
======================================
thisClass.sShell.moveAbove(textBox);
thisClass.sShell.moveBelow(customControl);
Is there any workaround for this or I am missing something completely
Rusty
|
|
|
Powered by
FUDForum. Page generated in 1.10934 seconds