Search found 7311 matches: method

Return to advanced search

Re: xbrowse SelectRow method

Or, if we want to deselect a specific row number, which is not the current row, we can do like this.
Code: Select all  Expand view
if ( nAt := AScan( oBrw:aSelected, nRecNo ) ) > 0
HB_ADel( oBrw:aSelected, nAt, .t. )
endif
oBrw:Refresh()

We do not recommend this, but this is possible.
by nageswaragunupudi
Sun Mar 31, 2024 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 765

Re: xbrowse SelectRow method

oBrw:SelectRow( 2 ) toggles selection of the current row in focus.
by nageswaragunupudi
Sun Mar 31, 2024 5:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 765

xbrowse SelectRow method

If I made to select all record on xbrowse

oBrw:SelectRow( 4 )

and the I wish deselect only one record

If I made oBrw:SelectRow( 0 ) it deselect all

how resolve ?
by Silvio.Falconi
Sat Mar 30, 2024 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 765

Re: Problem with datepick

nageswaragunupudi wrote:
Code: Select all  Expand view
LOCAL dDate := ddatacambio:GetDate()
 



Here is the mistake.
"ddatacambio" is a date value and date value can not have any method.


opps - corrected
STATIC FUNCTION DoSwitch( ddatacambio, oBtnGetExchange,aGet )
LOCAL dDate := aget[1]:GetDate()
by Silvio.Falconi
Tue Mar 26, 2024 1:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick - Resolved -
Replies: 2
Views: 567

Re: Problem with datepick

Code: Select all  Expand view
LOCAL dDate := ddatacambio:GetDate()
 



Here is the mistake.
"ddatacambio" is a date value and date value can not have any method.
by nageswaragunupudi
Tue Mar 26, 2024 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick - Resolved -
Replies: 2
Views: 567

Re: Another for Btnbmp

Mr Silvio Please make a small modificatin in btnbmp.prg: Please locate these lines in the method PaintBorder            RoundBox( ::hDC, 1, 1, ::nWidth - 2, ::nHeight - 1, nRound, nRound, XEval( ::nClrBorder, ::lMover, Self ) )            if ::lFocused  ...
by Silvio.Falconi
Tue Mar 26, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5572

Re: Another for Btnbmp

Mr Silvio Please make a small modificatin in btnbmp.prg: Please locate these lines in the method PaintBorder            RoundBox( ::hDC, 1, 1, ::nWidth - 2, ::nHeight - 1, nRound, nRound, XEval( ::nClrBorder, ::lMover, Self ) ...
by nageswaragunupudi
Tue Mar 26, 2024 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5572

Re: Problema super raro

Ok. This can be done in different ways. Let us now try the 1st method. FWH provides a cloud server for our testing. Let us use this server for our tests. Creating temporary table with data from the permanent table: oCn:Execute( "SELECT * INTO [TBL_TEMP] ...
by nageswaragunupudi
Sun Mar 24, 2024 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2375

Re: Another for Btnbmp

Silvio, Please include the file C:\FWH\source\classes\btnbmp.prg in your test program and then examine what the METHOD GotFocus( hCtlLost ) CLASS TBtnBmp does. You can then change the DrawFocusRect and the color. Best regards, Otto METHOD GotFocus( hCtlLost ) CLASS TBtnBmplocal ...
by Otto
Sat Mar 23, 2024 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5572

Re: Question about performance RowSet

I am thinking of adding method to get a single record from a table ( existing or new ) and then edit and save the data. May be something like this: oRecord := oCn:Record( cSql, [lBlank] ) // returns FW_Record / TDataRow ...
by Eroni
Wed Mar 20, 2024 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4501

Re: Question about performance RowSet

... limit 1" )   oData:Record(,.t.):Edit()   oData:SaveData() I am thinking of adding method to get a single record from a table ( existing or new ) and then edit and save the data. May be something like this: oRecord := oCn:Record( ...
by nageswaragunupudi
Sat Mar 16, 2024 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4501

Re: Window transition event

... a Class TMyWindow from TWindow and implement support for WM_ACTIVATE There are some examples in these forums showing how to inherit and modify Method HandleEvent() https://fivetechsupport.com/forums/viewtopic.php?p=258349&sid=4b8316cfb706cfb5bfa9a662a4a7fb5e#p258349
by Antonio Linares
Fri Mar 15, 2024 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window transition event
Replies: 2
Views: 567

Re: change size dialog selecting noption folder

Dear Silvio, In FWH 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as above, thanks ...
by Silvio.Falconi
Fri Mar 15, 2024 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 675

Re: change size dialog selecting noption folder

Dear Silvio, In FWH 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as above, thanks ...
by Antonio Linares
Fri Mar 15, 2024 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 675

Different sizes of dialog

... WS_CAPTION, WS_SYSMENU, ;                  WS_MINIMIZEBOX)   ICON oIcon Is there a fivewin method (no display 3.0) to recreate the dialogs at the same size if I use different monitors and computers?
by Silvio.Falconi
Wed Mar 13, 2024 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different sizes of dialog
Replies: 0
Views: 148
PreviousNext

Return to advanced search