422,754 Members | 2,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,754 IT Pros & Developers. It's quick & easy.

Required: Detect vertical scrollbar code

P: 4
Hi all

Using MS Access 2000, Win XP

I require a quick and dirty (or all-singing and dancing) way of detecting whether a vertical scrollbar is visible on a sub-form.

apologies if posted in wrong forum - didn't see a VBA section

thanks
Jul 15 '06 #1
Share this Question
Share on Google+
1 Reply


Expert
P: 92
Dim Ctl as Control

for each ctl in formname.Controls
if typeof Ctl is VScrollbar then
if Ctl.Visible=true then
'TODO
'ur Statement or Code
endif
endif
Next
Jul 31 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.