Search found 131 matches

by rsb
Tue Mar 26, 2019 9:17 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 130

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

I built the Grid sample application and it works the way you describe. Our wxPerl application is quite large so converting to C++ will take a long time. We would like to convert it but we don't have the time right now. I may just have to convert the check boxes to choice boxes with values of true an...
by rsb
Tue Mar 26, 2019 7:23 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 130

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Scenario 1: (Selected) Select the cell once -> I see a (bold) rectangle around the cell. I select it again and the checkbox moves slightly to the left. I select it a third time and the check is visible. Many times when I select somewhere else after the third click, the check disappears. Scenario 2: ...
by rsb
Tue Mar 26, 2019 6:36 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 130

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Thanks Doublemax.

I tried the EnableCellEditControl and EnableEditing methods for the grid but it made no difference.

Also, It doesn't matter where I click or how fast, I get the same result.

RSB
by rsb
Tue Mar 26, 2019 5:03 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 130

Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Hello, We have a wxPerl application that uses a grid and some of the fields are check boxes. When you click in the checkbox cell, sometimes it selects but most times It doesn't. I noticed another entry in this forum that described the same problem but I didn't see a solution. https://forums.wxwidget...
by rsb
Thu Jan 10, 2019 1:59 am
Forum: C++ Development
Topic: Page Setup dialog Switches to ISO_B3 from A0
Replies: 4
Views: 143

Re: Page Setup dialog Switches to ISO_B3 from A0

What do you mean by unmodified printing sample? The sample I'm using is directly from the wxWidgets archive. I didn't change
anything.
by rsb
Wed Jan 09, 2019 8:46 pm
Forum: C++ Development
Topic: Page Setup dialog Switches to ISO_B3 from A0
Replies: 4
Views: 143

Page Setup dialog Switches to ISO_B3 from A0

Hello, I invoked the Page Setup dialog from the Printer sample program and set the Paper Size to "A0", then OK'd the dialog. I then printed to our Adobe Acrobat Reader DC viewer and the page size was listed as 13.90 x 19.68 in. I then invoked the dialog a second time and the Paper Size was set to "I...
by rsb
Mon Jan 07, 2019 5:31 pm
Forum: wxCode
Topic: Black lines and text come out gray
Replies: 3
Views: 442

Re: Black lines and text come out gray

Looks like it was in our code after all. The ROP setting was different between our printer and our pdf.

Sorry for bringing this up.
by rsb
Mon Jan 07, 2019 5:04 pm
Forum: wxCode
Topic: Black lines and text come out gray
Replies: 3
Views: 442

Re: Black lines and text come out gray

I can't provide the full code, it would be too much. I did include the lines of code I'm using
to set the wxPdfDC in the original post.

The same code works correctly using the wxPrinterDC class. i.e. lines and text are black.
by rsb
Mon Jan 07, 2019 3:06 pm
Forum: wxCode
Topic: Black lines and text come out gray
Replies: 3
Views: 442

Black lines and text come out gray

Hello, When plotting using wxPDFDocument, we set the wxPen and wxBrush color to black as well as the text background color, but when we plot the color is a light gray. Is this by design or is there something I need to do to make sure the plot color is a true black? Thanks, Regards, Bob Bachman wxCol...
by rsb
Fri Nov 02, 2018 9:26 pm
Forum: wxCode
Topic: Problem Printing From Adobe
Replies: 1
Views: 346

Problem Printing From Adobe

Hello, We have a PDF file, attached, that was created from version 0.96 of wxPdfDocument using wxWidgets 3.1.0 on Windows 10. Compiler is Visual Studio VS14. When we try to print to an HP printer we get a message box with a message "Flattening". It times out after some time with a message that it ca...
by rsb
Tue Oct 23, 2018 3:42 pm
Forum: Platform Related Issues
Topic: Linux: Zoom level random Printing to CUPS-PDF
Replies: 0
Views: 393

Linux: Zoom level random Printing to CUPS-PDF

Hello, Using the wxPrinter class on Linux and printing to CUPS-PDF, the Evince Document viewer comes up with a random zoom level and a random rotation. Zoom level is sometimes 100%, sometimes Fit Page Width, sometimes Best Fit. Rotation is sometimes 0 and sometimes 90 degrees. Our print orientation ...
by rsb
Mon Jul 09, 2018 7:31 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 174

Re: Printing to Adobe PDF using wxPrinter

We were using a special cursor that somehow effected the printer output. Once we disabled it, the Adobe printer output worked
fine. Not sure why this effected the output of the printer, but it fixed our problem.
by rsb
Sat Jul 07, 2018 9:49 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 174

Printing to Adobe PDF using wxPrinter

Hello, We're having a problem printing to Adobe PDF using wxPrinter. Printing to other PDF printers like Bullzip PDF works fine. Has anyone complained about getting a corrupt PDF file when using Adobe PDF. I noticed one post that mentioned something similar. https://forums.wxwidgets.org/viewtopic.ph...
by rsb
Fri Jun 08, 2018 2:05 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 460

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Is this the best way to reset the stipple mask? wxBrush brush = dc->GetBrush() ; brush.SetStipple(wxNullBitmap) ; Also, Is there a problem drawing arcs with a stipple mask. We draw circles, polygons and arcs with a stipple mask essentially the same way. The circles and polygons work perfectly but th...