Search found 50 matches: coorsupdate

Return to advanced search

Re: Create a Panel width a text

... and call oTaskBarPanel:UpdateRegion() tried but it not refresh if I collapse then it refresh oPanel2:nBodyHeight:= aDim[ 2 ] + 50 oPanel2:CoorsUpdate() oPanel2:UpdateRegion() oPanel2:refresh() result https://i.postimg.cc/pTty7B3M/n.png also the text is not good i.e. is ...
by Silvio.Falconi
Sat Jan 06, 2024 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2917

Re: Position of Window CENTER ?

hi Antonio, oParent:CoorsUpdate() thx, i have try it but it does not work :( still get 0,0 what i´m doing wrong #include "FiveWin.ch"PROCEDURE MAINLOCAL oWnd, oText_1, oBtn, cFilter := "*.*" + SPACE( 10 )LOCAL ...
by Jimmy
Mon Nov 14, 2022 5:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Position of Window CENTER ?
Replies: 10
Views: 470

Re: Position of Window CENTER ?

Dear Jimmy,

Before calling you code please do:

oParent:CoorsUpdate()
by Antonio Linares
Sun Nov 13, 2022 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Position of Window CENTER ?
Replies: 10
Views: 470

about RESIZE

...  nLeft := oWnd:nLeft   nBottom := oWnd:nBottom   nRight := oWnd:nRight give me {0,0,600,800 } :shock: but i have use CENTER when using   oWnd:CoorsUpdate() before i got "real" Coordinate Request : when MENU is "activate" is it possible to "include" :CoorsUpdate() ...
by Jimmy
Wed Jul 27, 2022 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: about RESIZE
Replies: 7
Views: 436

Re: Size of the window

... itself. To get the coordinates of the window you will have to add the width or height of any objects attached to the window client oClient. oWnd:coorsUpdate() nTop:= oWnd:nTop nTop:= nTop + if(oWnd:oTop!=nil,oWnd:oTop:nHeight,0) // Note that oMenu doesn't have an attribute nHeight. It is fixed ...
by James Bott
Wed Oct 06, 2021 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Size of the window
Replies: 4
Views: 658

Logo on MDI window.

... just before the Activate Window: @ 0,0 Bitmap oLogo File Mcs_AppPath() + "Images\EocwdLogo.bmp" of oWnd:oWndClient PIXEL NOBORDER oWnd:CoorsUpdate() oWnd:bPainted := {|| SetLogo( oLogo,oWnd )} Here is the function that runs during the paint event. Function SetLogo( oLogo,oWnd ) Local ...
by byron.hopp
Sat Jan 02, 2021 11:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo on MDI window.
Replies: 10
Views: 878

Re: xbrowse - inline editing

Otto wrote:Dear Mr. Rao,
thank you.
I mean why is ? oDlgParent:nTop if I send the DIALOG oDlg to the function always 0.
Best regards
Otto


First call oDlgParent:CoorsUpdate()
and then check nTop, nLeft, nBottom, nRight
by nageswaragunupudi
Tue Mar 19, 2019 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse - inline editing
Replies: 9
Views: 1360

Re: crop an Image

I tried with :

:ScrollAdjust()
:Refresh( .t. )
:CoorsUpdate()

but not run ok
by Silvio.Falconi
Thu Nov 02, 2017 12:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: crop an Image
Replies: 28
Views: 4210

Window Coordinates

... of "Define Window", and "oWnd:Move". I am trying to set the windows to the same position after saving the coordinates as: oWnd:CoorsUpdate() hIni:nLeft := ROUND(oWnd:nLEFT / WIN_CHARPIX_W,0) hIni:nWidth := ROUND((oWnd:nRIGHT - oWnd:nLEFT) / WIN_CHARPIX_W,0) hIni:nTop := ROUND(oWnd:nTOP/WIN_CHARPIX_H,0) ...
by byron.hopp
Fri Apr 01, 2016 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window Coordinates
Replies: 0
Views: 324

Re: Antonio: Modifying CLASS TRBtn (Bug?)

::CoorsUpdate() was missing

Without it, it fails
by Antonio Linares
Sun Feb 01, 2015 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Modifying CLASS TRBtn (Bug?)
Replies: 12
Views: 2638

Re: Save dialog coordinates then redisplay same place

Ok I found SetCoors(), and CoorsUpdate() which contains the Function GetCoors() in it. SetCoors() is a method of the TWindow class. Thank you, I will give them a shot. James I also discovered this, below is the code to the Method "SetCoors" ...
by byron.hopp
Sat Dec 06, 2014 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog coordinates then redisplay same place
Replies: 26
Views: 5212

Save dialog coordinates then redisplay same place

I am moving a resource dialog off to the right screen of my two monitors. My application is running on the left monitor. I call oDlg:coorsupdate() Save Top, Left, Right, Bottom to my ini file. But I haven't figure out how to successfully display the dialog in the same place. I use Activate ...
by byron.hopp
Tue Dec 02, 2014 3:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog coordinates then redisplay same place
Replies: 26
Views: 5212

Re: Guardando la posición de un dialogo

Horacio,

Prueba a llamar a oDlg:CoorsUpdate() antes de tomar los valores de nBottom y nRight
by Antonio Linares
Fri Nov 14, 2014 5:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Guardando la posición de un dialogo
Replies: 9
Views: 1101

Re: Tree. Intercambio de posiciones

... local oitemact IF !::lFocus RETU NIL ENDIF IF oObj == NIL oObj := ::oControlItem:oObj ENDIF IF ValType( oObj ) <> 'O' RETU NIL ENDIF oObj:CoorsUpdate() SetWindowPos( oObj:hWnd, HWND_TOP ,; oObj:nTop, oObj:nLeft ,; oObj:nWidth, oObj:nHeight ) if ::lactive oitemact := ::oControlItem ::additem(oitemact:ntop, ...
by Sebastián Almirón
Fri Feb 14, 2014 6:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree. Intercambio de posiciones
Replies: 5
Views: 653

Re: "Snap" for Clipper

...        WINDOW.PRG     1120G COMMNOTIFY()           (function  in ?)    WINDOW.PRG      519  3694 CONSTRUCTOR            WINDOW.PRG      487 COORSUPDATE()          (function  in ?)    WINDOW.PRG      523   851  1423  1554  1603  2634  3014 CPARAMS1                WINDOW.PRG     2065 CPARAMS2 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6540
Next

Return to advanced search