SIP and anchoring

C

Cocotteseb

Hello,

I wonder if we can use anchoring with SIP panel.

Indeed I have a button "next" (in example) at the bottom right of the
form which is covered by the SIP (input) panel when it is activated.
Anchoring seems great because the button is placed at the correct
location in portrait and landscape mode. However when the SIP panel is
activated I do not want to have the button hidden by the SIP. But
anchroring for the button seems having no effect with the SIP.

Am I missing something?
Thanks in advance :)
 
D

Daniel Moth

You could place the button (and indeed all other controls on the form) in a
panel with AutoScroll=true. Continue to use anchoring as you do (but now
relative to the panel edges). When the SIP gets shown, catch the
InputPanel.EnabledChanged event and resize your panel accordingly.

Cheers
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top