Gradient Background Fill in Forms

Опубликовано: 26 Май 2026
на канале: Isladogs On Access
680
22

This video demonstrates several ways of adding a gradient background fill to your forms to make these more visually interesting for your users
The examples include 2 methods using code together with another two no-code approaches.
For more info, see my articles: https://isladogs.co.uk/gradient-fill

Times:
0:00 Intro
0:26 Outline of the different approaches
1:12 DEMO with 5 example forms
1:19 Code method 1 (adapted from code by Lyle Fairfield) using 256 vertical labels to which gradient colour is applied.
3:35 Issue - Can only recreate labels 3 or 4 times before hitting lifetime limit of controls. Not recommended
4:20 Code method 2 (adapted from Peter de Baets) - using 200 vertical labels which are only created once per form so no risk of hitting lifetime control limits
4:50 Can change / swop colours easily. Take care to ensure form text remains legible. Both code methods work best on fixed size forms
5:24 Code for method 2 is fairly complex but is very easy to apply
6:18 No code method 1 - using graduated background image - use small image of 1 pixel high to reduce file size plus picture tiling. Stretch image horizontally to fill space
7:52 As above using vertical gradient .Optional - add label over footer to get contrast. Use of rich text of varying colours to ensure it stays legible
8:41 No code method 2 - using command buttons with gradient fill for one or more form sections (Format...Shap3e Fill ...Gradient). Set buttons disabled so they don't get focus
10:27 Thanks for watching. Please like, leave a comment & subscribe.