Search found 55 matches: orect

Return to advanced search

Re: Save dialog to Jpg

... SalvaDialog(nType,oDlg) local cFileJpg1:= "TopTen_Lotto_Ritardatari.jpg" local cFileJpg2:= "TopTen_Lotto_Frequenti.jpg" local oRect:= oDlg:GetCliRect() If nType=1 oDlg:SaveAsImage( cFileJpg1, { oRect:nTop, oRect:nLeft, oRect:nbottom, oRect:nright-100 } ) else oDlg:SaveAsImage( ...
by Silvio.Falconi
Fri Nov 15, 2024 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog to Jpg RESOLVED
Replies: 3
Views: 145

Re: Need Help giide for my program

... oChild:CreateFromCode() oBrw:bChange := { || oChild:Refresh(), oChild:MakeTotals(), oChild:GoTop() } oWndDeposits:bResized := < || local oRect := oWndDeposits:GetCliRect() oBrw:nHeight := ( oRect:nHeight - oBar:nHeight - oMsgBar:nHeight ) * 0.6 oChild:nTop := oBrw:nTop + oBrw:nHeight ...
by Otto
Fri Jul 19, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2434

Re: Need Help giide for my program

... oChild:CreateFromCode() oBrw:bChange := { || oChild:Refresh(), oChild:MakeTotals(), oChild:GoTop() } oWndDeposits:bResized := < || local oRect := oWndDeposits:GetCliRect() oBrw:nHeight := ( oRect:nHeight - oBar:nHeight - oMsgBar:nHeight ) * 0.6 oChild:nTop := oBrw:nTop + oBrw:nHeight ...
by Otto
Fri Jul 19, 2024 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2434

Re: Contraste de colores?

Estimado César,

Revisa la sintaxis:
function ContrastColor( hDC, oRect, nDefClr )
by Antonio Linares
Wed Jun 26, 2024 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contraste de colores?
Replies: 23
Views: 1778

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: 380

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: 636

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: 636

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: 612

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: 3707

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: 818

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: 1092

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: 1439

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: 5334

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: 904

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: 904
Next

Return to advanced search