Search found 243 matches: setpos

Return to advanced search

Re: ListBox Input Field Scrolling........

... + 1 lOk := .f. cHType := ValType( uVar ) IF oBrw:lCellStyle .And. nCol != oBrw:nColAct oBrw:nColAct := nCol If oBrw:oHScroll != nil oBrw:oHScroll:SetPos(nCol) Endif oBrw:Refresh(.F.) ENDIF DEFINE DIALOG oDlg FROM aDim[ 1 ], aDim[ 2 ] TO aDim[ 3 ], aDim[ 4 ] ; STYLE nOR( WS_VISIBLE, WS_POPUP ) ...
by RiazKhan
Thu Aug 22, 2024 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 5
Views: 1267

Re: como refrescar un listbox

Gracias por responder, no me estaba funcionando el timer, lo declare así: ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetPos( 0, 0 ), oDlg:nWidth := GetSysMetrics( 0 ), oDlg:nHeight := GetSysMetrics( 1 ), BuildTimer( oDlg, obrow )) function BuildTimer( oDlg, wobrow ) local oTmr DEFINE ...
by jpcavagnaro
Tue Aug 15, 2023 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: como refrescar un listbox
Replies: 2
Views: 308

Problem with tmeter

... procedure 2 and 3 I use the same meter (oProgress) for procedure 1 local nPos := 1 local bprogress := { || (oProgress:Set( npos++ ),; //oProgress:SetPos( npos++ ),; oSay[3]:SetText(ltrim(str(npos))),; oSay[3]:refresh(),; SysRefresh() ) } ... oProgress:ntotal:= len(aData) nMeter:=0 oProgress:set(nMeter) ...
by Silvio.Falconi
Mon Nov 14, 2022 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tmeter
Replies: 3
Views: 386

Re: Cursor position to last character in the line

thanks cnavarro,

oGet:bGotFocus := { || oGet:nPos := Len( oGet:GetText() ) + 1, oGet:SetPos( oGet:nPos ) }

where should I put on this control statement
by kkyung
Wed Nov 02, 2022 4:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cursor position to last character in the line
Replies: 4
Views: 422

Re: Newbie have COMBOBOX Question

... for RbDown i found this   oCbx:bRClicked = { | nRow, nCol | EditControl( nRow, nCol, oCbx ) } You don't need to use Select() nor SetPos() with Comboboxes. And commands are the best option in 99% of code. Commands are far more readable and maintainable than functions. this is while ...
by Jimmy
Sun Oct 30, 2022 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Newbie have COMBOBOX Question
Replies: 6
Views: 649

Re: Newbie have COMBOBOX Question

Please, always post a complete sample of the problem. You don't need to use Select() nor SetPos() with Comboboxes. And commands are the best option in 99% of code. Commands are far more readable and maintainable than functions.
by Enrico Maria Giordano
Sun Oct 30, 2022 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Newbie have COMBOBOX Question
Replies: 6
Views: 649

Re: GET ... MEMO How to display last line?

Dear Hua,

Using VB they solve it this way:
Text1.SelStart = len(Text1.Text)

Have you tried oMultiGet:GoBottom() ?

Also you could try oMultiGet:SetPos( Len( oMultiGet:cText ), Len( oMultiGet:cText ) )
by Antonio Linares
Wed Sep 28, 2022 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET ... MEMO How to display last line?
Replies: 4
Views: 366

about RESIZE

...     SetProperty( cForm, cName ,"FONTSIZE",nFont*yFactor)   NEXTRETURN --- i found :SetSize() but no :SetPos() :( what shell i use :?: SetWindowPos( oObj:hWnd, HWND_TOP, X, Y, Width, Height ) or SetBounds( X, Y, Width, Height ) --- PROCEDURE ...
by Jimmy
Wed Jul 27, 2022 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: about RESIZE
Replies: 7
Views: 658

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 ...
by Silvio.Falconi
Thu Jun 09, 2022 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Right progress percentage
Replies: 1
Views: 331

Progress with error

... oProg2:SetStep( 1 ) ) return nil function Increase( oProg1, oProg2 ) local n for n = 1 to 168 // 111 // oProg1:StepIt() // oProg2:StepIt() oProg1:SetPos( n ) oProg2:SetPos( n ) Sleep( 50 ) SysRefresh() next
by marca
Wed Jun 08, 2022 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Progress with error
Replies: 13
Views: 1059

Msgbar Error

... while and change the text on a msgitem at left you'll see the progress at right the text on the msgitem Do While !::oDbf:Eof() .... ::oBarProgress:SetPos( ::oBarProgress:nPos + 1 ) ::oTabItem1:SetText( tran(::oBarProgress:nPos,'999999')+" di "+; tran(::oDbf:KeyCount(),'999999')) ::oWinTabellone:oMsgBar:Refresh() ...
by Silvio.Falconi
Fri May 27, 2022 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Msgbar Error
Replies: 2
Views: 302

Re: Help for scrollBar

... "DBFCDX", .T. ) oDbf:setorder(1) oDbf:gobottom() nFine:= oDbf:recno() oScrollDbf:bPOS = { | nPos | (oDbf:GoTo( nPos ),; oScrollDbf:SetPos( nPos ),; oScrollDbf:refresh(),; Rinfresca(oDbf,oBrw,oSay)) } and then ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( oScrollDbf:SetPos(nFine ), <------------------ ...
by Silvio.Falconi
Mon Apr 18, 2022 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for scrollBar - Resolved -
Replies: 10
Views: 788

Re: Help for scrollBar

Dear Silvio, This way it works as expected: oScrollInizio:bPOS = { | NPOS | (oDbf:GoTo( nPos ), oScrollInizio:SetPos( nPos ), Rinfresca(oSay,oDbf)) } // oScrollInizio:bTRACK = { | NPOS | msgstop( 'btack block' ) } I cannot Move it with the mouse it remains all to the left
by Silvio.Falconi
Mon Apr 18, 2022 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for scrollBar - Resolved -
Replies: 10
Views: 788

Re: Help for scrollBar

Dear Silvio,

This way it works as expected:

oScrollInizio:bPOS = { | NPOS | (oDbf:GoTo( nPos ), oScrollInizio:SetPos( nPos ), Rinfresca(oSay,oDbf)) }
// oScrollInizio:bTRACK = { | NPOS | msgstop( 'btack block' ) }
by Antonio Linares
Mon Apr 18, 2022 12:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for scrollBar - Resolved -
Replies: 10
Views: 788

Re: MiniBrowser

... the thumbpos is not in the right position, and I don't know how to set the thumbpos command !! I add oScroll:SetPos(oDbf:RECNO() ) but not run ok
by Silvio.Falconi
Mon Apr 11, 2022 10:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MiniBrowser
Replies: 1
Views: 222
Next

Return to advanced search