Search found 172 matches: owndmain

Return to advanced search

Re: Resize a tpanel

... Nages, sorry i didn't mean that.... I have some panels inside a scrollpanel the scrollpanel is inside a dialog which in turn is inside a window ( oWndMain) when I resize the main window I perfectly resize the dialog and in turn also the scrollpanel it contains the problem I have with the small ...
by Silvio.Falconi
Sun May 21, 2023 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize a tpanel
Replies: 5
Views: 332

Re: Syswait() question

Antonio Linares wrote:
wartiaga wrote:Hi,

How can I lock the keyboard before a Syswait() and release it again after?

Thanks in advance.


oWndMain:Disable() and oWnd:Enable() later


Thank You Antonio,

I tried that in dialog but when I press esc the dialog disappears.
by wartiaga
Tue Apr 18, 2023 5:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syswait() question
Replies: 9
Views: 564

Re: Syswait() question

wartiaga wrote:Hi,

How can I lock the keyboard before a Syswait() and release it again after?

Thanks in advance.


oWndMain:Disable() and oWnd:Enable() later
by Antonio Linares
Mon Apr 17, 2023 8:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syswait() question
Replies: 9
Views: 564

Re: Newbie Question : XBROWSE

... Windows: In an application, the Window that is first activated is the Main Window. During the application, we can query this window by "oWndMain := WndMain()". Activation of the main window is always MODAL. Activation of ALL other windows are NONMODAL invariably. Dialogs: All dialogs ...
by nageswaragunupudi
Sat Nov 26, 2022 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Newbie Question : XBROWSE
Replies: 17
Views: 1362

How to set up a child window inside a main window

... Class to open a child  CLASS TTestWndChild   DATA oWinTest   DATA oBar   Data oLbx   Data oDbf   METHOD New(oWndMain) CONSTRUCTOR   METHOD Activar()   METHOD CheckChild()   END CLASS//---------------------------------------------------------------------// METHOD ...
by Silvio.Falconi
Fri Nov 11, 2022 9:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set up a child window inside a main window
Replies: 6
Views: 438

Re: Window in the foreground

I'll try using EVENT_SYSTEM_FOREGROUND. Or I'll just check GetForegroundWindow() == oWndMain:hWnd in the timer
by Natter
Fri Sep 16, 2022 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window in the foreground
Replies: 7
Views: 383

Re: strange move Folder - Dialog

... final code? You can show? If you can't, no problem. Programmer's curiosity only. Regards, saludos. local aPt := { 111,200 } aPt := ClientToScreen( oWndMain:hWnd, aPt ) oFolder:bAction := { || IF(oFolder:nOption=3 .or. oFolder:nOption=6 ,; (oDlg:nHeight:=400,oDlg:Move( aPt[ 1 ] , aPt[ 2 ] )),; (oDlg:nHeight:=680,oDlg:Move( ...
by Silvio.Falconi
Tue Nov 23, 2021 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange move Folder - Dialog
Replies: 5
Views: 512

Re: strange move Folder - Dialog

...  oFontBold:End()RETURN NIL// fin / end  resolved ( thanks to Rao) with only local aPt := { 111,200 } aPt := ClientToScreen( oWndMain:hWnd, aPt ) oFolder:bAction := { || IF(oFolder:nOption=3 .or. oFolder:nOption=6 ,; (oDlg:nHeight:=400,oDlg:Move( aPt[ 1 ] , aPt[ 2 ] )),; (oDlg:nHeight:=680,oDlg:Move( ...
by Silvio.Falconi
Tue Nov 23, 2021 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange move Folder - Dialog
Replies: 5
Views: 512

don't open duplicates of an exe

... method Activate() where is the dialog of check login method Activate() class TApplicationIF ::CheckLogin()    GetWinCoors( ::oWndMain, ::cInifile )   * Get_Modules(::cInifile)   ::oWndMain:bResized := {|| ResizeWndMain() }   ::oWndMain:aMinMaxInfo ...
by Silvio.Falconi
Wed May 19, 2021 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: don't open duplicates of an exe
Replies: 11
Views: 1187

Re: progress on msgitem

Dear Silvio,

Class TMsgItem does not inherit from Class TControl

You have to use ... OF oApp:oWndMain:oMsgBar

Maybe you could change the bitmap of the MsgItem with a timer, simulating a progress bar
by Antonio Linares
Fri Apr 30, 2021 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: progress on msgitem
Replies: 1
Views: 325

progress on msgitem

I have a msgitem DEFINE MSGITEM ::oMsgItem4; OF ::oWndMain:oMsgBar; PROMPT ""; SIZE 400; BITMAPS "MSG_EOEO", "MSG_EOEO"; TOOLTIP " " and I wish show a Meter @ 02, 11 PROGRESS oApp:oProgressDlg POSITION 1 of ...
by Silvio.Falconi
Fri Apr 30, 2021 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: progress on msgitem
Replies: 1
Views: 325

set a dialog on a position

I wish set a dialog at x,y but I not found the position of the msgitem og Msgbar oApp:oMsgItem1:bAction := { |oBtn| ::ConteggioTotali(oApp:oWndMain:oMsgBar) } Function ConteggioTotali(obtn) Local aPoint := AdjustWnd( oBtn, -27*2, 15*2 ) DEFINE DIALOG oDlgConteggio size 400,250 TRANSPARENT; ...
by Silvio.Falconi
Tue Apr 27, 2021 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set a dialog on a position
Replies: 3
Views: 516

Big Clock on a ribbonbar

I wish show the time on the ribbon

DEFINE FONT oFontBig NAME "MS Sans Serif" SIZE 0, -38
DEFINE TIMER oTimer OF ::oWndMain ACTION ::oBar:aDialogs[1]:Say( 0, 135, Time(),, , oFontBig )
ACTIVATE TIMER oTimer

It run ok
but How I can to make transparent the text ?
by Silvio.Falconi
Mon Apr 12, 2021 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Big Clock on a ribbonbar
Replies: 2
Views: 468

Re: Usar o no variables publicas.

Code: FUNCTION GetWndMain() RETURN oWndMain     and in the module that I have to use it. Code: oWndMain := GetWndMain()   BTW, We can use the built-in FWH function WndMain()  anywhere in the application, without creating our own function ...
by nageswaragunupudi
Thu Mar 25, 2021 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar o no variables publicas.
Replies: 16
Views: 2942

XBROWSE transparente

... una ventana con una imagen de fondo (:oBrush) luego se define un xBrowse en modo transparente. Es decir : @ 149, 12 XBROWSE ::oBrwsVta Of ::oWndMain ARRAY {} SIZE 913,247 FONT oFnt PIXEL COLORS CLR_BLACK FASTEDIT NOBORDER TRANSPARENT (no defino ninguna imagen de fondo para este browse) xBrowse ...
by Modesto
Wed Feb 10, 2021 11:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE transparente
Replies: 4
Views: 520
Next

Return to advanced search