Page 1 of 1
possible problem with DCBROWSE...FREEZERIGHT
Posted: Sun Mar 14, 2010 1:41 pm
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
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Mon Mar 15, 2010 10:05 am
by rdonnay
Fred -
Where did you get the function ScrollBarSize() ?
Roger
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Mon Mar 15, 2010 12:43 pm
by fbaker
Roger,
I got it from you probably about 2-3 years ago.
Fred
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Mon Mar 15, 2010 12:48 pm
by rdonnay
Can you send it to me or put it in a reply here on the forum?
I don't have it.
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Mon Mar 15, 2010 12:52 pm
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
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Mon Mar 15, 2010 1:27 pm
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
Re: possible problem with DCBROWSE...FREEZERIGHT
Posted: Tue Mar 16, 2010 10:49 am
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