Need to detect scrollbar in subform

  • Thread starter Thread starter deBassMan
  • Start date Start date
D

deBassMan

Hi all
I need to be able to detect if a subform is currently displaying a vertical
scrollbar.

I think a call to the API is the way to go - but as yet I cannot get this to
work

any ideas would be gratefully received

cheers
 
An easier method is to count the number of records required to force the
ScrollBar to be visible. Then just check the RecordCount of the bound
recordset to determine if the SB is visible or not.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi Stephen
thanks for your msg.

the recordcount idea is a non-starter, I'm afraid, as the users can (and do)
adjust the rowheight of each record.

Is there not an API call which will determine if the window is displaying a
vertical scrollbar?

thanks for your interest


Stephen said:
An easier method is to count the number of records required to force the
ScrollBar to be visible. Then just check the RecordCount of the bound
recordset to determine if the SB is visible or not.
Hi all
I need to be able to detect if a subform is currently displaying a
[quoted text clipped - 8 lines]
 
Back
Top