Search found 114 matches: activating

Searched query: activating

by Antonio Linares
Fri Mar 15, 2024 3:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Window transition event
Replies: 2
Views: 881

Re: Window transition event

Dear Yuri,

Use the WM_ACTIVATE message in the application's main window procedure. This message indicates window activation changes (activating/deactivating).
Combine with the LOWORD of wParam to check the activation state (e.g., WA_INACTIVE for background).

You may need to inherit a Class ...
by mauri.menabue
Tue Aug 01, 2023 12:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: EXCEL description: (DOS Error -2147352567) WINOLE/1007 Imp
Replies: 4
Views: 686

Re: EXCEL description: (DOS Error -2147352567) WINOLE/1007 Imp

Hi Jimmy

REQUEST HB_CODEPAGE_UTF8
HB_CDPSELECT("UTF8")


activating utf8 seems to no longer give error

before it was

REQUEST HB_CODEPAGE_ITWIN
HB_CDPSELECT("ITWIN")

I do not understand excel takes the window setting
TIA
by byron.hopp
Mon Jul 03, 2023 6:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Hide a Checkbox from Resource.
Replies: 7
Views: 714

Re: Hide a Checkbox from Resource.

I hide them using the "ON INIT" when activating the dialog. Seemed to work well.
by Jimmy
Thu Mar 30, 2023 12:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Information from ::aControls
Replies: 2
Views: 338

Re: how to get Information from ::aControls

hi,
When we create controls on a dialog, the controls are created only when the dialog is initialized.
So, hWnd is valid only after activating the dialog.
ah ... ok, thx
have to over-think concept
by nageswaragunupudi
Thu Mar 30, 2023 11:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Information from ::aControls
Replies: 2
Views: 338

Re: how to get Information from ::aControls

When we create controls on a Window, all controls are fully created and so have valid hWnd.
When we create controls on a dialog, the controls are created only when the dialog is initialized. So, hWnd is valid only after activating the dialog.
by Detlef
Wed Mar 09, 2022 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Jump into edit mode
Replies: 6
Views: 668

Jump into edit mode

... with a xBrowse with arrays datasource.
The array has only one single row.
How can I jump directly into edit mode of the first left cell when the dialog opens?

I tried the ON INIT clause when activating the dialog.
But oBrw:aCols[1]:SetFocus() does of course not work.

Anyone who give me a hint?
by dutch
Fri Nov 19, 2021 10:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: How many control per dialog?
Replies: 21
Views: 2258

Re: How many control per dialog?

... library to make like this picture but not found. If you have any idea, most welcome.
Thanks for your question.
Just curious...

Why not use the cell content of the browse for activating a action ?

You prefer a button action. Is this because the buttons seems to be on top en overlapping the cells ?
by Marc Venken
Fri Nov 19, 2021 8:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: How many control per dialog?
Replies: 21
Views: 2258

Re: How many control per dialog?

Just curious...

Why not use the cell content of the browse for activating a action ?

You prefer a button action. Is this because the buttons seems to be on top en overlapping the cells ?
by Antonio Linares
Sun Sep 20, 2020 11:38 am
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 4211

New FTDN August/Agosto 2020 (FWH 20.08)

... created on dialogs, it is no more necessary
to use the methods in the on init clause of dialog. It is now possible to use
them even before activating the dialog.

* TGraph.prg: Fix: DATA lFlat is not initialized in case of Redefine() resulting
in runtime error. Fixed.

* Enhancement: MENUITEM ...
by Compuin
Wed Jul 24, 2019 1:04 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Minimizar varios formularios a la vez
Replies: 13
Views: 1536

Re: Minimizar varios formularios a la vez

Add this code to the main window, before activating it.
oWnd:bResized := <|nType| local aWnd := GetAllWin&#40;&#41; if nType == 1 AEval&#40; aWnd, &#123; |o| If&#40; o:ClassName == "TWINDOW" .and. o:hWnd != oWnd:hWnd, ; o:Iconize&#40;&#41;, nil &#41; &#125; &#41; endif return nil >

Hello Mr Rao ...
by nageswaragunupudi
Wed Jul 24, 2019 12:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Minimizar varios formularios a la vez
Replies: 13
Views: 1536

Re: Minimizar varios formularios a la vez

Add this code to the main window, before activating it.
&nbsp; oWnd:bResized &nbsp;:= <|nType|&nbsp; &nbsp; &nbsp; local aWnd &nbsp;:= GetAllWin&#40;&#41;&nbsp; &nbsp; &nbsp; if nType == 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AEval&#40; aWnd, &#123; |o| If&#40; o:ClassName == "TWINDOW" .and. o:hWnd ...
by nageswaragunupudi
Sun Jul 14, 2019 12:27 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Activacion de button clausula when
Replies: 4
Views: 632

Re: Activacion de button clausula when

Before activating every child window add this line

Code: Select all | Expand


oChildWnd:bPostEnd := { || WndMain():oBar:AEvalWhen() }
ACTIVATE WINDOW oChildWnd
 
by richard-service
Sun Jul 07, 2019 7:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode characters displaying as ANSI on windows title bar
Replies: 11
Views: 2902

Re: Unicode characters displaying as ANSI on windows title bar

... Any idea or it's bug?

You may be losing it when resizing, but not when moving.
The most likely reason is that you are releasing the Icon after Activating the mdichild window like this:
ACTIVATE WINDOW oMdiChildRELEASE ICON oIco

Please do not do that. Instead do this:
oMdiChild:bPostEnd := &#123 ...
by nageswaragunupudi
Sun Jul 07, 2019 4:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode characters displaying as ANSI on windows title bar
Replies: 11
Views: 2902

Re: Unicode characters displaying as ANSI on windows title bar

... Any idea or it's bug?

You may be losing it when resizing, but not when moving.
The most likely reason is that you are releasing the Icon after Activating the mdichild window like this:
ACTIVATE WINDOW oMdiChildRELEASE ICON oIco&nbsp;

Please do not do that. Instead do this:
oMdiChild:bPostEnd ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 5579

New FTDN May/Mayo 2019 (FWH 19.05)

... Fixed.

* New CLASSDATA bSetup in class TPreview. If assigned, the codeblock is evaluated with
oPreview and oWnd as parameters just before activating the preview window.
Example Usage:
RPrevUserBtns( nil, 2007 )
TPreview():bSetup := <|oPreview, oWnd|
WITH OBJECT oWnd:oBar
:aControls[ 10 ...