Search found 41 matches: getparent

Return to advanced search

New BtnBmp Vs Old Btnbmp

... I add only a line on METHOD PaintPopupSection() if ::oPopup != nil  .and.  GetClassName( GetParent( Self:hWnd ) ) = "TBAR" I don't understand why this command was canceled (.and. GetClassName( GetParent( Self:hWnd ) ...
by Silvio.Falconi
Sat Apr 16, 2022 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New BtnBmp Vs Old Btnbmp
Replies: 2
Views: 226

Re: ID of the current process

... I read the owners of each of them (.getOwner()). If the user has administrator rights, everything is fine. Otherwise, when trying to execute the getParent of someone else's process, the application is automatically terminated. I do not know how to avoid this
by Natter
Tue Dec 21, 2021 5:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ID of the current process
Replies: 8
Views: 807

Re: XBROWSE Border on cells

... := {|nRow, nCol|... or is it possible to use : METHOD GotFocus( hCtlFocus ) INLINE ( ::oActive := Self, ::Super:GotFocus( hCtlFocus ),; If( GetParent( hCtlFocus ) != ::hWnd, ::Super:Refresh( .f. ),) ) METHOD LostFocus( hCtlFocus ) INLINE ( ::Super:LostFocus( hCtlFocus ),; If( GetParent( ...
by ukoenig
Fri Apr 12, 2019 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4119

Re: New BTNBMP more different

... CLASS TBtnBmp local nWidth, nHeight, hDC local hBlackBrush, hOldBrush local hDarkPen, hLightPen, hOldPen if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR" this for erase the arrow on the left of btnbmp I use this png "c:\work\fwh\bitmaps\pngs\image5.png" ...
by Silvio.Falconi
Sat Feb 02, 2019 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New BTNBMP more different
Replies: 5
Views: 881

a btnbmp question (show popup)

... For not show the black arrow On Btnbmp class I add on the method PaintPopupSection the bold string if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR" Now the final user can open the popupmenu but must click at the end of btnbmp, soon the final user not found ...
by Silvio.Falconi
Tue Jan 22, 2019 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a btnbmp question (show popup)
Replies: 0
Views: 479

Re: BtnBmp and PopupMenu

... when the btnbmp is not on tbar https://s8.postimg.cc/4ff0ggpsl/image.png We suggest if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR"
by Silvio.Falconi
Sat Jun 23, 2018 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1162

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: Also Problems with a tree

Silvio,

After this line:

oPadre := oLink:GetParent()

you should check if oPadre is nil
by Antonio Linares
Tue Dec 13, 2016 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Also Problems with a tree
Replies: 4
Views: 1342

Re: del an Item on treview

Can you put MsgInfo( type( oPadre:aItems ) ) after oPadre := oLink:GetParent() ?
by Carles
Tue Dec 22, 2015 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: del an Item on treview
Replies: 6
Views: 907

Re: del an Item on treview

Silvio,

Puedes poner que muestra xBrowse( oPadre ) despues de hacer oPadre := oLink:GetParent() ? Pon lo que se muestra cuando borras una subcategoria y una categoria
by Carles
Tue Dec 22, 2015 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: del an Item on treview
Replies: 6
Views: 907

del an Item on treview

... GE->(DbGoto(nNext)) IF GE->(EOF()) .or. nNext == nRecno GE->(DbGoBottom()) ENDIF now try to del the item on tree oPadre := oLink:GetParent() TVDeleteItem(oTree:hWnd, oLink:hItem ) nPosHijoenPadre := Ascan( oPadre:aItems, {|o| o:hItem == oLink:hItem } ) IF nPosHijoenPadre > ...
by Silvio.Falconi
Mon Dec 21, 2015 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: del an Item on treview
Replies: 6
Views: 907

Re: "Snap" for Clipper

...  WINDOW.PRG      934 GETNMHDRCODE()         (function  in ?)    WINDOW.PRG     1837 GETNMHDRHWNDFROM()     (function  in ?)    WINDOW.PRG     1838 GETPARENT()            (function  in ?)    WINDOW.PRG      532  3570  4060 GETPOPUP()             (function  in ?)    WINDOW.PRG     1495  3076  3083 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6689

Re: From treeview Goran to fwh treeview

... local cPrompt := oLink:cPrompt local cCargo := oLink:Cargo local nLevel := INT(AT(" 0",cCargo)/2) local oParent := oLink:GetParent() local oLChild local oNewLink local cPCargo := oLink:cargo local cNewCargo := "" local lFrHoja local cResto
by Silvio.Falconi
Mon Sep 09, 2013 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: From treeview Goran to fwh treeview
Replies: 9
Views: 1758

Re: From treeview Goran to fwh treeview

Silvio,

It seems as oLink has no parent so:

oLink:GetParent()

is returning nil
by Antonio Linares
Mon Sep 09, 2013 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: From treeview Goran to fwh treeview
Replies: 9
Views: 1758

Re: From treeview Goran to fwh treeview

... local cPrompt := oLink:cPrompt local cCargo := oLink:Cargo local nLevel := INT(AT(" 0",cCargo)/2) local oParent := oLink:GetParent() local cPCargo := oLink:cargo // añadir cResto := SubStr(" 0 0 0 0 0",1,2*(5-nLevel)) oLChild := oParent:LastChild if nLevel == ...
by Silvio.Falconi
Mon Sep 09, 2013 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: From treeview Goran to fwh treeview
Replies: 9
Views: 1758
Next

Return to advanced search

cron