![]() |
#1
|
|||
|
|||
![]()
I've tried to figure this out, but I can't! I want to display a message box that tells the user to make a selection/mask first...like the one you get when you forget to make a mask before using the Bevel effect. What would be the If statement to determine this?
TIA Patti |
#2
|
||||
|
||||
![]()
I don't code in PHOTO-PAINT often but I saw this was still unanswered so I thought I would try to lend a hand. I think the easiest way would be to use the IsEmpty. So something like this:
Code:
Sub PromptForMask() If ActiveDocument.Mask.IsEmpty Then MsgBox "Please Create a Mask" End If End Sub -Shelby |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ability to print mask in PP without having to save | fungel | Feature requests/wishlist | 0 | 24-01-2009 09:46 |
Mask Fill | dvlee00 | Corel Photo-Paint VBA | 1 | 25-10-2007 07:28 |
Unsharp Mask dialog box | geHucKa | CorelDRAW/Corel DESIGNER VBA | 3 | 04-07-2006 21:42 |
Unsharp Mask dialog box | geHucKa | CorelDRAW/Corel DESIGNER VBA | 0 | 03-07-2006 15:02 |
Determining whether a bitmap has a color mask applied to it | pmeier | CorelDRAW/Corel DESIGNER VBA | 3 | 13-07-2003 23:46 |