possible problem with DCBROWSE...FREEZERIGHT

This forum is for eXpress++ general support.
Post Reply
Message
Author
fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

possible problem with DCBROWSE...FREEZERIGHT

#1 Post by fbaker »

Hello Roger,

I have a 2-col DCBROWSE which has a wide vertical scrollbar set via SCROLLBARSIZE(oBrowse, "V", 40). The 2nd col is frozen via DCBROWSE...FREEZERIGHT {2}. If I disable FREEZERIGHT by commenting it out, everything is fine but with it the width of the scrollbar reverts to the normal 'default' width. I would like to prohibit users from dragging that 2nd col but can live with it if necessary.

Thank you. Fred Win XPpro, 1.9/252

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: possible problem with DCBROWSE...FREEZERIGHT

#2 Post by rdonnay »

Fred -

Where did you get the function ScrollBarSize() ?

Roger
The eXpress train is coming - and it has more cars.

fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

Re: possible problem with DCBROWSE...FREEZERIGHT

#3 Post by fbaker »

Roger,

I got it from you probably about 2-3 years ago.

Fred

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: possible problem with DCBROWSE...FREEZERIGHT

#4 Post by rdonnay »

Can you send it to me or put it in a reply here on the forum?
I don't have it.
The eXpress train is coming - and it has more cars.

fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

Re: possible problem with DCBROWSE...FREEZERIGHT

#5 Post by fbaker »

Roger,

I should probably also mention that SCROLLBARSIZE() is not a clause of DCBROWSE but an independent function that I call in the EVAL clause of a DCREAD GUI passing it the oBrowse object name of the browse(s) I what it to apply to.

Fred

fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

Re: possible problem with DCBROWSE...FREEZERIGHT

#6 Post by fbaker »

Roger,

I did a Windows search of the area where I keep all eXpress stuff and found only hits for VSCROLLBARSIZE and HSCROLLBARSIZE in readme.txt and dclipx.lib. These references go back many years (at least to exp18232). I get no hits on just SCROLLBARSIZE which is what I'm using.

In my own working directory, I also get no hits other than as a function called in *.prg(s) as I mentioned above.

I'm confused because I don't know where this function comes from (I have no source code that I know of) but it compiles without error and works as expected.

Fred

fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

Re: possible problem with DCBROWSE...FREEZERIGHT

#7 Post by fbaker »

Roger,

I apologize for my previous reply. I do have the source code for SCROLLBARSIZE().

I'm having no luck including the code in this message so I'll attach it to private email.

Thanks. Fred

Post Reply