Express 264 _dcmsg.prg change
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Express 264 _dcmsg.prg change
The appearance of the dialog generated without code changes from Build 263 to 264 are shown below. Unfortunately the 264 appearance does not look good compared to the 263 appearance.
The readme.txt contains the following entry:
1412. Fixed a problem with DCMSGBOX and DC_MsgBox() that caused message items
and buttons to display incorrectly when using large fonts.
Unfortunately, I think it has negative impact on normal items. Do you know how to get the prior appearance. I can backrev the _dcmsg.prg code if needed, but I always like to use the stock express code.
Issues:
a. The icon is oversized and stretched
b. The caption is not spaced correctly and is two low and crowds the push buttons
c. The spacing around the buttons and the dialog is less. This is minor, but the extra space looks a little more appealing.
Appearance when using exp build 263. Appearance when using exp build 264.
The readme.txt contains the following entry:
1412. Fixed a problem with DCMSGBOX and DC_MsgBox() that caused message items
and buttons to display incorrectly when using large fonts.
Unfortunately, I think it has negative impact on normal items. Do you know how to get the prior appearance. I can backrev the _dcmsg.prg code if needed, but I always like to use the stock express code.
Issues:
a. The icon is oversized and stretched
b. The caption is not spaced correctly and is two low and crowds the push buttons
c. The spacing around the buttons and the dialog is less. This is minor, but the extra space looks a little more appealing.
Appearance when using exp build 263. Appearance when using exp build 264.
Re: Express 264 _dcmsg.prg change
I don't know why yours doesn't look right.
I need more info.
I get the exact same look in both 263 and 264.
I need more info.
I get the exact same look in both 263 and 264.
The eXpress train is coming - and it has more cars.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
I will look at how I am calling it and see what I am doing differently. I think I am specifying a font. That could be the issue.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
Okay,
I took my code out of my program into a stand-alone program I use dc_msgbox() for to display yes/no confirmation boxes, warning boxes or 3 state confirmation boxes. I pass a box size to do it the size of the prompt boxes as I like. You can see that this test program duplicates the actual screens I show in the other dialog.
I took my code out of my program into a stand-alone program I use dc_msgbox() for to display yes/no confirmation boxes, warning boxes or 3 state confirmation boxes. I pass a box size to do it the size of the prompt boxes as I like. You can see that this test program duplicates the actual screens I show in the other dialog.
- Attachments
-
- testmsgbox.zip
- (1.24 KiB) Downloaded 683 times
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
And the 264 versions
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
With multiline items, the difference between 263 and 264 is that the lines are closer together. It is possible that 264 is the correct presentation
but it appears that it is two close in 264. Just like it appears in the message on the webboard, there is more spacing between lines in 263. Plus, for some reason it crowds the pushbuttons at the bottom instead of being spaced evenly between the icon and the pushbuttons.
but it appears that it is two close in 264. Just like it appears in the message on the webboard, there is more spacing between lines in 263. Plus, for some reason it crowds the pushbuttons at the bottom instead of being spaced evenly between the icon and the pushbuttons.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
If you put 2 additional blank lines in the array of message displayed, then the presentation is spaced evenly between the icon and pushbuttons. The spacing is still closer than I think is easy to read.
Re: Express 264 _dcmsg.prg change
Here is an updated _DCMSG.PRG.
I have added 8 pixels between the rows to make it look exactly like build 263, except now it will work with different fonts.
I have added 8 pixels between the rows to make it look exactly like build 263, except now it will work with different fonts.
- Attachments
-
- _dcmsg.zip
- (5.48 KiB) Downloaded 694 times
The eXpress train is coming - and it has more cars.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Express 264 _dcmsg.prg change
Roger,
I am still getting the icon appearing larger and stretched a bit vertically in the live application. It did not appear to be that way in the extracted test code by itself.
How do you control the size of the icon. Its appearance is similar to the first post of this thread. I cannot really see any differences when looking at the code between 263 and 264 _dcmsg.prg.
Any thoughts on where to look, or what affects the size of the icon.
I am still getting the icon appearing larger and stretched a bit vertically in the live application. It did not appear to be that way in the extracted test code by itself.
How do you control the size of the icon. Its appearance is similar to the first post of this thread. I cannot really see any differences when looking at the code between 263 and 264 _dcmsg.prg.
Any thoughts on where to look, or what affects the size of the icon.
Re: Express 264 _dcmsg.prg change
I think it may be due to the fact that I commented out the EXPRESS clause of DCREAD GUI.
This is an undocumented clause that was there for dialogs internal to eXpress++.
The EXPRESS clause overrides and DC_GetOptDefault() settings so they don't affect DC_MsgBox().
I don't know why I did this.
Maybe I did it during testing.
Remove the comment. Line 359.
This is an undocumented clause that was there for dialogs internal to eXpress++.
The EXPRESS clause overrides and DC_GetOptDefault() settings so they don't affect DC_MsgBox().
I don't know why I did this.
Maybe I did it during testing.
Remove the comment. Line 359.
The eXpress train is coming - and it has more cars.