Search found 33 matches: getpos

Return to advanced search

Thumbpos in network

... is very, very slow. In the forum I found this: Yes! You have to modify TWBrowse class - Method VScroll. Substitute ::Skip( nLParam - ::oVScroll:GetPos() ) with ( ::cAlias ) -> ( CmxKeyGoTo( nLParam ) ) or the xxxKeyGoto() function provided by your RDD. Is this still the way to solve the problem ...
by Dietmar Jahnel
Fri Jan 16, 2009 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Thumbpos in network
Replies: 2
Views: 468

Browsing generally

... when dragging the scollbar cursor up and down. Yes! You have to modify TWBrowse class - Method VScroll. Substitute ::Skip( nLParam - ::oVScroll:GetPos() ) with ( ::cAlias ) -> ( CmxKeyGoTo( nLParam ) ) or the xxxKeyGoto() function provided by your RDD. TWBROWSE is a general CLASS to work ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65767

... set is still in place at this stage even though it is not reflected on the screen. 2. If that is the cause we can see from inserted calls to ::GetPos() that the select all effect has already taken place when we enter GotFocus() method. That very much suggests to me that we need to enforce a ...
by xProgrammer
Wed Apr 02, 2008 8:56 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

Hi Antonio Whatever code is running between the GotFocus event and the KeyDown event. We seem to be able to ::SetPos() because ::GetPos() returns the set position. I confirmed this by changing GotFocus to ::SetPos( 1 ) and ::GetPos() then returned 1. I also changed to ::SetSel( 1, 2 ) ...
by xProgrammer
Tue Apr 01, 2008 8:57 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

... read BROWSE. At this stage my best guess (could well be wrong) is that whatever is happening, it looks like it has to be in WinRun() because ::GetPos() reports 0 in GotFocus event but by KeyDown event its value has reverted. Couldn't see the source for WinRun() Regards Doug (xProgrammer)
by xProgrammer
Tue Apr 01, 2008 10:03 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

... code (I can't work out how) might give some sort of solution. In the GotFocus event of the GET I can set the position to zero and confirm with ::GetPos() but you don't see it and then when you enter KeyDown GetPos() returns the original (end of string) value. This isn't how other GTK+ applications ...
by xProgrammer
Tue Apr 01, 2008 9:31 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

... mean that the cursor goes to the end of the non-blank text. What I have done subsequently is to try to fix get.prg and gets.c. I have shown that ::GetPos() will return positions - but they seem to be lengths - ie reflecting cursor position is at the end. The GotFocus() method of class TGet is being ...
by xProgrammer
Sun Mar 30, 2008 11:15 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

Help Please

... GET objects. I want to be able to use blocked text. I believe that the ::SetPos() and ::SetSel() methods of class TGet actually work (certainly ::GetPos() works), but that some subsequent code (in GTK+ ?) is undoing their effect. I know that changing ::SetPos() to always set the position to 0 ...
by xProgrammer
Sun Mar 30, 2008 8:33 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Help Please
Replies: 29
Views: 7468

... static function VScroll(nType,lPage, nSteps) local nYfactor, nYorig, nStep DEFAULT lPage := .F. if nType == GO_UP if oWnd:oVScroll:GetPos() <= oWnd:oVScroll:nMin return nil endif else if oWnd:oVScroll:GetPos() > oWnd:oVScroll:nMax return nil endif endif nYfactor := Int(DEVICE:nVertRes()/oWnd:oVScroll:nMax) ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3370

... ::lGoBottom:= .F. if ::oVScroll != nil If ::bLogicPos != Nil // By CeSoTech ::oVScroll:SetPos( _POSVSCROLL_ ) Else ::oVScroll:SetPos( ::oVScroll:GetPos() + nSkipped ) EndIf endif if ::lCellStyle If ( nAtCol:= ::nAtCol( nCol ) ) > 0 ::GoToCol( nAtCol ) EndIf endif ::DrawSelect() ::lHitTop = ...
by FWHISHOW
Wed Dec 12, 2007 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWBROWSE - bkeydown não aceita VK_UP?
Replies: 9
Views: 4190

Re: xBrowser – equivalent for listbox oLbx:GetPos()

Otto, if I'm not wrong:

oBrowse:nRowSel ==> current row selected
oBrowse:nColSel ==> current col selected


Regards,
Maurilio
by Maurilio Viana
Mon Nov 26, 2007 12:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser – equivalent for listbox oLbx:GetPos()
Replies: 2
Views: 583

xBrowser – equivalent for listbox oLbx:GetPos()

Could someone tell me what the equivalent for the listbox syntax oLbx:GetPos() for xBrowser is?

Thanks in advance
Otto
by Otto
Sat Nov 24, 2007 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser – equivalent for listbox oLbx:GetPos()
Replies: 2
Views: 583

Thanks

In FiveWin I used oBrw:GetPos() as an index into an array which worked for browsing arrays. I hadn't worked out that the record pointer for a file browse was positioned at the highlighted record. Now I know.

Onto browsing arrays.

Thanks.
by xProgrammer
Sat Aug 04, 2007 1:46 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Function of Vertical ScrollBar of Browse object
Replies: 8
Views: 2437

Scroll Window Problem

... Vertical Scroll Bar // ? ::oWnd:oVSCroll=NIL if ::oWnd:oVScroll != NIL // ? nV1,nV2 ::oWnd:oVScroll:SetRange( nV1,nV2 ) ::nVPos := ::oWnd:oVScroll:GetPos() ::oWnd:oVScroll:bGoDown := {|| ::VScroll() } ::oWnd:oVScroll:bGoUp := {|| ::VScroll() } ::oWnd:oVScroll:bPageUp := {|| ::VScrollPgUp() } ::oWnd:oVScroll:bPageDown ...
by Eroni
Tue Jul 24, 2007 1:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scroll Window Problem
Replies: 7
Views: 1425

... "Sorry" ) else if ! lEditing oLbx:Add( xPadR( cName, 100 ) + Chr( 9 ) + cType + ; xPadL( Str( nLen, 3 ), 50 ) + xPadL( Str( nDec, 1 ), 20 ),; oLbx:GetPos() ) else oLbx:Modify( xPadR( cName, 100 ) + Chr( 9 ) + cType + ; xPadL( Str( nLen, 3 ), 50 ) + xPadL( Str( nDec, 1 ), 20 ) ) oBtnAdd:SetText( ...
by tsai8839
Sun Jul 30, 2006 11:53 pm
 
Forum: FiveWin for CA-Clipper
Topic: Help on creating dbf file
Replies: 4
Views: 3122
PreviousNext

Return to advanced search