dbTalk Databases Forums  

Continuous Subform resize in Stacked Layout

comp.databases.ms-access comp.databases.ms-access


Discuss Continuous Subform resize in Stacked Layout in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
christianlott1@yahoo.com
 
Posts: n/a

Default Continuous Subform resize in Stacked Layout - 06-13-2011 , 01:09 PM






In A2010 I can place subforms in a stacked layout and get them to
resize with a bit of code. I try the same thing with A2007 and the
subforms jump to a location to the bottom right.

Opening, closing or resizing the Navigation Pane puts the whole layout
back in the correct position.

So I've tried Repaint, Move Form, (built in Access commands and their
api equivalents) etc but nothing is working.

Any suggestions?

Thanks

Reply With Quote
  #2  
Old   
christianlott1@yahoo.com
 
Posts: n/a

Default Re: Continuous Subform resize in Stacked Layout - 06-13-2011 , 04:35 PM






Noticed - switching from tab to tab, the broken subform position/
drawing remains but resizing the entire access application fixes the
subforms back to their correct position.

Have tried these api functions:

InvalidateRect
InvalidateRgn
RedrawWindow
SendMessage

not saying they wouldn't work, I just haven't had any luck.

Have also used a timer to wait 5 before redraw/invalidate window.

Reply With Quote
  #3  
Old   
christianlott1@yahoo.com
 
Posts: n/a

Default Re: Continuous Subform resize in Stacked Layout - 06-14-2011 , 01:01 PM



Figured it out.

Reassign source objects to all subforms.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.