Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

Launch color picker dialog

Author
Message
  Topic Search Topic Search
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 349
Direct Link To This Post Topic: Launch color picker dialog
    Posted: 2018 Aug 29 at 5:26am

User Information:

Cinema 4D Version:   R18 
Platform:   Windows  ;   
Language(s):     C++  ;   

---------

Hello.

I have my custom GeUserArea in a CustomGui parameter.
I want to click that User Area and launch the Color Picker modal dialog as happens with ColorField dialog parameter or COLOR description parameter.

Can I do that ?

Thank you.

Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1878
Direct Link To This Post Posted: 2018 Aug 30 at 11:15am
Hi,

if I understand correctly, you want the entire Color Picker dialog, not just the color picker "action" you get, when clicking onto the pipette icon in color chooser, right?
The color picker dialog can be opened with GeChooseColor(). The color pick action on the other hand is implemented internally and can not be started via the API.

Cheers,
Andreas
SDK Support Engineer
Back to Top
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 349
Direct Link To This Post Posted: 2018 Sep 03 at 12:27am
Thank you very much for your help Andreas !
Back to Top
Cinnamon View Drop Down
Member
Member
Avatar

Joined: 2018 Aug 29
Online Status: Offline
Posts: 1
Direct Link To This Post Posted: 2018 Sep 05 at 2:36am
Hi Andreas, is there a technical reason why you decided not to allow the color pick action to be started via the API btw? Cheers.
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.