Thanks for your suggestion Jose,
The problem is more than the lack of scrollbar. The click events in the headers and text boxes don't work either.
I have a 'work around' by setting focus to the second page and then using keyboard {'rightarrow}' to get to the third page. Everything works fine in the grid. I haven't found the real problem, but this works.
Thanks again,
Paul
>>Hi gang,
>>
>>I have a 3 page pageframe, 1- search parameters and button to start query, 2 - data entry, 3-grid to see all records in the view.
>>
>>If there is more than one record in the query result, I set focus to page 3 of the pageframe after the query. The grid does not show the scroll bar. If I go to page 1 or 2 and then back to 3 the scroll bar shows up.
>>
>>Any ideas??? Thanks.
>>
>>Paul de Niverville
>
>Paul,
>
>I placed the following code in the Refresh() of my cgrid class. It was proposed here by Cetin a while ago.
>
>José
>------------------------------------------------------------------
>*-- CHANGE - JCM - September 17, 1998 - 17:21:10
>*-- the scrollbars do not always paint well when there are fewer records
>*-- than allowed by the total size of the grid.
>*-- Then I decided to force Scrollbars only when there are enough records
>
>*-- ScrollBars settings:
>*-- 3 = both
>*-- 2 = vertical
>*-- 1 = horizontal
>*-- 0 = none
>
>LOCAL lnRec
>
>WITH this
> lnRecs = RECCOUNT(.RecordSource)
> IF .height > lnRecs*.RowHeight + .HeaderHeight
> .ScrollBars = IIF (.ScrollBars > 1, .ScrollBars - 2, .ScrollBars)
> ELSE
> .ScrollBars = IIF (.ScrollBars < 2, .ScrollBars + 2, .ScrollBars)
> ENDIF
>ENDWITH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only