Print radio buttons & check boxes

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Print radio buttons & check boxes

    I'm using Director 8.5.1 on Windows XP. I have Printomatic lite.

    I figured out that I can save the outcome of a checkbox/radio button with

    put the hilite of field "myCheckboxField" into field "mySaveField"

    I can then append "mySaveField" to a document with Printomatic Lite. However, what I'd like to do is actually print the graphics of all the checkbox/radio buttons with the text. Is there an easy way to do this? I'm sure I could rig it with a bitmap, but is there an easy way to just print the page the way it looks, check boxes and all? I've got several pages to do, and I'd rather not test for each choice section and append the corresponding checked/unchecked bmp. Any help?

    Michael


    Arch@ngel webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. flash combobox, check box, radio buttons to wok withphp for email
      Hi i'm a newbee in flash web designing can you help me out???? I'm making a reply form consist of text field, check buttons, combo box. think my...
    2. Radio Buttons
      hi, can you let me know how to clear a radio button when the screen is loaded up again
    3. Flash MX 2004: Making radio buttons without using the radio buttoncomponent
      Hello Can anyway suggest a good guide for making radio buttons without the radio button component? I'm new to Flash, but I've gotten to the point...
    4. Using Radio Buttons?
      Hi - how do I use radio buttons or check buttons so that only one of them at a time can be selected? I am using three but would like only one to...
    5. Custom Radio buttons Check Box
      Does anyone have a custom radio button/checkbox control for ASP.NET webform system that replaces the standard circle and box? Thanks, Lance
  3. #2

    Default Re: Print radio buttons & check boxes

    On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
    > I can then append "mySaveField" to a document with Printomatic Lite.
    > However, what I'd like to do is actually print the graphics of all the
    > checkbox/radio buttons with the text. Is there an easy way to do this?
    > I'm sure I could rig it with a bitmap, but is there an easy way to
    > just print the page the way it looks, check boxes and all? I've got
    > several pages to do, and I'd rather not test for each choice section
    > and append the corresponding checked/unchecked bmp. Any help?
    Not that I know of, but hopefully if it's possible somebody will correct
    me.

    The last time I had to do that I ended up drawing them with rects and
    circles using POMs methods. Lots of tweaking to get them in the correct
    places.


    --
    Mark A. Boyd
    Keep-On-Learnin' :)
    Mark A. Boyd Guest

  4. #3

    Default Re: Print radio buttons & check boxes

    Hmm... I thought it might be easier testing the value and then appending bitmaps with something like this:

    if member("CheckBox").hilite = true then
    append doc, member "checked"
    else
    append doc, member "unchecked"
    end if
    append doc, member "CheckBox"

    with "checked", and "unchecked" being the bitmaps; however, when I print, printomatic automatically puts the text of "CheckBox" on the next line. I want the text to print next to the graphic! Is this possible?



    Arch@ngel webforumsuser@macromedia.com Guest

  5. #4

    Default Re: Print radio buttons & check boxes

    Also, if I can't print an image on the same line as text, do you by chance have any sample code from the time you drew the rectangles/circles? I'm drowning here...


    Arch@ngel webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Print radio buttons & check boxes

    On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
    > Also, if I can't print an image on the same line as text, do you by
    > chance have any sample code from the time you drew the
    > rectangles/circles? I'm drowning here...
    I would have to do some serious digging through some ancient backups to
    find it. The basic commands are all in the "Drawing Graphic Elements"
    section of the help file.

    This should help get you started:

    on printIt
    doc = new(Xtra "PrintOMatic")
    reset(doc)
    newPage(doc)
    drawOval(doc,rect(0,0,12,12),0) -- empty oval
    drawOval(doc,rect(3,3,9,9),1) -- filled oval
    drawText(doc,member("checkBox").text, point(18,10))
    drawOval(doc,rect(0,18,12,30),0)
    drawText(doc,"This was not selected.", point(18,28))
    if the controlDown then
    printPreview(doc)
    else
    if doJobSetup(doc) then
    print(doc)
    end if
    end if
    reset(doc)
    doc = 0
    end

    And of course, you can add frames full of stuff anywhere you like.


    --
    Mark A. Boyd
    Keep-On-Learnin' :)
    Mark A. Boyd Guest

  7. #6

    Default Re: Print radio buttons & check boxes

    On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
    > with "checked", and "unchecked" being the bitmaps; however, when I
    > print, printomatic automatically puts the text of "CheckBox" on the
    > next line. I want the text to print next to the graphic! Is this
    > possible?
    >
    It should be possible using the 'draw' routines or by creating multiple
    frames.

    Here's a quickie example.

    on printIt
    doc = new(Xtra "PrintOMatic")
    reset(doc)
    newPage(doc)
    drawPicture(doc,member("checked"),point(100,50))
    drawText(doc,member("checkBox").text, point(150,80))
    if the controlDown then
    printPreview(doc)
    else
    if doJobSetup(doc) then
    print(doc)
    end if
    end if
    reset(doc)
    doc = 0
    end

    OK, so I used a rather LARGE "checked" graphic ;-)


    --
    Mark A. Boyd
    Keep-On-Learnin' :)
    Mark A. Boyd Guest

  8. #7

    Default Re: Print radio buttons & check boxes

    Well, that explains why I couldn't find anything in the documentation. I'm using Printomatic Lite, not Printomatic. Ah well. Who needs $300, right?



    Arch@ngel webforumsuser@macromedia.com Guest

  9. #8

    Default Re: Print radio buttons & check boxes

    On 19 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
    > Well, that explains why I couldn't find anything in the documentation.
    > I'm using Printomatic Lite, not Printomatic.
    Oops, I missed that in your original post. Sorry about that.
    > Ah well. Who needs $300, right?
    I haven't evaluated any of the newer Xtras out there, but you might see if
    they have similar capabilities.

    [url]http://www.updatestage.com/products_table.html#Print[/url]


    --
    Mark A. Boyd
    Keep-On-Learnin' :)
    Mark A. Boyd Guest

  10. #9

    Default Re: Print radio buttons & check boxes

    I'll check it out. Thank you so much for your help. I really appreciate it.

    Michael


    Arch@ngel webforumsuser@macromedia.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139