If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Need to detect scrollbar in subform
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 |
#2
|
|||
|
|||
Need to detect scrollbar in subform
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. "deBassMan" u24848@uwe wrote in message news:6435a67fe2807@uwe... 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 |
#3
|
|||
|
|||
Need to detect scrollbar in subform
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 Lebans wrote: 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] cheers -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...forms/200608/1 |
Thread Tools | |
Display Modes | |
|
|