Search found 51 matches: orect

Return to advanced search

Scroll of Panel not at the same Height of Xbrowse

... How I must set the scroll to have the same height of the xbrowse ? I made oDlg:bResized := <|| local oRect := oDlg:GetCliRect() oBar:nWidth:= oRect:nRight oBrw:nWidth:= oRect:nRight-290 oBrw:nHeight:= oRect:nBottom-45 oPanel:nTop := oRect:ntop +40 oPanel:nLeft ...
by Silvio.Falconi
Wed Jan 11, 2023 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scroll of Panel not at the same Height of Xbrowse
Replies: 2
Views: 300

Re: Windows to small ?

... on whether the application is ANSI or Unicode. We can use simplified functions of FWH: GetClientArea( hWnd ) --> aRect oWnd:GetCliRect() --> oRect
by nageswaragunupudi
Fri Jul 29, 2022 4:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows to small ?
Replies: 7
Views: 455

Re: Windows to small ?

... on whether the application is ANSI or Unicode. We can use simplified functions of FWH: GetClientArea( hWnd ) --> aRect oWnd:GetCliRect() --> oRect
by nageswaragunupudi
Fri Jul 29, 2022 4:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows to small ?
Replies: 7
Views: 455

Re: XBROWSE transparente

... ) - ::nTop ) endif FillRect( ::hDC, GetClientRect( ::hWnd ), ::oWnd:oBrush:hBrush ) SetBrushOrgEx( ::hDC, aOrg[ 1 ], aOrg[ 2 ] ) else oRect := ::DataRect() aOrg := SetBrushOrgEx( ::hDC, oRect:nLeft, oRect:nTop ) FillRect( ::hDC, oRect:aRect, ::oBrush:hBrush ) SetBrushOrgEx( ::hDC, ...
by Modesto
Thu Feb 11, 2021 1:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE transparente
Replies: 4
Views: 531

Re: About TCalendar

... iif(nNew<MCMV_YEAR,::SetCurrentView(MCMV_YEAR),) } ::oDtPick:bChange = { | o | ::ChangeDate( o ) } oPanel:bResized := <|| local oRect :=oPanel:GetCliRect() ::oDtPick:nWidth := oRect:nRight return nil > seem to run , but there is something bad
by Silvio.Falconi
Tue Dec 29, 2020 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: About TCalendar
Replies: 16
Views: 2780

Re: Xbrowse button size

Can you try making this change in XBrowse.prg? Please locate the method METHOD PaintCellBtn( hDC, oRect, aColors ) CLASS TXBrwColumn The method looks like this: METHOD PaintCellBtn( hDC, oRect, aColors ) CLASS TXBrwColumn   local oBtn, oBrush   if ...
by nageswaragunupudi
Thu Nov 14, 2019 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse button size
Replies: 3
Views: 776

Re: How to read position and size of a dialog box

... can I read the position and the size of a dilalog box in my application? To get the dialog position from screen-top and left and the dialogsize oRect := oDlg:GetRect() nTop := oRect:nTop nLeft := oRect:nLeft nWidth := oDlg:nWidth nHeight := oDlg:nHeight // ---------------- Resizing a dialog ...
by ukoenig
Sat Oct 19, 2019 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read position and size of a dialog box (solved)
Replies: 5
Views: 947

Re: METRO with visible taskbar ?

... needed, just a window adjustment ( NO window maximized ) If the slider is needed, just 1 line has to be changed METHOD Paint() CLASS TMetroPanel oRect:nTop := oRect:nBottom - SCRLB_HEIGHT adjusted to oRect:nTop := oRect:nBottom - SCRLB_HEIGHT - 40 The defined mainwindow DEFINE WINDOW oMWnd TITLE ...
by MarioG
Wed Jul 24, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1355

Re: oWnd:oClient := oPanel

... RESIZABLE FONT oFont oDlgTariffe:aMinMaxInfo := { nil, nil, nil, nil, 878, 570, nil, nil } //878, 570 oDlgTariffe:bResized := <|| local oRect := oDlgTariffe:GetCliRect() local x:= oBrw1:nBottom oBtnCheck:nLeft := oRect:nRight - 395 oBtnCheck:nTop := oRect:nBottom - 50 oBtnPrint:nLeft ...
by Silvio.Falconi
Tue May 28, 2019 11:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oWnd:oClient := oPanel
Replies: 39
Views: 3974

Re: How to get the coordinates of a child window?

... := oWnd:GetCliAreaRect():nHeight   oChild1:Show()   ACTIVATE WINDOW oWnd Return nil Conclusions: :GetCliRect() - returns an oRect with the relative gross coordinates, mean including the menu (SM_CYMENU), button and message bar,... :GetCliAreaRect() - returns an oRect with ...
by frose
Tue Feb 05, 2019 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the coordinates of a child window?
Replies: 5
Views: 800

How to get the coordinates of a child window?

Hi, understanding that the method ::GetRect() always returns an oRect with the coordinates on the main window. But how to get the coordinates of a child window (TMdiChild) relative to the parent window (TMdiFrame) when the user moved/sized it? Is there a ...
by frose
Mon Feb 04, 2019 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the coordinates of a child window?
Replies: 5
Views: 800

Folderex not refresh sometimes

... Multiplo" ;        FONT oFont ;        SIZE 760,180 on oDlg:bResized I add oFld:nTop := oRect:nBottom - 250 oFld:nWidth := oRect:nWidth-100
by Silvio.Falconi
Tue Jan 01, 2019 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folderex not refresh sometimes
Replies: 3
Views: 898

Re: New FTDN December/Diciembre 2018 (FWH 18.12)

... - FW_ActiveMonitors() --> nMonitors Número de monitores extendidos actualmente activos. - FW_VirtualScreen() --> oRect El objeto TRect representa el área de pantalla virtual cubierta por todos los monitores extendidos. (Nota: el objeto tiene las datas nTop, nLeft, ...
by Antonio Linares
Mon Dec 31, 2018 2:44 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2018 (FWH 18.12)
Replies: 1
Views: 1685

New FTDN December/Diciembre 2018 (FWH 18.12)

... fwh\source\function\getsysin.prg - FW_ActiveMonitors() --> nMonitors Number of extended monitors currently active. - FW_VirtualScreen() --> oRect TRect object representing the area of virtual screen covered by all the extended monitors. (Note: The object has datas nTop, nLeft, nBottom, nRight, ...
by Antonio Linares
Sun Dec 30, 2018 7:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2018 (FWH 18.12)
Replies: 1
Views: 1685

Re: METRO with visible taskbar ?

... needed, just a window adjustment ( NO window maximized ) If the slider is needed, just 1 line has to be changed METHOD Paint() CLASS TMetroPanel oRect:nTop := oRect:nBottom - SCRLB_HEIGHT adjusted to oRect:nTop := oRect:nBottom - SCRLB_HEIGHT - 40 The defined mainwindow DEFINE WINDOW oMWnd TITLE ...
by ukoenig
Sun Jul 02, 2017 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1355
Next

Return to advanced search