Ask a Question related to Macromedia Director Basics, Design and Development.
-
Arch@ngel webforumsuser@macromedia.com #1
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
-
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... -
Radio Buttons
hi, can you let me know how to clear a radio button when the screen is loaded up again -
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... -
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... -
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 -
Mark A. Boyd #2
Re: Print radio buttons & check boxes
On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
Not that I know of, but hopefully if it's possible somebody will correct> 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?
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
-
Arch@ngel webforumsuser@macromedia.com #3
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
-
Arch@ngel webforumsuser@macromedia.com #4
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
-
Mark A. Boyd #5
Re: Print radio buttons & check boxes
On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
I would have to do some serious digging through some ancient backups to> 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...
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
-
Mark A. Boyd #6
Re: Print radio buttons & check boxes
On 18 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
It should be possible using the 'draw' routines or by creating multiple> 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?
>
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
-
Arch@ngel webforumsuser@macromedia.com #7
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
-
Mark A. Boyd #8
Re: Print radio buttons & check boxes
On 19 Nov 2003, "Arch@ngel" [email]webforumsuser@macromedia.com[/email] wrote:
Oops, I missed that in your original post. Sorry about that.> Well, that explains why I couldn't find anything in the documentation.
> I'm using Printomatic Lite, not Printomatic.
I haven't evaluated any of the newer Xtras out there, but you might see if> Ah well. Who needs $300, right?
they have similar capabilities.
[url]http://www.updatestage.com/products_table.html#Print[/url]
--
Mark A. Boyd
Keep-On-Learnin' :)
Mark A. Boyd Guest
-
Arch@ngel webforumsuser@macromedia.com #9
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



Reply With Quote

