OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 20-05-2007, 00:27
Posts: n/a
Default open fill dialog

I have a button on a simple form that opens a second form modally. On the second form, I have a text box that I want to use for chosing a colour. Once the colour is chosen, the user will place a bunch of dots on a map in the chosen colour.

How can I code the click event to open the uniform fill dialogue so that a colour can be chosen for subsequently created objects?
Reply With Quote
Old 20-05-2007, 11:02
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
Join Date: Mar 2005
Posts: 836

dim с as color
'show dialog
set c=new color
if c.UserAssignEx then 'OK clicked
end if
Reply With Quote
Old 21-05-2007, 11:21
Posts: n/a

Thanks wOxxOm!

It works fine.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking fill type knowbodynow CorelDRAW/Corel DESIGNER VBA 2 08-03-2006 02:18
Problem with Common Dialog in Corel VBA RobC CorelDRAW/Corel DESIGNER VBA 3 13-05-2005 14:43
Open form when i open my template diltech CorelDRAW/Corel DESIGNER VBA 1 10-01-2005 16:46
format text dialog box implement graphicdesigner CorelDRAW/Corel DESIGNER VBA 5 22-12-2004 13:37
Open - Resize - Savefile in Photo Paint greenee Corel Photo-Paint VBA 2 28-06-2003 03:54

All times are GMT -5. The time now is 10:57.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com