Page 1 of 1

likely a stupid question

Posted: Fri Jan 06, 2017 8:55 am
by BruceN
I was taught that the only really stupid question was the one you didn't ask... so with that in mind, I'll once again show my ignorance.

i'm playing with xbase 2.0 and express 2.0 (been using 1.9 for years). When I compile our app in 2.0 some of the screens are different. DNBrowse headers are WAY too tall and screens with buttons on the bottom are truncated slightly. (Images of both in 19 and 20 attached)

Why?

How can I fix the browse issue? header code is real simple
DCBROWSECOL FIELD INHEADER->h_invoice HEADER '®Inv No.¯'WIDTH 8;
SORT {||OrdSetFocus('inheader')} DEFAULT

What about the screens? is there a simple way other than repositioning everything slightly on each screen?

Possibly more issues as I play further.

As always... much thanks... grasshopper learn much from masters...

Re: likely a stupid question

Posted: Fri Jan 06, 2017 10:30 am
by rdonnay
I have never seen this header issue before.

Do you have some sample code that demonstrates the problem?

Re: likely a stupid question

Posted: Fri Jan 06, 2017 11:03 am
by sdenjupol148
Hi Bruce,

The only issue regarding size in browsers with respect to 2.0 is the height of the row.
Alaska recommends that you use a row size of -1 which will automatically size the row for you.

But header height is not affected as far as I know.
Are you using the HEADLINES clause in your DCBROWSE statement?


Bobby

Re: likely a stupid question

Posted: Fri Jan 06, 2017 12:45 pm
by BruceN
Roger:

When I strip and pull the code into a stand alone app browse displays fine. hmmmm. I can't see anything different when run within out app. when i block copy the test code and put the app (renaming the functions) is displays overly tall again. mmmmmmmmm

i can give you the basic prg with all the browse stuff in it, but it won't compile by itself (too intertwined with other prgs. (or the whole project if you want....)

Bobby:

no we're not using HEADLINES

Re: likely a stupid question

Posted: Sat Jan 07, 2017 8:49 am
by rdonnay
We will probably need a Teamviewer session to help you with this.

Let me know when is a good time for you.