hello Roger
How can you refresh a Row in a dcbrowse, to set the default color
refresh a Row in a dcbrowse
refresh a Row in a dcbrowse
Nolberto Paulino
Regards
Regards
Re: refresh a Row in a dcbrowse
oBrowse:refreshCurrent()
The eXpress train is coming - and it has more cars.
Re: refresh a Row in a dcbrowse
I used it and it does not work
rdonnay wrote:oBrowse:refreshCurrent()
- Attachments
-
- dcbrowse.jpg (359.08 KiB) Viewed 15738 times
Nolberto Paulino
Regards
Regards
Re: refresh a Row in a dcbrowse
do you mean Color of Zebra-Browse ?digitsoft wrote:... to set the default color
Color of Zebra-Browse is
\Source\Dclipx\_dcxbrow.prg
Code: Select all
IF oBrowse:rowPos %2 == 0
oBrowse:evenrow := .T.
ELSE
oBrowse:evenrow := .F.
ENDIF
greetings by OHR
Jimmy
Jimmy
Re: refresh a Row in a dcbrowse
Hello
I am using the color zebra, when I do refreshall the cursor is placed in position 1
then use: rowpos to place the cursor on the article that entered the browse but it remains the color of the cursor of the position 1 which is the one that is framed in the circle and want to put the color of zebra again.
so that only the last regitro entered is seen.
I am using the color zebra, when I do refreshall the cursor is placed in position 1
then use: rowpos to place the cursor on the article that entered the browse but it remains the color of the cursor of the position 1 which is the one that is framed in the circle and want to put the color of zebra again.
so that only the last regitro entered is seen.
Auge_Ohr wrote:do you mean Color of Zebra-Browse ?digitsoft wrote:... to set the default color
Color of Zebra-Browse is
\Source\Dclipx\_dcxbrow.prgCode: Select all
IF oBrowse:rowPos %2 == 0 oBrowse:evenrow := .T. ELSE oBrowse:evenrow := .F. ENDIF
Nolberto Paulino
Regards
Regards
Re: refresh a Row in a dcbrowse
as long you a "on-Record" you got Hilite-Color and not Zebra-Color.digitsoft wrote:Hello
then use: rowpos to place the cursor on the article that entered the browse but it remains the color of the cursor of the position 1 which is the one that is framed in the circle and want to put the color of zebra again.
greetings by OHR
Jimmy
Jimmy
Re: refresh a Row in a dcbrowse
Hello,
There is a undocumentes method to do so.
There is a undocumentes method to do so.
Code: Select all
DCBROWSE ... SUBCLASS "MyDbBrowse()"
CLASS MyDcBrowse grom Dc_XbpBrowse
EXPORTED:
METHOD RefreshRow
ENDCLASS
METHOD MyDcBrowse:RefreshRow(nRow)
If nRow > 0
::RefreshRows ( nRow,nRow )
Endif
Return
Regards,
Jack Duijf
Jack Duijf
Re: refresh a Row in a dcbrowse
Thank you
jdsoft wrote:Hello,
There is a undocumentes method to do so.
Code: Select all
DCBROWSE ... SUBCLASS "MyDbBrowse()" CLASS MyDcBrowse grom Dc_XbpBrowse EXPORTED: METHOD RefreshRow ENDCLASS METHOD MyDcBrowse:RefreshRow(nRow) If nRow > 0 ::RefreshRows ( nRow,nRow ) Endif Return
Nolberto Paulino
Regards
Regards