Search found 105 matches: setrange

Return to advanced search

Re: To Nageswrao Del Objs on TscrollPanel

Nages oPanel:aControls[ nItem ]:End() HB_ADel( oPanel:aControls[ nItem ], nItem, .t. ) ASize( oPanel:aControls, Len( oPanel:aControls ) ) oPanel:SetRange() oPanel:refresh() I saw on oPanel:aControls there are also the records https://i.postimg.cc/QNKWmS1C/mm.png also if I make ...
by Silvio.Falconi
Thu Feb 29, 2024 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 646

Re: To Nageswrao Del Objs on TscrollPanel

... the btnbmps there are also on Panel scroll as you can see on Video I tried with oPanel:CheckResize() and oPanel:Setrange() I see allway the box https://i.postimg.cc/Nj78D599/f.jpg
by Silvio.Falconi
Wed Feb 28, 2024 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 646

Re: How to read settings in Word

Dear Michel,

To save the current current position:

nStartPosition = oWordApp:Selection:Range:Start
nEndPosition = oWordApp:Selection:Range:End

To later restore the cursor position:
oWordApp:Selection:SetRange( nStartPosition, nEndPosition )
by Antonio Linares
Wed Aug 09, 2023 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

CLASS modification

... one. This would be similar to the line DEFINE SCROLLBAR ::oVScroll VERTICAL OF Self RANGE 1,2, but with HORIZONTAL instead of VERTICAL. Adjust the SetRange() method to set the range of the horizontal scrollbar based on the width of the contents of the panel. Handle the scroll event of the horizontal ...
by Otto
Tue May 23, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS modification
Replies: 33
Views: 1704

Right progress percentage

When I make a conversion I use local bprogress := { || ( oProgress:SetPos( npos++ ),; SysRefresh() ) } oProgress:SetRange( 0, (len(aData)/1000) ) oProgress:SetPos( 0 ) oLotto2:fw_ArrayToDBF( aData,,bProgress) aData is big https://i.postimg.cc/d3Zc418S/gg.png and ...
by Silvio.Falconi
Thu Jun 09, 2022 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Right progress percentage
Replies: 1
Views: 289

Progress with error

... @ 3, 9 BUTTON "Ok" ACTION oDlg:End() oDlg:bStart = { || Increase( oProg1, oProg2 ) } ACTIVATE DIALOG oDlg CENTER ; ON INIT ( oProg1:SetRange( 0, 168 ), oProg1:SetStep( 1 ),; oProg2:SetRange( 0, 168 ), oProg2:SetStep( 1 ) ) return nil function Increase( oProg1, oProg2 ) local n for ...
by marca
Wed Jun 08, 2022 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Progress with error
Replies: 13
Views: 705

Wine under Mac with FWH app

... from:TEXPLORERBAR:HANDLEEVENT(1731) Called from:_FWH(3325) Called from:SETSCROLLRANGE(0) Called from:(b)TSCROLLBAR(88) Called from:TSCROLLBAR:SETRANGE(0) Called from:TSCROLLBAR:WINNEW(198) Called from:TEXPLORERBAR:NEW(97) Called from:TCONTRACTORSTBLBRW:VTASKBARMENU(172) Called from:(b)TTABLEBROWSER_DEFINEDLG(173) ...
by reinaldocrespo
Fri May 13, 2022 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Wine under Mac with FWH app
Replies: 7
Views: 514

Re: To Nages: Problem with Datepick control

the problem is allway :SetRange()

So if I rem all calls to * :SetRange( ) all run ok
by Silvio.Falconi
Fri May 28, 2021 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Problem with Datepick control
Replies: 2
Views: 263

Re: SET RANGE ERROR

... can found on samples folder and I inserted the same code on a ribbonbar because on the dialog it runs well and on the ribbonbar it makes an error setrange()? this is the subject of the discussion forget it as I tried to fix the code to load the bchange that's another thing I find that this piece ...
by Silvio.Falconi
Fri May 14, 2021 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET RANGE ERROR - RESOLVED!!!
Replies: 6
Views: 703

Re: SET RANGE ERROR

... exactly the same problem we discussed a few days ago. The objects are invisible inside the codeblock. oDtpFirst:bchange := { ||( oDtpLast:SetRange( dFirst ), oGrS1:Update() ) } You have to pass the objects, so rewrite the above line like this. oDtpFirst:bchange ...
by Enrico Maria Giordano
Fri May 14, 2021 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET RANGE ERROR - RESOLVED!!!
Replies: 6
Views: 703

Re: SET RANGE ERROR

... exactly the same problem we discussed a few days ago. The objects are invisible inside the codeblock. oDtpFirst:bchange := { ||( oDtpLast:SetRange( dFirst ), oGrS1:Update() ) } You have to pass the objects, so rewrite the above line like this. oDtpFirst:bchange ...
by Silvio.Falconi
Fri May 14, 2021 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET RANGE ERROR - RESOLVED!!!
Replies: 6
Views: 703

Re: SET RANGE ERROR

... exactly the same problem we discussed a few days ago. The objects are invisible inside the codeblock. oDtpFirst:bchange := { ||( oDtpLast:SetRange( dFirst ), oGrS1:Update() ) } You have to pass the objects, so rewrite the above line like this. oDtpFirst:bchange ...
by James Bott
Thu May 13, 2021 11:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET RANGE ERROR - RESOLVED!!!
Replies: 6
Views: 703

SET RANGE ERROR - RESOLVED!!!

... of the two controls above a ribbonbar as created by Nages (changing only the position coordinates of the controls) always makes me the same ERROR SETRANGE() AT THIS LINE @ 20,100 DTPICKER oDtpFirst VAR dFirst SIZE 200,28 PIXEL OF oGrS1 ; PICTURE "ddd dd mmm yyyy" ; ON CHANGE ( oDtpLast:SetRange( ...
by Silvio.Falconi
Thu May 13, 2021 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET RANGE ERROR - RESOLVED!!!
Replies: 6
Views: 703

Re: Problem with datepick control

the September menu does not work correctly due to the range function (SetRange (dFirst, dMax)) WITH OBJECT oDtpLast :lNoToday := .t. :lNoTodayCircle := .t. :SetRange( dFirst, dMax ) <---------------------------------------------- END if you rem this line ...
by Silvio.Falconi
Mon May 10, 2021 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick control Resolved !!!
Replies: 7
Views: 835

Re: To Nages Problem with Tdatabase and new DAtepick

Silvio,   WITH OBJECT oPrenotazione:check_in      :lNoToday         := .t.      :lNoTodayCircle   := .t.      :SetRange( dStagioneMin,dStagioneMax )   END You are still using a variable here, not an object. Check_in is a variable of the object oPrenotazone. oPprenotazone ...
by James Bott
Wed May 05, 2021 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages Problem with Tdatabase and new DAtepick
Replies: 13
Views: 1746
Next

Return to advanced search