Go Back   Access World Forums > Microsoft Access Reference > Sample Databases

Closed Thread
Thread Tools Rate Thread Display Modes
Old 06-28-2007, 12:58 AM   #1
Dom DXecutioner
Dom DXecutioner's Avatar
Join Date: Jun 2007
Location: California
Posts: 57
Thanks: 0
Thanked 22 Times in 14 Posts
Dom DXecutioner is on a distinguished road
Send a message via Yahoo to Dom DXecutioner
Cool ACC2000: Custom Forms - Round Edges


The attached sample database from my archives that shows how to use custom graphics and api calls to create a nice looking round edged form. The database contains some pretty useful (imho) interface functions...

As for the graphics, you'll have to play around with different dimensions according to your taste... i've included the graphix that i've borrowed from Microsoft's Windows Live 'IntelliTXT' search box... See screenshot below:

You will need to leave one unused pixel on top and on the left... you'll see why in the sample. Below are some of the functions included in the demo. If you find any errors, or have any questions, please be very specific as i will not answer questions like 'I doesn't work, why?'.

UISetRoundRect - creates a round edge to any window/form
[in] UIForm - the form that's being changed
[in] CornerWidthInPixels - the amount of pixels being cut to make the round ui
[in] Optional TopCornersOnly
- TRUE: allow only round edges on top of ui
- FALSE: allow all four corners to be round edged

UIMoveBorderLess - moves any borderless window/form
[in] UIForm - borderless form to be moved

TwipsPerPixelX - converts any width from pixels to twips
[in] PixelWidthX - any height measurement in pixels

TwipsPerPixelY - converts any height from pixels to twips
[in] PixelHeightY - any height measurement in pixels

PixelsPerTwipsX - converts any width from twips to pixels
[in] TwipsWidthX - any width measurement in twips

PixelsPerTwipsY - converts any height from twips to pixels
[in] TwipsHeightY - any height measurement in twips

As usual, have fun and enjoy.
Attached Files
File Type: zip ACC2000 RoundEdgeUI.zip (77.8 KB, 3117 views)

Dom DXecutioner is offline  
The Following 2 Users Say Thank You to Dom DXecutioner For This Useful Post:
30702700 (03-19-2012), hassanogaibi (06-28-2016)
Closed Thread

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Record within Form and Linked Forms Melody Forms 0 04-05-2001 10:27 AM
RecordSource for Forms spalmateer Forms 1 01-23-2001 04:40 PM
Forms Centre screen ayeshamiah Forms 0 08-10-2000 07:27 AM
Using custom dialog box for forms cinnamoncw Forms 0 03-16-2000 03:00 PM
Main forms within main forms Donnabel Forms 1 11-13-1999 01:45 PM

All times are GMT -8. The time now is 01:06 AM.

Microsoft Access Help
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post

Sponsored Links

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World