Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88

    I know u r gonna kill me :D ... But What shall I do ?

    Hey people ,
    Guess what ? Thats me again

    My project is getting me crazy :s .. Every now and then I get a new idea but this one is a good enough one so I could not make it ...

    Well , I want to make the User choose a color from the known color picker :


    and then get the number or the code of the color ( like this : #ffffff ) and put it in between a sentence , I am making a software which uses the vb or bb code or whatever that uses this tag ["color=CODE"]text["/color"] without the (") ,

    Anyway , Will anyone bother himself and help me ?

    And again , Sorry for disturbance
    Attached Images
    • File Type: png 1.png (1.8 KB, 24 views)

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Check this site. It might help you:
    http://www.vandog.com/colorpicker.html

    You can use the DLL and get RGB values of the color.

    Yossi

  3. #3
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88

    :(

    I can not deal with DLL at all .. I am newbie

    and thnx for the fast reply
    Last edited by el5ateer; 08-19-2005 at 09:29 AM.

  4. #4
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    In the following post there is an application and dll that Worm built that allows you to choose a color. In the case of the application it returns the color and colors a shape plugin.

    http://www.indigorose.com/forums/sho...t=color+picker

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  5. #5
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88

    thnx

    Thanks a lot all of u

  6. #6
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    You can modify the code as follows to extract the hex characters and place that in a sentence

    Code:
    --call dll function to pick color
    result = DLL.CallFunction("AutoPlay\\Docs\\CHCOLOR.DLL", "SelectColor", wnx..",\"FFFFFF\",\"HEX\",\"192;;192;;192\",\"TRUE\"", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL)
    --trim all but the hex field
    result = String.Left(result, String.Find(result, "::", 1, false)-1);
    --put in sentence
    Dialog.Message("result", "[color="..result.."]text['/code']"
    without the quotes of course

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  7. #7
    Join Date
    Jul 2005
    Location
    Egypt
    Posts
    88
    ya , I knew that .. thnx

Similar Threads

  1. Kill a process
    By mst in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 04-06-2004, 06:33 PM
  2. Kill Multi Instances at Install Runtime
    By SUF6NEWBIE in forum Setup Factory 6.0
    Replies: 2
    Last Post: 03-16-2004, 05:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts