Search found 114 matches: foreground

Return to advanced search

Window transition event

Hi,

Is it possible to intercept the window transition event to the background/foreground ?
by Natter
Fri Mar 15, 2024 11:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window transition event
Replies: 2
Views: 117

Re: A picture on top of the text

1) Text Bottom aligned and image top aligned?
or
2) Paint text in foreground over image as background?
or
3) Text as background and transparent image as foreground?
by nageswaragunupudi
Tue Mar 05, 2024 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A picture on top of the text
Replies: 3
Views: 168

Re: GROUPBOX

... bottom coordinates. <cLabel> The caption of the group. <oWnd> The window or dialogbox container of this control. <cClrFore> The foreground color of the group. <nClrBack> The background color of the group. <oFont> A reference to the font object used for the Group control. ...
by TimStone
Tue Feb 27, 2024 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GROUPBOX
Replies: 3
Views: 152

Request : Dark-Mode for Controls

... CLR_BLACK, oDlg:nClrPane )   oPanel:SetFont( oDlg:oFont ) how can i "paint it black" and set "my" Foreground Color :?: --- i have search for "more" XBROWSE but they seems not to pass COLOR or FONT in these *.prg C:\fwh\source\function\adofuncs.prg ...
by Jimmy
Fri May 19, 2023 5:54 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Request : Dark-Mode for Controls
Replies: 0
Views: 1029

Re: Force dialog to foreground

Good point.
by TimStone
Mon Apr 24, 2023 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Or, if working from inside a Class, I like to always have an ::oOwner property that can be set on object init or down the road. Any dialog is OF ::oOwner.

Just my 2 cents,


Reinaldo.
by reinaldocrespo
Sat Apr 22, 2023 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Good point. I will try that


Sent from my iPhone using Tapatalk
by TimStone
Fri Apr 21, 2023 11:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

it is normal, being a customer registry, it can start from the main menu, but also from the button in the customer field of the invoice, or of the order, in any case it must have the father's reference as launch parameters. *---------------------------------------------------------------------------...
by mauri.menabue
Fri Apr 21, 2023 11:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Normally that might work but it can be called from different places. For example it can be called from the main Window or from other dialogs.


Sent from my iPhone using Tapatalk
by TimStone
Fri Apr 21, 2023 10:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Hi All,
Tim, check if the child popup dialog has the 'OF' clause set with the parent value,
obviously the child popup must be modal.
TIA
by mauri.menabue
Fri Apr 21, 2023 9:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Karinha,

A popup dialog is one called from another dialog. My post gave an example. In this case the popup ( secondary ) dialog is for looking up ( or adding ) a client and a vehicle being serviced. Because it’s two databases a simple list doesnt work


Sent from my iPhone using Tapatalk
by TimStone
Fri Apr 21, 2023 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

hi Tim, try this   ACTIVATE DIALOG oDlg ON INIT MakeTop( oDlg, oListbox ) CENTERPROCEDURE MakeTop( oWnd, o1stFocus )LOCAL oTimerDEFAULT o1stFocus := oWnd   SetWindowPos( oWnd:hWnd, HWND_TOPMOST, ;                 oWnd:nTop, oWnd:nLeft, ;                 oWnd:nWidth, oWnd:nHeight,...
by Jimmy
Fri Apr 21, 2023 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Good afternoon, what is a pop-up dialog? Do you have any models?

Regards, saludos.
by karinha
Fri Apr 21, 2023 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Re: Force dialog to foreground

Tim: Prueba con .....ACTIVATE DIALOG oDlg CENTER ON INIT DlgOnTop( .t.,oDlg:hWnd )function DlgOnTop( lState, hWnd )   local nRet := 0   DEFAULT hWnd := GetActiveWindow()   if !lState      nRet = AcpOnTop( hWnd, -2, 0, 0, 0, 0, ...
by cmsoft
Fri Apr 21, 2023 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617

Force dialog to foreground

... problems because a popup dialog sometimes reverts to the background and he cant see it. Is there a command that can force a dialog to stay in the foreground until it is closed In this case, an invoice is started in dialog 1. Dialog 2 is called to select the customer. It somehow disappears behind ...
by TimStone
Fri Apr 21, 2023 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Force dialog to foreground
Replies: 10
Views: 617
Next

Return to advanced search