SIP and anchoring

  • Thread starter Thread starter Cocotteseb
  • Start date Start date
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 :)
 
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
 
Back
Top