Search found 57 matches: bchanged

Return to advanced search

Re: Inicie repositorio prueba e Tree

Usa oTree:bChanged
by Antonio Linares
Tue Aug 22, 2023 6:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inicie repositorio prueba e Tree (LO LOGRE)
Replies: 22
Views: 1106

Contextual visualization of images

Hi,

I'm flipping through xBbrowse. In the bChanged code block, bitmap files are loaded into XImage. However, if I do continuous scrolling (arrow, scrollbar slider, mouse wheel), there is a strong slowdown. Is it possible to optimize the contextual visualization of images ?
by Natter
Mon Nov 14, 2022 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contextual visualization of images
Replies: 2
Views: 318

Re: Capture click ou key in tree

Antonio Linares wrote:oTree:bChanged = { | oItem |... }

Please review FWH\samples\pim.prg


Thanks Antonio but I don't have this sample in samples examples. I understand that bChanged I can capture moves in tree object but how I cant test if enter or click are pressed?
by wartiaga
Fri Aug 20, 2021 12:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Capture click ou key in tree
Replies: 5
Views: 288

Re: Capture click ou key in tree

oTree:bChanged = { | oItem |... }

Please review FWH\samples\pim.prg
by Antonio Linares
Fri Aug 20, 2021 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Capture click ou key in tree
Replies: 5
Views: 288

Re: Acceder al checkbox del control datepicker

Antonio,

Con bChanged lo he solucionado.

Muchas gracias.
by joseluispalma
Thu Dec 24, 2020 11:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acceder al checkbox del control datepicker
Replies: 2
Views: 228

Re: Problem with datepick

... only when the control loses focus. If we want some checks to be made before the control loses focus, we need to use ON CHANGE functionality ( or bChanged ) This is how all controls behave and datepicker is no exception. Nages, to simplify I created a minimal test. #include "fivewin.ch"#include ...
by Silvio.Falconi
Thu Mar 12, 2020 10:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick
Replies: 13
Views: 2501

Re: Problem with datepick

... only when the control loses focus. If we want some checks to be made before the control loses focus, we need to use ON CHANGE functionality ( or bChanged ) This is how all controls behave and datepicker is no exception.
by nageswaragunupudi
Wed Mar 11, 2020 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick
Replies: 13
Views: 2501

Re: testtre2.prg - any idea how to be able to use res editor?

::oTree :=TTreeView(): REDEFINE( 201, odlg,0,nrgb(255,255,255)) // 201 id ::oTree:bChanged := {|oTree,oItem|eng0303(self) } // dynamic add items .rc / .dll : CONTROL "", 201, "SysTreeView32", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL ...
by ShumingWang
Tue Aug 27, 2019 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: testtre2.prg - any idea how to be able to use res editor?
Replies: 2
Views: 617

Re: BOM production

... ACTIVATE DIALOG odlg nomodal; ON INIT (oself1:eng0300() method eng0300() class eng03class local odb1,odb2 odb1:=::odb1 odb2:=::odb2 ::oTree:bChanged := {|oTree,oItem|eng0303(self) } // ... return FUNCTION eng0303(obl1) local itemid1,version1 oitem:=obl1:oTree:GetSelected() itemid1:=LEFT(oitem:cprompt,nitemidlen) ...
by ShumingWang
Fri Apr 27, 2018 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BOM production
Replies: 3
Views: 1128

Re: Atascado con TTreeview

... ),;            lDesign  := .f.    ::nId      = nId    ::oWnd     = oWnd    ::aItems   = {}    ::nClrText = nClrFore    ::nClrPane = nClrBack    ::bChanged = bChange     ::Register( nOR( CS_VREDRAW, CS_HREDRAW, TVS_HASBUTTONS, TVS_HASLINES, TVS_LINESATROOT ) )    oWnd:DefControl( Self ) return ...
by jmartial
Sat Sep 20, 2014 6:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Atascado con TTreeview
Replies: 12
Views: 1304

Re: Error de pintado Treeview

... establecidos desde item[2], y si hay un valor en el item[4] que arme las ramas y establesca un codigo a ejecutarse.. No tiendo porque oTree:bChanged := {|oTree,oItem| oItem:= oTree:GetSelected(), MsgInfo( ValType( oItem:Cargo ) ) } devuelve un Hash cuando le estoy enviando un Codeblok o ...
by cuatecatl82
Wed Aug 20, 2014 12:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de pintado Treeview
Replies: 36
Views: 5817

Re: Error de pintado Treeview

Victor,

Acabo de probar este código y lo que tienes en Cargo es un hash:

oTree:bChanged := {|oTree,oItem| oItem:= oTree:GetSelected(), MsgInfo( ValType( oItem:Cargo ) ) }

Tu esperas un codeblock, pero no asignastes un codeblock ahi :-)
by Antonio Linares
Wed Aug 20, 2014 1:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de pintado Treeview
Replies: 36
Views: 5817

Re: Error de pintado Treeview

Victor,

Prueba esto para ver si asi se repinta bien al expandir las ramas:

oTree:bExpanded = { || oTree:Refresh() }

Para ejecutar la acción de cada item, estas usando algo asi ?

oTree:bChanged = { || MsgInfo( oTree:GetSelected():cPrompt ) }
by Antonio Linares
Mon Aug 18, 2014 1:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de pintado Treeview
Replies: 36
Views: 5817

Re: Como desencadenar una accion al cambiar de fial en XBrowse

Gracias Fernando, funcionó... yo estaba intentando con bChanged, en lugar de bChange, pequeña y a la vez gran diferencia.

Gracias, saludos.
by lgarcia
Mon Sep 16, 2013 7:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como desencadenar una accion al cambiar de fial en XBrowse
Replies: 2
Views: 485

Re: No return-value with Keyboard-Col-change in xBrowse ?

Antonio,

thank You very much for the info.
I noticed a response of bchanged with adding this line, but there is a error.

oBrw2:lColChangeNotify := .T.

from class xbrowse :
DATA lColChangeNotify AS LOGICAL INIT .f.
// if true bChange is evaluated when col is changed


Best Regards
Uwe :?:
by ukoenig
Sun Jul 07, 2013 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Return-value with Keyboard-Col-change in xBrowse
Replies: 6
Views: 2418
Next

Return to advanced search